mirror of
https://github.com/reactos/wine.git
synced 2025-02-20 12:50:53 +00:00
oleaut32/tests: Fix tmarshal tests on win9x.
This commit is contained in:
parent
a7794bcb50
commit
c81b2b2c74
@ -701,10 +701,12 @@ typedef struct KindaEnum
|
||||
static HRESULT register_current_module_typelib(void)
|
||||
{
|
||||
WCHAR path[MAX_PATH];
|
||||
CHAR pathA[MAX_PATH];
|
||||
HRESULT hr;
|
||||
ITypeLib *typelib;
|
||||
|
||||
GetModuleFileNameW(NULL, path, MAX_PATH);
|
||||
GetModuleFileNameA(NULL, pathA, MAX_PATH);
|
||||
MultiByteToWideChar(CP_ACP, 0, pathA, -1, path, MAX_PATH);
|
||||
|
||||
hr = LoadTypeLib(path, &typelib);
|
||||
if (SUCCEEDED(hr))
|
||||
|
Loading…
x
Reference in New Issue
Block a user