CBT_CREATEWNDW structure (winuser.h)
Contains information passed to a WH_CBT hook procedure, CBTProc, before a window is created.
Syntax
typedef struct tagCBT_CREATEWNDW {
struct tagCREATESTRUCTW *lpcs;
HWND hwndInsertAfter;
} CBT_CREATEWNDW, *LPCBT_CREATEWNDW;
Members
lpcs
Type: LPCREATESTRUCT
A pointer to a CREATESTRUCT structure that contains initialization parameters for the window about to be created.
hwndInsertAfter
Type: HWND
A handle to the window whose position in the Z order precedes that of the window being created. This member can also be NULL.
Remarks
Note
The winuser.h header defines CBT_CREATEWND as an alias which automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Header | winuser.h (include Windows.h) |
See also
Conceptual
Reference