User32ClientToScreen(IntPtr, NativePoint) Method

Converts the client-area coordinates of a specified point to screen coordinates.

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("User32.dll")]
public static bool ClientToScreen(
	IntPtr hWnd,
	ref NativePoint refPoint
)

Parameters

hWnd  IntPtr
A handle to the window whose client area is used for the conversion.
refPoint  NativePoint
A pointer to a NativePoint structure that contains the client coordinates to be converted.

The new screen coordinates are copied into this structure if the function succeeds.

Return Value

Boolean
If the function succeeds, the return value is .

If the function fails, the return value is .

Remarks

See Also