mlang/tests: We already link with mlang.dll so there is no need to do a LoadLibrary() on it.
This commit is contained in:
parent
ce64b90c97
commit
28139bceeb
|
@ -230,13 +230,7 @@ static BOOL init_function_ptrs(void)
|
|||
{
|
||||
HMODULE hMlang;
|
||||
|
||||
hMlang = LoadLibraryA("mlang.dll");
|
||||
if (!hMlang)
|
||||
{
|
||||
skip("mlang not available\n");
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
hMlang = GetModuleHandleA("mlang.dll");
|
||||
pConvertINetMultiByteToUnicode = (void *)GetProcAddress(hMlang, "ConvertINetMultiByteToUnicode");
|
||||
pConvertINetUnicodeToMultiByte = (void *)GetProcAddress(hMlang, "ConvertINetUnicodeToMultiByte");
|
||||
pRfc1766ToLcidA = (void *)GetProcAddress(hMlang, "Rfc1766ToLcidA");
|
||||
|
|
Loading…
Reference in New Issue