Gdi32GetDeviceCaps(SafeHandle, Int32) Method

Retrieves device-specific information for the specified device.

Definition

Namespace: DevCase.Win32.NativeMethods
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("GDI32.dll", CharSet = CharSet.Auto, ExactSpelling = true, 
	SetLastError = true)]
public static int GetDeviceCaps(
	SafeHandle hdc,
	int index
)

Parameters

hdc  SafeHandle
A handle To a DC (Device Context).
index  Int32
The item to be returned.

Return Value

Int32
The return value specifies the value of the desired item.

Remarks

See Also