Skip to content
Snippets Groups Projects
Commit 1aa9e384 authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard
Browse files

rpcrt4/tests: Use GetModuleHandle instead of LoadLibrary.

parent 99eaf51b
No related branches found
No related tags found
No related merge requests found
......@@ -434,7 +434,7 @@ static IPSFactoryBuffer *test_NdrDllGetClassObject(void)
const CLSID PSDispatch = {0x20420, 0, 0, {0xc0, 0, 0, 0, 0, 0, 0, 0x46}};
const CLSID CLSID_Unknown = {0x45678, 0x1234, 0x6666, {0xff, 0x67, 0x45, 0x98, 0x76, 0x12, 0x34, 0x56}};
HRESULT r;
HMODULE hmod = LoadLibraryA("rpcrt4.dll");
HMODULE hmod = GetModuleHandleA("rpcrt4.dll");
void *CStd_QueryInterface = GetProcAddress(hmod, "CStdStubBuffer_QueryInterface");
void *CStd_AddRef = GetProcAddress(hmod, "CStdStubBuffer_AddRef");
void *CStd_Release = GetProcAddress(hmod, "NdrCStdStubBuffer_Release");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment