DWMAPI Functions

The table on this page lists all the functions that appear in the export directory of any known version of DWMAPI.DLL. It gives for each function just brief summaries of the applicable DWMAPI versions and of the function’s status with respect to Microsoft’s documentation. Explanatory notes follow the table.

Function Applicable Versions Documentation Status
DwmAttachMilContent 6.0 and higher documented in 2009
DwmDefWindowProc 6.0 and higher documented
DwmDetachMilContent 6.0 and higher documented in 2009
DwmEnableBlurBehindWindow 6.0 and higher documented
DwmEnableComposition 6.0 and higher documented
DwmEnableMMCSS 6.0 and higher documented
DwmExtendFrameIntoClientArea 6.0 and higher documented
DwmFlush 6.0 and higher documented in 2009
DwmGetColorizationColor 6.0 and higher documented
DwmGetCompositionTimingInfo 6.0 and higher documented
DwmGetGraphicsStreamClient 6.0 and higher documented in 2009
DwmGetGraphicsStreamTransformHint 6.0 and higher documented in 2009
DwmGetTransportAttributes 6.0 and higher documented in 2009
DwmGetWindowAttribute 6.0 and higher documented
DwmInvalidateIconicBitmaps 6.1 and higher documented
DwmIsCompositionEnabled 6.0 and higher documented
DwmModifyPreviousDxFrameDuration 6.0 and higher documented
DwmpActivateLivePreview (113) 6.1 and higher  
DwmpCloseGraphicsStream (110) 6.0 and higher  
DwmpDxBindSwapChain (125) 6.1 and higher  
DwmpDxGetWindowSharedSurface (100) 6.0 and higher  
DwmpDxgiDisableRedirection (129) 6.1 and higher  
DwmpDxgiEnableRedirection (130) 6.1 and higher  
DwmpDxgiIsThreadDesktopComposited (128) 6.1 and higher  
DwmpDxSetContentHostingInformation (134) 6.1 and higher  
DwmpDxUnbindSwapChain (126) 6.1 and higher  
DwmpDxUpdateWindowRedirectionBltSurface (133) 6.1 and higher  
DwmpDxUpdateWindowSharedSurface (101) 6.0 and higher  
DwmpEnableRedirection (108) 6.0 and higher  
DwmpGetAssessment  (118) 6.0 and higher  
DwmpGetAssessmentUsage (119) 6.0 and higher  
DwmpGetColorizationParameters (127) 6.1 and higher  
DwmpGetCompositionTimingInfoEx (132) 6.1 and higher  
DwmpGetGlobalState (107) 6.0 and higher  
DwmpIsCompositionCapable (106) 6.0 and higher  
DwmpIsSessionDWM (121) 6.0 and higher  
DwmpOpenGraphicsStream (109) 6.0 and higher  
DwmpQueryThumbnailType (114) 6.1 and higher  
DwmpRegisterThumbnail (124) 6.0 and higher  
DwmpRestartComposition (103) 6.0 and higher  
DwmpSetAssessmentUsage (120) 6.0 and higher  
DwmpSetColorizationColor (104) 6.0 and higher  
DwmpSetColorizationParameters (131) 6.1 and higher  
DwmpSetGraphicsStreamTransformHint (112) 6.0 and higher  
DwmpStartOrStopFlip3D (105) 6.0 and higher  
DwmpStartupViaUserInit (115) 6.0 and higher  
DwmQueryThumbnailSourceSize 6.0 and higher documented
DwmRegisterThumbnail 6.0 and higher documented
DwmSetDxFrameDuration 6.0 and higher documented
DwmSetIconicLivePreviewBitmap 6.1 and higher documented
DwmSetIconicThumbnail 6.1 and higher documented
DwmSetPresentParameters 6.0 and higher documented
DwmSetWindowAttribute 6.0 and higher documented
DwmUnregisterThumbnail 6.0 and higher documented
DwmUpdateThumbnailProperties 6.0 and higher documented

Notes

Names

Function names are reproduced from the export directory of the DWMAPI executable, wherever possible. For functions that are not exported by name (i.e., are exported only by ordinal) from any known DWMAPI version, names are inferred from symbol files that Microsoft supplies for customer support. If a function is known as an ordinal-only export from at least one DWMAPI version, then the ordinal is given in brackets immediately after the function’s name.

Versions

The DWMAPI versions shown for each function are inferred from a study of known releases, making reasonable assumptions about likely continuity, especially to suppose that a function will exist in future versions or that a function exists in all (released) builds of a version if no counter-example is yet known.

Documentation Status

Except where otherwise stated, the reference version for Microsoft’s documentation is the January 2007 edition of the Windows Vista Software Development Kit, as distributed by Microsoft on MSDN disc 3667. There appears to be just the one section for DWM functions. That a function is not marked above as “documented” (or is marked elsewhere as “undocumented”) does not mean for certain that Microsoft does not document it, just that I haven’t yet found where.

Functions added for version 6.1 are marked as “documented” if an on-line search shows them to be, pending my acquisition of a definitive SDK for Windows 7 (apparently not supplied on disc with MSDN subscriptions) to adopt formally as a new reference edition.

Note that some functions introduced for version 6.0 were not documented for the contemporaneous reference edition but have got documented since. These are marked as “documented in 2009” for although they do appear in a DWMAPI.H header file dated January 2008, they were not yet documented in the MSDN Library as late as November 2008.