mirror of
https://github.com/reactos/reactos.git
synced 2025-01-05 22:12:46 +00:00
fix some non standard conformant code
svn path=/trunk/; revision=36346
This commit is contained in:
parent
c2060ef1ff
commit
b20ceda590
1 changed files with 4 additions and 2 deletions
|
@ -93,6 +93,8 @@ WinMain (HINSTANCE hThisInstance,
|
|||
HWND hMainWnd;
|
||||
MSG msg;
|
||||
WNDCLASSEXW wincl;
|
||||
HINSTANCE hDLL;
|
||||
PGFRI GetFontResourceInfoW;
|
||||
|
||||
g_hInstance = hThisInstance;
|
||||
|
||||
|
@ -112,8 +114,8 @@ WinMain (HINSTANCE hThisInstance,
|
|||
}
|
||||
|
||||
/* Load the GetFontResourceInfo function from gdi32.dll */
|
||||
HINSTANCE hDLL = LoadLibraryW(L"GDI32.DLL");
|
||||
PGFRI GetFontResourceInfoW = (PGFRI)GetProcAddress(hDLL, "GetFontResourceInfoW");
|
||||
hDLL = LoadLibraryW(L"GDI32.DLL");
|
||||
GetFontResourceInfoW = (PGFRI)GetProcAddress(hDLL, "GetFontResourceInfoW");
|
||||
|
||||
/* Get the font name */
|
||||
dwSize = sizeof(g_ExtLogFontW.elfFullName);
|
||||
|
|
Loading…
Reference in a new issue