we don't use and don't need the app heap
This commit is contained in:
@@ -26,7 +26,6 @@ BOOL g_bIsDebugBuild = FALSE;
|
||||
BOOL g_bIsDefaultShell = FALSE;
|
||||
// Handles
|
||||
HINSTANCE g_hAppInstance;
|
||||
HANDLE g_hAppHeap;
|
||||
HWND g_hWndProgMgr = NULL;
|
||||
// Icons
|
||||
HICON g_hProgMgrIcon = NULL;
|
||||
@@ -78,9 +77,6 @@ int WINAPI wWinMain(_In_ HINSTANCE hInstance, _In_opt_ HINSTANCE hPrevInstance,
|
||||
// Initialize the instance
|
||||
g_hAppInstance = hInstance;
|
||||
|
||||
// Create our global heap handle
|
||||
g_hAppHeap = GetProcessHeap();
|
||||
|
||||
// Create Strings
|
||||
LoadString(g_hAppInstance, IDS_PMCLASS, g_szClass, ARRAYSIZE(g_szClass));
|
||||
LoadString(g_hAppInstance, IDS_APPTITLE, g_szAppTitle, ARRAYSIZE(g_szAppTitle));
|
||||
|
||||
@@ -34,7 +34,6 @@
|
||||
extern BOOL g_bIsDefaultShell;
|
||||
// Handles
|
||||
extern HINSTANCE g_hAppInstance;
|
||||
extern HANDLE g_hAppHeap;
|
||||
extern HWND g_hWndProgMgr;
|
||||
// Icons
|
||||
extern HICON g_hProgMgrIcon;
|
||||
|
||||
Reference in New Issue
Block a user