The new Windows Vista desktop composition feature fundamentally changes the way applications display pixels on the screen. When desktop composition is enabled, individual windows no longer draw directly to the screen or primary display device as they did in previous versions of Microsoft Windows. Instead, their drawing is redirected to off-screen surfaces in video memory, which are then rendered into a desktop image and presented on the display.
Desktop composition is performed by the Desktop Window Manager (DWM), a new component of Windows Vista. 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. For more information about the user experience features enabled by the DWM visit the Windows Vista: Features User Experience Page.
Many of the DWM features can be controlled or accessed by an application through the DWM APIs . The following documentation describes some of the features and requirements of DWM API.
DWM consists of the following APIs. Additional documentation is available by following the associated links.
DWM_SOURCE_FRAME_SAMPLING Specifies the frame sampling type.DWMFLIP3DWINDOWPOLICY Specifies the Flip3D window policy.DWMNCRENDERINGPOLICY Specifies a constant that defines the non-client area rendering policy.DWMWINDOWATTRIBUTE Specifies window attributes for non-client rendering
Specifies the frame sampling type.
Specifies the Flip3D window policy.
Specifies a constant that defines the non-client area rendering policy.
Specifies window attributes for non-client rendering
DwmAttachMilContentDwmDefWindowProc Default window procedure for DWM hit-testing within the non-client area.DwmDetachMilContentDwmEnableBlurBehindWindow Enables the blur effect on the provided window handle.DwmEnableComposition Enables or disables DWM composition.DwmEnableMMCSS Tells the DWM to opt into Multimedia Class Schedule Service (MMCSS) scheduling while the calling process is alive.DwmExtendFrameIntoClientArea Extends the window frame behind the client area.DwmFlushDwmGetColorizationColor Retrieves the current color used for DWM glass composition. This value is based on the current color scheme and is modifiable by the user. Applications can listen for color changes by handling the WM_DWMCOLORIZATIONCOLORCHANGED notification.DwmGetCompositionTimingInfo Retrieves the current composition timing information.DwmGetGraphicsStreamClientDwmGetGraphicsStreamTransformHintDwmGetTransportAttributesDwmGetWindowAttribute Retrieves the current value of the specified DWMWINDOWATTRIBUTE that is applied to the window. DwmInvalidateIconicBitmapsDwmIsCompositionEnabled Obtains a value that indicates whether DWM composition is enabled. Applications can listen for composition state changes by handling the WM_DWMCOMPOSITIONCHANGED notification.DwmModifyPreviousDxFrameDuration Changes the number of refreshes the previous frame will be displayed.DwmQueryThumbnailSourceSize Returns the source size of the DWM thumbnail.DwmRegisterThumbnail Creates a DWM thumbnail relationship between the destination and source windows.DwmSetDxFrameDuration Sets the number of refreshes to display the presented frame.DwmSetIconicLivePreviewBitmapDwmSetIconicThumbnailDwmSetPresentParameters Sets the present parameters for frame composition.DwmSetWindowAttribute Sets the value of the specified DWMWINDOWATTRIBUTE to apply to the window.DwmUnregisterThumbnail Removes a DWM thumbnail relationship created by DwmRegisterThumbnail.DwmUpdateThumbnailProperties Updates the properties for a given DWM thumbnail.
Default window procedure for DWM hit-testing within the non-client area.
Enables the blur effect on the provided window handle.
Enables or disables DWM composition.
Tells the DWM to opt into Multimedia Class Schedule Service (MMCSS) scheduling while the calling process is alive.
Extends the window frame behind the client area.
Retrieves the current color used for DWM glass composition. This value is based on the current color scheme and is modifiable by the user. Applications can listen for color changes by handling the WM_DWMCOLORIZATIONCOLORCHANGED notification.
Retrieves the current composition timing information.
Retrieves the current value of the specified DWMWINDOWATTRIBUTE that is applied to the window.
Obtains a value that indicates whether DWM composition is enabled. Applications can listen for composition state changes by handling the WM_DWMCOMPOSITIONCHANGED notification.
Changes the number of refreshes the previous frame will be displayed.
Returns the source size of the DWM thumbnail.
Creates a DWM thumbnail relationship between the destination and source windows.
Sets the number of refreshes to display the presented frame.
Sets the present parameters for frame composition.
Sets the value of the specified DWMWINDOWATTRIBUTE to apply to the window.
Removes a DWM thumbnail relationship created by DwmRegisterThumbnail.
Updates the properties for a given DWM thumbnail.
DWM_BLURBEHIND Specifies DWM blur behind properties.DWM_PRESENT_PARAMETERS Contains DWM video frame parameters for frame composition.DWM_THUMBNAIL_PROPERTIES Specifies DWM thumbnail properties.DWM_TIMING_INFO Contains DWM composition timing information.MilMatrix3x2DUNSIGNED_RATIO A ratio used with the DWM timing API.
Specifies DWM blur behind properties.
Contains DWM video frame parameters for frame composition.
Specifies DWM thumbnail properties.
Contains DWM composition timing information.
A ratio used with the DWM timing API.
I am trying to run a game that is full screen and the destop window manager, I think, is trying to initiate itself and locks up my game. It could be a fault in the game but I doubt it. How do I disable the Desktop window manager? I have tried disabeling the screen saver, the power features, I am ruiing Aero. I have Windows Vista 64 bit OS. 3 gig of ram @1333 Mhz, dual ATI 3870 GPU, Intel E8400 CPU and DBX38BT MoBo. MY system should handle anything. I am not an expert or anything like that but this shouldn't be happening.
Thanks, Mike
Log Name: ApplicationSource: Desktop Window ManagerDate: 4/15/2008 8:51:12 AMEvent ID: 9013Task Category: NoneLevel: InformationKeywords: ClassicUser: N/AComputer: upstairsDescription:The Desktop Window Manager was unable to start because composition was disabled by a running applicationEvent Xml:<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"><System><Provider Name="Desktop Window Manager" /><EventID Qualifiers="16384">9013</EventID><Level>4</Level><Task>0</Task><Keywords>0x80000000000000</Keywords><TimeCreated SystemTime="2008-04-15T13:51:12.000Z" /><EventRecordID>17364</EventRecordID><Channel>Application</Channel><Computer>upstairs</Computer><Security /></System><EventData></EventData></Event>
[tfl - 22 04 09] You should post questions like this to the MSDN Forums at http://forums.microsoft.com/msdn or the MSDN Newsgroups at http://www.microsoft.com/communities/newsgroups/en-us/. You are much more likely get a quicker response using the forums than through the Community Content. For specific help about: Visual Studio : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public.vstudio%2C& .NET Framework : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public.dotnet.framework All Public : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public%2C&
Mikey, Sorry to hear about your game lock-up. Aero relies on the fancy features that DWMAPI.DLL provides. Try disabling Aero, if you have not already.
Why does Desktop Windows Manager (DWM) need access to the internet? ZoneAlarm flashes a security alert telling me that DWM is requesting access to the internet. Is it safe to grant this access or is there a danger that my system has been hacked?
Thanks
[tfl - 10 Aug 08] You should post questions like this to the Technet Forums at http://forums.microsoft.com/technet or the MSDN Newsgroups at http://www.microsoft.com/communities/newsgroups/en-us/. You are much more likely get a quick response using the forums than through the Community Content. You could also start at: http://groups.google.com/group/microsoft.public.games/topics?lnk.
is this thing is normal that dwm takes 53243k of physical memory in my computer
My Computer desktop is black. It said that the Desktop Windows Manager has stopped working can some please offer me some kind of help that it would start back working properly.