http://bugs.winehq.org/show_bug.cgi?id=21490
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com 2010-01-25 08:37:47 --- It looks like Chromium doesn't care about return value: --- if (GetModuleHandle(L"LPK.DLL") == NULL) { // Makes sure lpk.dll is loaded by gdi32 to make sure ExtTextOut() works // when buffering into a EMF buffer for printing. typedef BOOL (__stdcall *GdiInitializeLanguagePack)(int LoadedShapingDLLs); GdiInitializeLanguagePack gdi_init_lpk = reinterpret_cast<GdiInitializeLanguagePack>(GetProcAddress( GetModuleHandle(L"GDI32.DLL"), "GdiInitializeLanguagePack")); DCHECK(gdi_init_lpk); if (gdi_init_lpk) { gdi_init_lpk(0); } } ---
It just calls it with zero parameter. Or am I wrong?