DwmApiDwmExtendFrameIntoClientArea(SafeHandle, Margins) Method

Extends the window frame into the client area.

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("DwmApi.dll")]
public static int DwmExtendFrameIntoClientArea(
	SafeHandle hWnd,
	ref Margins refMargins
)

Parameters

hWnd  SafeHandle
A handle to the window in which the frame will be extended into the client area.
refMargins  Margins
A pointer to a Margins structure that describes the margins to use when extending the frame into the client area.

Return Value

Int32
If the function succeeds, the return value is S_OK.

Otherwise, it returns an HResult error code.

Remarks

See Also