programming:windows:CREATESTRUCTWhat links here?
The CREATESTRUCT structure defines the initialization parameters passed to the window procedure of an application. These members are identical to the parameters of the CreateWindowEx function.

Syntax
    typedef struct tagCREATESTRUCT { 
      LPVOID        lpCreateParams; 
      HINSTANCE     hInstance; 
      HMENU         hMenu; 
      HWND          hwndParent; 
      int           cy; 
      int           cx; 
      int           y; 
      int           x; 
      LONG          style; 
      LPCTSTR       lpszName; 
      LPCTSTR       lpszClass; 
      DWORD         dwExStyle; 
    } CREATESTRUCT; 


Memebers:

RemarksWindows NT/2000 or later: You should access the data represented by the lpCreateParams member using a pointer that has been declared using the UNALIGNED type, because the pointer may not be DWORD aligned. This is demonstrated in the following code example:



    typedef struct tagMyData { 
    // Define creation data here. 
    } MYDATA; 
 
    typedef struct tagMyDlgData { 
        SHORT cbExtra; 
        MYDATA myData; 
    } MYDLGDATA, UNALIGNED *PMYDLGDATA; 
 
    PMYDLGDATA pMyDlgdata = (PMYDLGDATA) (((LPCREATESTRUCT) lParam)->lpCreateParams); 


Requirements
programming:windows:CREATESTRUCT
programming - C - function putc(int char, FILE* stream)
programming - DDE - Excel DDE Server
MC6802 - instruction set - clear overflow flag
file formats - PDF - stream objects
microprocessors - microchip 16F84A - eeprom
programming - C - localtime
X Windows Structures - XKeyEvent
filename:programming:windows:CREATESTRUCT
filename:programming%3Awindows%3ACREATESTRUCT
last edit:March 26 2010 18:02:44 (5649 days ago)
ct = 1757738049.000000 = September 13 2025 00:34:09
ft = 1269640964.000000 = March 26 2010 18:02:44
dt = 488097085.000000