Platform SDK: Interprocess Communications

CBT_CREATEWND

The CBT_CREATEWND structure contains information passed to a WH_CBT hook procedure, CBTProc, before a window is created.

typedef struct tagCBT_CREATEWND { 
    LPCREATESTRUCT lpcs; 
    HWND           hwndInsertAfter; 
} CBT_CREATEWND, *LPCBT_CREATEWND; 

Members

lpcs
Pointer to a CREATESTRUCT structure that contains initialization parameters for the window about to be created.
hwndInsertAfter
Handle to the window whose position in the Z order precedes that of the window being created.

Requirements

  Windows NT/2000: Requires Windows NT 3.1 or later.
  Windows 95/98: Requires Windows 95 or later.
  Header: Declared in Winuser.h; include Windows.h.
  Unicode: Declared as Unicode and ANSI structures.

See Also

Hooks Overview, Hook Structures, CBTProc, CREATESTRUCT, SetWindowsHookEx