[HideModuleNameAttribute]
public sealed class DwmApi
<HideModuleNameAttribute>
Public NotInheritable Class DwmApi
Dim instance As DwmApi
[HideModuleNameAttribute]
public ref class DwmApi sealed
[<SealedAttribute>]
[<HideModuleNameAttribute>]
type DwmApi = class end
No code example is currently available or this language may not be supported.
DwmDefWindowProc | Default window procedure for Desktop Window Manager (DWM) hit testing within the non-client area. You also need to ensure that DwmDefWindowProc(IntPtr, UInt32, IntPtr, IntPtr, IntPtr) is called for the WM_NcMouseLeave message. If DwmDefWindowProc(IntPtr, UInt32, IntPtr, IntPtr, IntPtr) is not called for the WM_NcMouseLeave message, DWM does not remove the highlighting from the Maximize, Minimize, and Close buttons when the cursor leaves the window. |
DwmEnableBlurBehindWindow | Enables the blur effect on a specified window. |
DwmEnableMMCSS | Notifies the Desktop Window Manager (DWM) to opt in to or out of Multimedia Class Schedule Service (MMCSS) scheduling while the calling process is alive. |
DwmExtendFrameIntoClientArea(IntPtr, Margins) | Extends the window frame into the client area. |
DwmExtendFrameIntoClientArea(SafeHandle, Margins) | Extends the window frame into the client area. |
DwmFlush | Issues a flush call that blocks the caller until the next present, when all of the Microsoft DirectX surface updates that are currently outstanding have been made. This compensates for very complex scenes or calling processes with very low priority. |
DwmGetColorizationColor | Retrieves the current color used for Desktop Window Manager (DWM) glass composition. This value is based on the current color scheme and can be modified by the user. Applications can listen for color changes by handling the WM_DwmColorizationColorChanged message. |
DwmGetWindowAttribute(IntPtr, DwmWindowAttribute, NativeRectangle, Int32) | Retrieves the current value of a specified attribute applied to a window. |
DwmGetWindowAttribute(IntPtr, DwmWindowAttribute, Boolean, Int32) | Retrieves the current value of a specified attribute applied to a window. |
DwmGetWindowAttribute(SafeHandle, DwmWindowAttribute, NativeRectangle, Int32) | Retrieves the current value of a specified attribute applied to a window. |
DwmGetWindowAttribute(SafeHandle, DwmWindowAttribute, Boolean, Int32) | Retrieves the current value of a specified attribute applied to a window. |
DwmInvalidateIconicBitmaps(IntPtr) | Called by an application to indicate that all previously provided iconic bitmaps from a window, both thumbnails and peek representations, should be refreshed. |
DwmInvalidateIconicBitmaps(SafeHandle) | Called by an application to indicate that all previously provided iconic bitmaps from a window, both thumbnails and peek representations, should be refreshed. |
DwmIsCompositionEnabled | Obtains a value that indicates whether Desktop Window Manager (DWM) composition is enabled. Applications on machines running Windows 7 or earlier can listen for composition state changes by handling the WM_DWMCOMPOSITIONCHANGED notification. |
DwmQueryThumbnailSourceSize | Retrieves the source size of the Desktop Window Manager (DWM) thumbnail. |
DwmRegisterThumbnail | Creates a Desktop Window Manager (DWM) thumbnail relationship between the destination and source windows. |
DwmSetIconicLivePreviewBitmap(IntPtr, SafeBitmapHandle, NativePoint, DwmIconicLivePreviewFlags) | Sets a static iconic Bitmap on a window or tab to use as a thumbnail representation. The Taskbar can use this Bitmap as a thumbnail switch target for the window or tab. |
DwmSetIconicLivePreviewBitmap(IntPtr, SafeBitmapHandle, IntPtr, DwmIconicLivePreviewFlags) | Sets a static iconic Bitmap on a window or tab to use as a thumbnail representation. The Taskbar can use this Bitmap as a thumbnail switch target for the window or tab. |
DwmSetIconicLivePreviewBitmap(IntPtr, IntPtr, NativePoint, DwmIconicLivePreviewFlags) | Sets a static iconic Bitmap on a window or tab to use as a thumbnail representation. The Taskbar can use this Bitmap as a thumbnail switch target for the window or tab. |
DwmSetIconicLivePreviewBitmap(IntPtr, IntPtr, IntPtr, DwmIconicLivePreviewFlags) | Sets a static iconic Bitmap on a window or tab to use as a thumbnail representation. The Taskbar can use this Bitmap as a thumbnail switch target for the window or tab. |
DwmSetIconicLivePreviewBitmap(SafeHandle, SafeBitmapHandle, NativePoint, DwmIconicLivePreviewFlags) | Sets a static iconic Bitmap on a window or tab to use as a thumbnail representation. The Taskbar can use this Bitmap as a thumbnail switch target for the window or tab. |
DwmSetIconicLivePreviewBitmap(SafeHandle, SafeBitmapHandle, IntPtr, DwmIconicLivePreviewFlags) | Sets a static iconic Bitmap on a window or tab to use as a thumbnail representation. The Taskbar can use this Bitmap as a thumbnail switch target for the window or tab. |
DwmSetIconicLivePreviewBitmap(SafeHandle, IntPtr, NativePoint, DwmIconicLivePreviewFlags) | Sets a static iconic Bitmap on a window or tab to use as a thumbnail representation. The Taskbar can use this Bitmap as a thumbnail switch target for the window or tab. |
DwmSetIconicLivePreviewBitmap(SafeHandle, IntPtr, IntPtr, DwmIconicLivePreviewFlags) | Sets a static iconic Bitmap on a window or tab to use as a thumbnail representation. The Taskbar can use this Bitmap as a thumbnail switch target for the window or tab. |
DwmSetIconicThumbnail(IntPtr, SafeBitmapHandle, DwmIconicThumbnailFlags) | Sets a static iconic Bitmap on a window or tab to use as a thumbnail representation. The Taskbar can use this Bitmap as a thumbnail switch target for the window or tab. |
DwmSetIconicThumbnail(IntPtr, IntPtr, DwmIconicThumbnailFlags) | Sets a static iconic Bitmap on a window or tab to use as a thumbnail representation. The Taskbar can use this Bitmap as a thumbnail switch target for the window or tab. |
DwmSetIconicThumbnail(SafeHandle, SafeBitmapHandle, DwmIconicThumbnailFlags) | Sets a static iconic Bitmap on a window or tab to use as a thumbnail representation. The Taskbar can use this Bitmap as a thumbnail switch target for the window or tab. |
DwmSetIconicThumbnail(SafeHandle, IntPtr, DwmIconicThumbnailFlags) | Sets a static iconic Bitmap on a window or tab to use as a thumbnail representation. The Taskbar can use this Bitmap as a thumbnail switch target for the window or tab. |
DwmSetWindowAttribute(IntPtr, DwmWindowAttribute, IntPtr, UInt32) | Sets the value of non-client rendering attributes for a window. |
DwmSetWindowAttribute(SafeHandle, DwmWindowAttribute, IntPtr, UInt32) | Sets the value of non-client rendering attributes for a window. |
DwmUnregisterThumbnail | Removes a Desktop Window Manager (DWM) thumbnail relationship previously created by the DwmRegisterThumbnail(IntPtr, IntPtr, IntPtr) function. |
DwmUpdateThumbnailProperties | Updates the properties for a Desktop Window Manager (DWM) thumbnail. |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetHashCode | Serves as the default hash function. (Inherited from Object) |
GetType | Gets the Type of the current instance. (Inherited from Object) |
ToString | Returns a string that represents the current object. (Inherited from Object) |
CanConvertTo |
Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions) |
CanConvertToT |
Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions) |
ConvertToT |
Converts an object to the specified target type.
If the conversion fails, an exception is thrown.
(Defined by ObjectExtensions) |
ConvertToT |
Converts an object to the specified target type.
If the conversion fails, returns the specified default value.
(Defined by ObjectExtensions) |
IsDisposable |
Determines whether the specified object is a disposable type
(i.e., it implements IDisposable interface).
(Defined by ObjectExtensions) |
Speak |
Speaks the string representation of the source object by using the
operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions) |
Speak |
Speaks the string representation of the source object by using the
operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions) |
ThrowIfNullTException |
Throws the specified exception if the source object is null.
(Defined by ObjectExtensions) |