split wndproc into its own file

This commit is contained in:
freedom
2023-07-19 02:17:52 -06:00
parent 3d82ea0745
commit d2c8b2ba53
6 changed files with 132 additions and 56 deletions

View File

@@ -13,6 +13,21 @@
name='Microsoft.Windows.Common-Controls' version='6.0.0.0' \
processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")
/* Includes */
#include <wtypes.h>
/* Macros and Defines */
#define CharSizeOf(x) (sizeof(x) / sizeof(*x))
/* Global Variables */
// PROGMGR.C
extern BOOL bIsDefaultShell;
extern HINSTANCE hAppInstance;
extern HWND hwndProgMgr;
extern HWND hwndMDIClient;
extern WCHAR szAppTitle[32];
extern WCHAR szProgMgr[];
/* Function Prototypes */
// WNDPROC.C
LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);