mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
fix some non standard conformant code
svn path=/trunk/; revision=36346
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user