DwmApiDwmEnableBlurBehindWindow Method
Enables the blur effect on a specified window.
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")]
[SecurityCriticalAttribute]
public static HResult DwmEnableBlurBehindWindow(
IntPtr hWnd,
ref DwmBlurBehind refDwmBlurBehind
)
<DllImportAttribute("DwmApi.dll">]
<SecurityCriticalAttribute>
Public Shared Function DwmEnableBlurBehindWindow (
hWnd As IntPtr,
ByRef refDwmBlurBehind As DwmBlurBehind
) As HResult
Dim hWnd As IntPtr
Dim refDwmBlurBehind As DwmBlurBehind
Dim returnValue As HResult
returnValue = DwmApi.DwmEnableBlurBehindWindow(hWnd,
refDwmBlurBehind)
public:
[DllImportAttribute(L"DwmApi.dll")]
[SecurityCriticalAttribute]
static HResult DwmEnableBlurBehindWindow(
IntPtr hWnd,
DwmBlurBehind% refDwmBlurBehind
)
[<DllImportAttribute("DwmApi.dll")>]
[<SecurityCriticalAttribute>]
static member DwmEnableBlurBehindWindow :
hWnd : IntPtr *
refDwmBlurBehind : DwmBlurBehind byref -> HResult
No code example is currently available or this language may not be supported.
- hWnd IntPtr
-
The handle to the window on which the blur behind data is applied.
- refDwmBlurBehind DwmBlurBehind
-
A pointer to a DwmBlurBehind structure that provides blur behind data.
HResult
If this function succeeds, it returns
S_OK.
Otherwise, it returns an
HResult error code.