uLib  User mode C/C++ extended API library for Win32 programmers.

Module Description

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 );
THREADPROC CommThread( PVOID Arg );
EXITPROC GlobalCleanup();

Macros

#define WINDOWPROC   LRESULT CALLBACK
 
#define DIALOGPROC   DRESULT CALLBACK
 
#define DRESULT   BOOL
 
#define WINHOOKPROC   LRESULT CALLBACK
 
#define THREADPROC   DWORD WINAPI
 
#define EXITPROC   void __cdecl
 

Macro Definition Documentation

◆ 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

#define DRESULT   BOOL

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.