#include <stdio.h>
#include <windows.h>
#include <winsxs.h>
#include <corerror.h>
#include "wine/test.h"
Go to the source code of this file.
◆ COBJMACROS
◆ START_TEST()
Definition at line 198 of file name.c.
199{
201}
static void test_CreateAssemblyNameObject(void)
◆ test_CreateAssemblyNameObject()
| static void test_CreateAssemblyNameObject |
( |
void |
| ) |
|
|
static |
Definition at line 29 of file name.c.
30{
34
37
42
47
52
57
60 ok(
hr ==
S_OK,
"expected S_OK got %08lx\n",
hr );
61 ok(
name !=
NULL,
"expected non-NULL name\n" );
62 IAssemblyName_Release(
name );
63
66
71
76
81
86
91
94
99
104
109
114
118
121
126
131
136
141
146
149 ok(
hr ==
S_OK,
"expected S_OK got %08lx\n",
hr );
150 ok(
name !=
NULL,
"expected non-NULL name\n" );
151 IAssemblyName_Release(
name );
152
157
161 "expected ERROR_SXS_INVALID_ASSEMBLY_IDENTITY_ATTRIBUTE_NAME got %08lx\n",
hr );
163
167 "expected ERROR_SXS_INVALID_ASSEMBLY_IDENTITY_ATTRIBUTE_NAME got %08lx\n",
hr );
169
174
177 ok(
hr ==
S_OK,
"expected S_OK got %08lx\n",
hr );
178 ok(
name !=
NULL,
"expected non-NULL name\n" );
179 IAssemblyName_Release(
name );
180
185
188 ok(
hr ==
S_OK,
"expected S_OK got %08lx\n",
hr );
189 ok(
name !=
NULL,
"expected non-NULL name\n" );
190 IAssemblyName_Release(
name );
191
196}
HRESULT WINAPI CreateAssemblyNameObject(IAssemblyName **ppAssemblyNameObj, LPCWSTR szAssemblyName, DWORD dwFlags, LPVOID pvReserved)
static const WCHAR emptyW[]
static HRESULT HRESULT_FROM_WIN32(unsigned int x)
#define ERROR_SXS_INVALID_ASSEMBLY_IDENTITY_ATTRIBUTE_NAME
@ CANOF_PARSE_DISPLAY_NAME
@ CANOF_SET_DEFAULT_VALUES
Referenced by START_TEST().