Ubiquitous call type semantic clarifiers.
Usage examples:
WINDOWPROC MainProc( HWND hWnd, UINT Msg, WPARAM wp, LPARAM lp );
DIALOGPROC About( HWND hWnd, UINT Msg, WPARAM wp, LPARAM lp );
WINHOOKPROC KeybdHook(
int Code, WPARAM wp, LPARAM lp );
◆ WINDOWPROC
#define WINDOWPROC LRESULT CALLBACK |
Normal or subclass window proc.
Definition at line 1098 of file Common.h.
◆ DIALOGPROC
#define DIALOGPROC DRESULT CALLBACK |
Dialog proc.. See DialogBoxParam().
Definition at line 1099 of file Common.h.
◆ DRESULT
Dialog proc result type (BOOL or INT_PTR, depending on bitness).
Definition at line 1104 of file Common.h.
◆ WINHOOKPROC
#define WINHOOKPROC LRESULT CALLBACK |
Windows hook proc. See SetWindowsHookEx().
Definition at line 1109 of file Common.h.
◆ THREADPROC
#define THREADPROC DWORD WINAPI |
Thread proc. See CreateThread().
Definition at line 1114 of file Common.h.
◆ EXITPROC
#define EXITPROC void __cdecl |
Exit proc. See atexit().
Definition at line 1118 of file Common.h.