A | B | C |  D | E | F |  G | H | I |  J | K | L |  M | N | O |  P | Q | R |  S | T | U |  V | W | X |  Y | Z



GetLayout

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

VB4-32,5,6
Declare Function GetLayout Lib "gdi32" (ByVal hdc As Long) As Long

Operating Systems Supported
Requires Windows 2000 or later; Requires Windows 98 or later

Library
Gdi32

Parameter Information
- hdc
[in] Handle to the device context.

Return Values
If the function succeeds, it returns the layout flags for the current device context.

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

Last update: 07 April 2006