Compartilhar via


GetLayout (Windows CE 5.0)

Send Feedback

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

DWORD GetLayout(  HDC hdc);

Parameters

  • hdc
    [in] Handle to the DC.

Return Values

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.

Remarks

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.

Requirements

OS Versions: Windows CE 5.0 and later.
Header: Windows.h.
Link Library: Coredll.lib.

See Also

GDI Functions | SetLayout

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.