dwmapi Topic

Desktop Window Manager API

Desktop composition is performed by the Desktop Window Manager (DWM). Through desktop composition, DWM enables visual effects on the desktop as well as various features such as glass window frames, 3-D window transition animations, Windows Flip and Windows Flip3D, and high resolution support.

Functions

DwmEnableBlurBehindWindow(int hWnd, Pointer<DWM_BLURBEHIND> pBlurBehind) int dwmapi
Enables the blur effect on a specified window. [...]
DwmEnableMMCSS(int fEnableMMCSS) int dwmapi
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(int hWnd, Pointer<MARGINS> pMarInset) int dwmapi
Extends the window frame into the client area. [...]
DwmFlush() int dwmapi
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(Pointer<Uint32> pcrColorization, Pointer<Int32> pfOpaqueBlend) int dwmapi
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 notification. [...]
DwmGetTransportAttributes(Pointer<Int32> pfIsRemoting, Pointer<Int32> pfIsConnected, Pointer<Uint32> pDwGeneration) int dwmapi
Retrieves transport attributes. [...]
DwmGetWindowAttribute(int hwnd, int dwAttribute, Pointer<NativeType> pvAttribute, int cbAttribute) int dwmapi
Retrieves the current value of a specified Desktop Window Manager (DWM) attribute applied to a window. [...]
DwmInvalidateIconicBitmaps(int hwnd) int dwmapi
Called by an application to indicate that all previously provided iconic bitmaps from a window, both thumbnails and peek representations, should be refreshed. [...]
DwmRenderGesture(int gt, int cContacts, Pointer<Uint32> pdwPointerID, Pointer<POINT> pPoints) int dwmapi
Notifies Desktop Window Manager (DWM) that a touch contact has been recognized as a gesture, and that DWM should draw feedback for that gesture. [...]
DwmSetWindowAttribute(int hwnd, int dwAttribute, Pointer<NativeType> pvAttribute, int cbAttribute) int dwmapi
Sets the value of Desktop Window Manager (DWM) non-client rendering attributes for a window. [...]
DwmShowContact(int dwPointerID, int eShowContact) int dwmapi
Called by an app or framework to specify the visual feedback type to draw in response to a particular touch or pen contact. [...]