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;
|
BOOL g_bIsDefaultShell = FALSE;
|
||||||
// Handles
|
// Handles
|
||||||
HINSTANCE g_hAppInstance;
|
HINSTANCE g_hAppInstance;
|
||||||
HANDLE g_hAppHeap;
|
|
||||||
HWND g_hWndProgMgr = NULL;
|
HWND g_hWndProgMgr = NULL;
|
||||||
// Icons
|
// Icons
|
||||||
HICON g_hProgMgrIcon = NULL;
|
HICON g_hProgMgrIcon = NULL;
|
||||||
@@ -78,9 +77,6 @@ int WINAPI wWinMain(_In_ HINSTANCE hInstance, _In_opt_ HINSTANCE hPrevInstance,
|
|||||||
// Initialize the instance
|
// Initialize the instance
|
||||||
g_hAppInstance = hInstance;
|
g_hAppInstance = hInstance;
|
||||||
|
|
||||||
// Create our global heap handle
|
|
||||||
g_hAppHeap = GetProcessHeap();
|
|
||||||
|
|
||||||
// Create Strings
|
// Create Strings
|
||||||
LoadString(g_hAppInstance, IDS_PMCLASS, g_szClass, ARRAYSIZE(g_szClass));
|
LoadString(g_hAppInstance, IDS_PMCLASS, g_szClass, ARRAYSIZE(g_szClass));
|
||||||
LoadString(g_hAppInstance, IDS_APPTITLE, g_szAppTitle, ARRAYSIZE(g_szAppTitle));
|
LoadString(g_hAppInstance, IDS_APPTITLE, g_szAppTitle, ARRAYSIZE(g_szAppTitle));
|
||||||
|
|||||||
@@ -34,7 +34,6 @@
|
|||||||
extern BOOL g_bIsDefaultShell;
|
extern BOOL g_bIsDefaultShell;
|
||||||
// Handles
|
// Handles
|
||||||
extern HINSTANCE g_hAppInstance;
|
extern HINSTANCE g_hAppInstance;
|
||||||
extern HANDLE g_hAppHeap;
|
|
||||||
extern HWND g_hWndProgMgr;
|
extern HWND g_hWndProgMgr;
|
||||||
// Icons
|
// Icons
|
||||||
extern HICON g_hProgMgrIcon;
|
extern HICON g_hProgMgrIcon;
|
||||||
|
|||||||
Reference in New Issue
Block a user