Export (0) Print
Expand All
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.


Windows Mobile 6.5
A version of this page is also available for

This function returns the layout of a device context (DC).

DWORD GetLayout(
  HDC hdc


[in] Handle to the DC.

If the function succeeds, it returns the layout flags for the current device context. For more information, see SetLayout.

If the function fails, it returns GDI_ERROR. For extended error information, call GetLastError.

The layout specifies the order in which text and graphics are revealed in a window or device context. The default is left-to-right. The GetLayout function tells you if the default has been changed through a call to SetLayout.

Windows Embedded CEWindows CE 5.0 and later
Windows MobileWindows Mobile Version 5.0 and later

Community Additions

© 2015 Microsoft