DWM Functions
This section contains information about the Desktop Window Manager (DWM) functions.
Topic | Description |
---|---|
DwmAttachMilContent |
This function is not implemented. |
DwmDefWindowProc |
Default window procedure for DWM hit testing within the non-client area. You also need to ensure that DwmDefWindowProc is called for the WM_NCMOUSELEAVE message. If DwmDefWindowProc 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. |
DwmDetachMilContent |
This function is not implemented. |
DwmEnableBlurBehindWindow |
Enables the blur effect on a specified window. |
DwmEnableComposition |
Enables or disables DWM composition. Note: This function is deprecated as of Windows 8. DWM can no longer be programmatically disabled. |
DwmEnableMMCSS |
Notifies the DWM to opt in to or out of Multimedia Class Schedule Service (MMCSS) scheduling while the calling process is alive. |
DwmExtendFrameIntoClientArea |
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 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 notification. |
DwmGetCompositionTimingInfo |
Retrieves the current composition timing information for a specified window. |
DwmGetGraphicsStreamClient |
This function is not implemented. |
DwmGetGraphicsStreamTransformHint |
This function is not implemented. |
DwmGetTransportAttributes |
Retrieves transport attributes. |
DwmGetUnmetTabRequirements |
Note This function is publically available, but nonfunctional, for Windows 10, version 1803.Checks the requirements needed to get tabs in the application title bar for the specified window. |
DwmGetWindowAttribute |
Retrieves the current value of a specified attribute applied to a window. |
DwmInvalidateIconicBitmaps |
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 DWM composition is enabled. Applications on machines running Windows 7 or earlier can listen for composition state changes by handling the WM_DWMCOMPOSITIONCHANGED notification. |
DwmModifyPreviousDxFrameDuration |
Changes the number of monitor refreshes through which the previous frame will be displayed. DwmModifyPreviousDxFrameDuration is no longer supported. Starting with Windows 8.1, calls to DwmModifyPreviousDxFrameDuration always return E_NOTIMPL. |
DwmQueryThumbnailSourceSize |
Retrieves the source size of the DWM thumbnail. |
DwmRegisterThumbnail |
Creates a DWM thumbnail relationship between the destination and source windows. |
DwmRenderGesture |
Notifies DWM that a touch contact has been recognized as a gesture, and that DWM should draw feedback for that gesture. |
DwmSetDxFrameDuration |
Sets the number of monitor refreshes through which to display the presented frame. DwmSetDxFrameDuration is no longer supported. Starting with Windows 8.1, calls to DwmSetDxFrameDuration always return E_NOTIMPL. |
DwmSetIconicLivePreviewBitmap |
Sets a static, iconic bitmap to display a live preview (also known as a Peek preview) of a window or tab. The taskbar can use this bitmap to show a full-sized preview of a window or tab. |
DwmSetIconicThumbnail |
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. |
DwmSetPresentParameters |
Sets the present parameters for frame composition. DwmSetPresentParameters is no longer supported. Starting with Windows 8.1, calls to DwmSetPresentParameters always return E_NOTIMPL. |
DwmSetWindowAttribute |
Sets the value of non-client rendering attributes for a window. |
DwmShowContact |
Called by an app or framework to specify the visual feedback type to draw in response to a particular touch or pen contact. |
DwmTetherContact |
Enables the graphical feedback of touch and drag interactions to the user. |
DwmTransitionOwnedWindow |
Coordinates the animations of tool windows with the DWM. |
DwmUnregisterThumbnail |
Removes a DWM thumbnail relationship created by the DwmRegisterThumbnail function. |
DwmUpdateThumbnailProperties |
Updates the properties for a DWM thumbnail. |
GetWindowCompositionAttribute | Retrieves the current value of a specified Desktop Window Manager (DWM) attribute applied to a window. |
SetWindowCompositionAttribute | Sets the current value of a specified Desktop Window Manager (DWM) attribute applied to a window. |