GetProcessDefaultLayout function (winuser.h)
Retrieves the default layout that is used when windows are created with no parent or owner.
BOOL GetProcessDefaultLayout(
[out] DWORD *pdwDefaultLayout
);
[out] pdwDefaultLayout
Type: DWORD*
The current default process layout. For a list of values, see SetProcessDefaultLayout.
Type: BOOL
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error information, call GetLastError.
The layout specifies how text and graphics are laid out in a window; the default is left to right. The GetProcessDefaultLayout function lets you know if the default layout has changed, from using SetProcessDefaultLayout.
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | winuser.h (include Windows.h) |
Library | User32.lib |
DLL | User32.dll |
API set | ext-ms-win-ntuser-window-l1-1-3 (introduced in Windows 10, version 10.0.10240) |
Conceptual
Reference