GetProcessDefaultLayout function

Retrieves the default layout that is used when windows are created with no parent or owner.

Syntax

BOOL GetProcessDefaultLayout(
  DWORD *pdwDefaultLayout
);

Parameters

pdwDefaultLayout

Type: DWORD*

The current default process layout. For a list of values, see SetProcessDefaultLayout.

Return Value

Type: 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.

Remarks

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.

Requirements

   
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

See Also

Conceptual

Reference

SetProcessDefaultLayout

Windows