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

This commit is contained in:
Francois Gouget 2013-07-03 12:15:32 +02:00 committed by Alexandre Julliard
parent ce64b90c97
commit 28139bceeb
1 changed files with 1 additions and 7 deletions

View File

@ -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");