Commit 28139bce authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

mlang/tests: We already link with mlang.dll so there is no need to do a LoadLibrary() on it.

parent ce64b90c
...@@ -230,13 +230,7 @@ static BOOL init_function_ptrs(void) ...@@ -230,13 +230,7 @@ static BOOL init_function_ptrs(void)
{ {
HMODULE hMlang; HMODULE hMlang;
hMlang = LoadLibraryA("mlang.dll"); hMlang = GetModuleHandleA("mlang.dll");
if (!hMlang)
{
skip("mlang not available\n");
return FALSE;
}
pConvertINetMultiByteToUnicode = (void *)GetProcAddress(hMlang, "ConvertINetMultiByteToUnicode"); pConvertINetMultiByteToUnicode = (void *)GetProcAddress(hMlang, "ConvertINetMultiByteToUnicode");
pConvertINetUnicodeToMultiByte = (void *)GetProcAddress(hMlang, "ConvertINetUnicodeToMultiByte"); pConvertINetUnicodeToMultiByte = (void *)GetProcAddress(hMlang, "ConvertINetUnicodeToMultiByte");
pRfc1766ToLcidA = (void *)GetProcAddress(hMlang, "Rfc1766ToLcidA"); pRfc1766ToLcidA = (void *)GetProcAddress(hMlang, "Rfc1766ToLcidA");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment