hwndParent (HWND) - input
If this parameter is a window handle returned from the WinQueryDesktopWindow function, or is HWND_DESKTOP, a main window is created.
If hwndParent is a window handle returned from WinQueryObjectWindow, or is HWND_OBJECT, an object window is created.
flStyle (ULONG) - input
This is a combination of any of the WS_* styles frame styles.
The interpretation of the parameters is affected by the use of all the styles, except for WS_MINIMIZED and WS_MAXIMIZED. These two styles are ignored if they are specified.
pflCreateFlags (PULONG) - input
This contains a combination of any of the FCF_* flags. The interpretation of the parameters is affected by the use of these flags; see
pszClassClient (PSZ) - input
If pszClassClient is not a zero-length string, a client window of style flStyleClient and class pszClassClient is created. pszClassClient is either an application specified name as defined by WinRegisterClass or the name of a preregistered WC_* class; see Preregistered class names are of the form "#nnnnn", where nnnnn is 1 through 5 digits corresponding to the value of the WC_* class name constant.
If pszClassClient is NULL, no client area is created.
This parameter can also be specified directly as a WC_* constant.
pszTitle (PSZ) - input
This is ignored if FCF_TITLEBAR (or FCF_STANDARD) is not specified in pflCreateFlags.
flStyleClient (ULONG) - input
This is ignored if pszClassClient is a zero-length string.
Resource (HMODULE) - input
This is ignored unless FCF_MENU, FCF_STANDARD, FCF_ACCELTABLE, or FCF_ICON is specified.
NULLHANDLE
ulId (ULONG) - input
The identifier within the resource definition of the required resource.
It is the responsibility of the application to ensure that all of the resources related to one frame window have the same ulId value. It must be greater or equal to 0 and less or equal to 0xFFFF.
phwndClient (PHWND) - output
This is returned if a client window is created.
hwndFrame (HWND) - returns
This is NULLHANDLE if no window is created.