30 IDxDiagProvider *
pddp;
37 "Creating a IDxDiagProvider instance failed with %x\n",
hr);
40 skip(
"Failed to create a IDxDiagProvider instance\n");
47 "Expected IDxDiagProvider::Initialize to return E_POINTER, got %x\n",
hr);
53 "Expected IDxDiagProvider::Initialize to return E_INVALIDARG, got %x\n",
hr);
58 "Expected IDxDiagProvider::Initialize to return E_INVALIDARG, got %x\n",
hr);
62 params.dwDxDiagHeaderVersion = 0;
67 "Expected IDxDiagProvider::Initialize to return E_INVALIDARG, got %x\n",
hr);
76 trace(
"IDxDiagProvider::Initialize returned %x\n",
hr);
84 ok(
hr ==
S_OK,
"Expected IDxDiagProvider::Initialize to return S_OK, got %x\n",
hr);
88 ok(
hr ==
S_OK,
"Expected IDxDiagProvider::Initialize to return S_OK, got %x\n",
hr);
96 IDxDiagProvider *
pddp;
97 IDxDiagContainer *
pddc, *pddc2;
104 "Creating a IDxDiagProvider instance failed with %x\n",
hr);
107 skip(
"Failed to create a IDxDiagProvider instance\n");
114 "Expected IDxDiagProvider::GetRootContainer to return CO_E_NOTINITIALIZED, got %x\n",
hr);
118 "Expected IDxDiagProvider::GetRootContainer to return CO_E_NOTINITIALIZED, got %x\n",
hr);
125 ok(
hr ==
S_OK,
"Expected IDxDiagProvider::Initialize to return S_OK, got %x\n",
hr);
128 skip(
"IDxDiagProvider::Initialize failed\n");
137 trace(
"IDxDiagProvider::GetRootContainer returned %x\n",
hr);
141 ok(
hr ==
S_OK,
"Expected IDxDiagProvider::GetRootContainer to return S_OK, got %x\n",
hr);
146 ok(
hr ==
S_OK,
"Expected IDxDiagProvider::GetRootContainer to return S_OK, got %x\n",
hr);
147 ok(
pddc != pddc2,
"Expected the two pointers (%p vs. %p) to be unequal\n",
pddc, pddc2);
#define CO_E_NOTINITIALIZED
HRESULT WINAPI DECLSPEC_HOTPATCH CoCreateInstance(REFCLSID rclsid, LPUNKNOWN pUnkOuter, DWORD dwClsContext, REFIID iid, LPVOID *ppv)
HRESULT WINAPI CoInitialize(LPVOID lpReserved)
void WINAPI DECLSPEC_HOTPATCH CoUninitialize(void)
#define IDxDiagContainer_Release(p)
#define IDxDiagProvider_Release(p)
#define IDxDiagProvider_GetRootContainer(p, a)
#define DXDIAG_DX9_SDK_VERSION
#define IDxDiagProvider_Initialize(p, a, b)
GLenum const GLfloat * params
static IDxDiagContainer * pddc
static IDxDiagProvider * pddp
static void test_Initialize(void)
static void test_GetRootContainer(void)
#define REGDB_E_CLASSNOTREG