Expand Minimize

GetProcessDefaultLayout function

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

Syntax


BOOL WINAPI GetProcessDefaultLayout(
  _Out_  DWORD *pdwDefaultLayout
);

Parameters

pdwDefaultLayout [out]

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]

Header

Winuser.h (include Windows.h)

Library

User32.lib

DLL

User32.dll

See also

Reference
SetProcessDefaultLayout
Conceptual
Windows

 

 

Community Additions

ADD
Show:
© 2014 Microsoft