mirror of
https://github.com/reactos/wine.git
synced 2025-02-28 16:56:24 +00:00
rpcrt4/tests: Use GetModuleHandle instead of LoadLibrary.
This commit is contained in:
parent
99eaf51bb7
commit
1aa9e3846c
@ -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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user