DwmApiDwmExtendFrameIntoClientArea(SafeHandle, Margins) Method
Extends the window frame into the client area.
Namespace: DevCase.Win32.NativeMethodsAssembly: 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
)
<DllImportAttribute("DwmApi.dll">]
Public Shared Function DwmExtendFrameIntoClientArea (
hWnd As SafeHandle,
ByRef refMargins As Margins
) As Integer
Dim hWnd As SafeHandle
Dim refMargins As Margins
Dim returnValue As Integer
returnValue = DwmApi.DwmExtendFrameIntoClientArea(hWnd,
refMargins)
public:
[DllImportAttribute(L"DwmApi.dll")]
static int DwmExtendFrameIntoClientArea(
SafeHandle^ hWnd,
Margins% refMargins
)
[<DllImportAttribute("DwmApi.dll")>]
static member DwmExtendFrameIntoClientArea :
hWnd : SafeHandle *
refMargins : Margins byref -> int
No code example is currently available or this language may not be supported.
- 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.
Int32
If the function succeeds, the return value is
S_OK.
Otherwise, it returns an
HResult error code.