Microsoft Knowledge Base Email Alertz

The CDS_RESET flag of the ChangeDisplaySettingsEx function does not work as expected in Windows Vista or in Windows Server 2008

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 959662 - Last Review: October 8, 2011 - Revision: 3.0

The CDS_RESET flag of the ChangeDisplaySettingsEx function does not work as expected in Windows Vista or in Windows Server 2008

Hotfix download is availableHotfix Download Available
View and request hotfix downloads

On This Page

SYMPTOMS

You use the ChangeDisplaySettingsEx function together with the CDS_RESET flag to reinitialize the graphics adapter on a computer that runs Windows Vista or Windows Server 2008. However, if the requested settings are the same as the current settings of the display adapter, the system does not trigger an activation of the video present network (VidPN) on the display adapter. Therefore, the graphics adapter is not fully reinitialized.

RESOLUTION

After you apply this hotfix, you can set a CDS_RESET_EX flag for the ChangeDisplaySettingsEx function to fully reinitialize the video driver. The signature of the CDS_RESET_EX flag is as follows:
       #define CDS_RESET_EX 0x20000000

Hotfix information

Important Windows Vista and Windows Server 2008 hotfixes are included in the same packages. However, only one of these products may be listed on the “Hotfix Request” page. To request the hotfix package that applies to both Windows Vista and Windows Server 2008, just select the product that is listed on the page.

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing the problem described in this article. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site:
http://support.microsoft.com/contactus/?ws=support (http://support.microsoft.com/contactus/?ws=support)
Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

Prerequisites

To apply this hotfix on a Windows Vista-based computer, you must have Windows Vista Service Pack 1 installed on the computer. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
935791  (http://kbalertz.com/Feedback.aspx?kbNumber=935791/ ) How to obtain the latest Windows Vista service pack
No prerequisites are required for Windows Server 2008-based computers.

Restart requirement

You have to restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace a previously released hotfix.

File information

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.

Windows Vista and Windows Server 2008 file information notes

  • The files that apply to a specific product, milestone (RTM, SPn), and service branch (LDR, GDR) can be identified by examining the file version numbers as shown in the following table.
    Collapse this tableExpand this table
    VersionProductMilestoneService branch
    6.0.6000.16xxxWindows VistaRTMGDR
    6.0.6000.20xxxWindows VistaRTMLDR
    6.0.6001.18xxxWindows Vista SP1 and Windows Server 2008 SP1SP1GDR
    6.0.6001.22xxxWindows Vista SP1 and Windows Server 2008 SP1SP1LDR
  • Service Pack 1 is integrated into Windows Server 2008.
  • The .manifest files and the .mum files that are installed in each environment are listed separately in the "Additional file information for Windows Server 2008 and for Windows Vista" section. These files and their associated .cat (security catalog) files are critical to maintaining the state of the updated component. The .cat files are signed with a Microsoft digital signature. The attributes of these security files are not listed.
For all supported x86-based versions of Windows Server 2008 and Windows Vista
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Cdd.dll6.0.6001.2238036,86418-Feb-200905:52x86
Dxgkrnl.sys6.0.6001.22380625,15218-Feb-200903:30x86
Win32k.sys6.0.6001.223802,033,66418-Feb-200903:31x86
For all supported x64-based versions of Windows Server 2008 and Windows Vista
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Cdd.dll6.0.6001.2238047,10418-Feb-200907:50x64
Dxgkrnl.sys6.0.6001.22380883,71218-Feb-200905:27x64
Win32k.sys6.0.6001.223802,743,29618-Feb-200905:29x64
For all supported Itanium-based versions of Windows Server 2008
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Cdd.dll6.0.6001.22380105,47218-Feb-200904:51IA-64
Dxgkrnl.sys6.0.6001.223801,981,95218-Feb-200902:38IA-64
Win32k.sys6.0.6001.223806,634,49618-Feb-200902:39IA-64

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

When the CDS_RESET flag is set, the requested settings should be applied even if these settings are the same as the current settings. This problem prevents the CDS_RESET flag from working as expected. For more information about the ChangeDisplaySettingsEx function and the CDS_RESET flag, visit the following Microsoft Developer Network Web site:
http://msdn.microsoft.com/en-us/library/ms533235(VS.85).aspx (http://msdn.microsoft.com/en-us/library/ms533235(VS.85).aspx)
For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684  (http://kbalertz.com/Feedback.aspx?kbNumber=824684/ ) Description of the standard terminology that is used to describe Microsoft software updates

Additional file information for Windows Server 2008 and for Windows Vista

Additional files for all supported x86-based versions of Windows Server 2008 and Windows Vista

Collapse this tableExpand this table
File namePackage_1_for_kb959662~31bf3856ad364e35~x86~~6.0.3.0.mum
File versionNot Applicable
File size1,774
Date (UTC)18-Feb-2009
Time (UTC)19:46
PlatformNot Applicable
File namePackage_2_for_kb959662~31bf3856ad364e35~x86~~6.0.3.0.mum
File versionNot Applicable
File size2,609
Date (UTC)18-Feb-2009
Time (UTC)19:46
PlatformNot Applicable
File namePackage_3_for_kb959662~31bf3856ad364e35~x86~~6.0.3.0.mum
File versionNot Applicable
File size2,447
Date (UTC)18-Feb-2009
Time (UTC)19:46
PlatformNot Applicable
File namePackage_4_for_kb959662~31bf3856ad364e35~x86~~6.0.3.0.mum
File versionNot Applicable
File size2,448
Date (UTC)18-Feb-2009
Time (UTC)19:46
PlatformNot Applicable
File namePackage_for_kb959662_client_1~31bf3856ad364e35~x86~~6.0.3.0.mum
File versionNot Applicable
File size1,367
Date (UTC)18-Feb-2009
Time (UTC)19:46
PlatformNot Applicable
File namePackage_for_kb959662_client~31bf3856ad364e35~x86~~6.0.3.0.mum
File versionNot Applicable
File size1,431
Date (UTC)18-Feb-2009
Time (UTC)19:46
PlatformNot Applicable
File namePackage_for_kb959662_sc_0~31bf3856ad364e35~x86~~6.0.3.0.mum
File versionNot Applicable
File size1,422
Date (UTC)18-Feb-2009
Time (UTC)19:46
PlatformNot Applicable
File namePackage_for_kb959662_sc~31bf3856ad364e35~x86~~6.0.3.0.mum
File versionNot Applicable
File size1,423
Date (UTC)18-Feb-2009
Time (UTC)19:46
PlatformNot Applicable
File namePackage_for_kb959662_server_0~31bf3856ad364e35~x86~~6.0.3.0.mum
File versionNot Applicable
File size1,425
Date (UTC)18-Feb-2009
Time (UTC)19:46
PlatformNot Applicable
File namePackage_for_kb959662_server~31bf3856ad364e35~x86~~6.0.3.0.mum
File versionNot Applicable
File size1,431
Date (UTC)18-Feb-2009
Time (UTC)19:46
PlatformNot Applicable
File namePackage_for_kb959662_winpesrv_0~31bf3856ad364e35~x86~~6.0.3.0.mum
File versionNot Applicable
File size1,422
Date (UTC)18-Feb-2009
Time (UTC)19:46
PlatformNot Applicable
File namePackage_for_kb959662_winpesrv~31bf3856ad364e35~x86~~6.0.3.0.mum
File versionNot Applicable
File size1,430
Date (UTC)18-Feb-2009
Time (UTC)19:46
PlatformNot Applicable
File nameX86_5f838f77f4dff7aa20ad1c2bc784077d_31bf3856ad364e35_6.0.6001.22380_none_357495050d18df3b.manifest
File versionNot Applicable
File size694
Date (UTC)18-Feb-2009
Time (UTC)19:46
PlatformNot Applicable
File nameX86_cb3580295c7022879da0c5e7f9a23709_31bf3856ad364e35_6.0.6001.22380_none_6d3c26f58d5f5574.manifest
File versionNot Applicable
File size696
Date (UTC)18-Feb-2009
Time (UTC)19:46
PlatformNot Applicable
File nameX86_microsoft-windows-lddmcore_31bf3856ad364e35_6.0.6001.22380_none_abfbb9d5fceb3f1c.manifest
File versionNot Applicable
File size8,417
Date (UTC)18-Feb-2009
Time (UTC)06:19
PlatformNot Applicable
File nameX86_microsoft-windows-win32k_31bf3856ad364e35_6.0.6001.22380_none_b9269af1b3e54360.manifest
File versionNot Applicable
File size6,543
Date (UTC)18-Feb-2009
Time (UTC)06:21
PlatformNot Applicable

Additional files for all supported x64-based versions of Windows Server 2008 and Windows Vista

Collapse this tableExpand this table
File nameAmd64_9b540b71f03ee98ed649b779965802c2_31bf3856ad364e35_6.0.6001.22380_none_29deec8637a86bc3.manifest
File versionNot Applicable
File size700
Date (UTC)18-Feb-2009
Time (UTC)19:46
PlatformNot Applicable
File nameAmd64_e8c71b240229868b5437cc4fb5fe00ce_31bf3856ad364e35_6.0.6001.22380_none_6291c27713856583.manifest
File versionNot Applicable
File size698
Date (UTC)18-Feb-2009
Time (UTC)19:46
PlatformNot Applicable
File nameAmd64_fae50a3bd15f848927860cf4360d2592_31bf3856ad364e35_6.0.6001.22380_none_6eb684bb5a622860.manifest
File versionNot Applicable
File size1,038
Date (UTC)18-Feb-2009
Time (UTC)19:46
PlatformNot Applicable
File nameAmd64_microsoft-windows-lddmcore_31bf3856ad364e35_6.0.6001.22380_none_081a5559b548b052.manifest
File versionNot Applicable
File size8,679
Date (UTC)18-Feb-2009
Time (UTC)08:14
PlatformNot Applicable
File nameAmd64_microsoft-windows-win32k_31bf3856ad364e35_6.0.6001.22380_none_154536756c42b496.manifest
File versionNot Applicable
File size6,559
Date (UTC)18-Feb-2009
Time (UTC)08:16
PlatformNot Applicable
File namePackage_1_for_kb959662~31bf3856ad364e35~amd64~~6.0.3.0.mum
File versionNot Applicable
File size1,784
Date (UTC)18-Feb-2009
Time (UTC)19:46
PlatformNot Applicable
File namePackage_2_for_kb959662~31bf3856ad364e35~amd64~~6.0.3.0.mum
File versionNot Applicable
File size2,839
Date (UTC)18-Feb-2009
Time (UTC)19:46
PlatformNot Applicable
File namePackage_3_for_kb959662~31bf3856ad364e35~amd64~~6.0.3.0.mum
File versionNot Applicable
File size2,675
Date (UTC)18-Feb-2009
Time (UTC)19:46
PlatformNot Applicable
File namePackage_4_for_kb959662~31bf3856ad364e35~amd64~~6.0.3.0.mum
File versionNot Applicable
File size2,676
Date (UTC)18-Feb-2009
Time (UTC)19:46
PlatformNot Applicable
File namePackage_for_kb959662_client_1~31bf3856ad364e35~amd64~~6.0.3.0.mum
File versionNot Applicable
File size1,375
Date (UTC)18-Feb-2009
Time (UTC)19:46
PlatformNot Applicable
File namePackage_for_kb959662_client~31bf3856ad364e35~amd64~~6.0.3.0.mum
File versionNot Applicable
File size1,439
Date (UTC)18-Feb-2009
Time (UTC)19:46
PlatformNot Applicable
File namePackage_for_kb959662_sc_0~31bf3856ad364e35~amd64~~6.0.3.0.mum
File versionNot Applicable
File size1,430
Date (UTC)18-Feb-2009
Time (UTC)19:46
PlatformNot Applicable
File namePackage_for_kb959662_sc~31bf3856ad364e35~amd64~~6.0.3.0.mum
File versionNot Applicable
File size1,431
Date (UTC)18-Feb-2009
Time (UTC)19:46
PlatformNot Applicable
File namePackage_for_kb959662_server_0~31bf3856ad364e35~amd64~~6.0.3.0.mum
File versionNot Applicable
File size1,433
Date (UTC)18-Feb-2009
Time (UTC)19:46
PlatformNot Applicable
File namePackage_for_kb959662_server~31bf3856ad364e35~amd64~~6.0.3.0.mum
File versionNot Applicable
File size1,439
Date (UTC)18-Feb-2009
Time (UTC)19:46
PlatformNot Applicable
File namePackage_for_kb959662_winpesrv_0~31bf3856ad364e35~amd64~~6.0.3.0.mum
File versionNot Applicable
File size1,430
Date (UTC)18-Feb-2009
Time (UTC)19:46
PlatformNot Applicable
File namePackage_for_kb959662_winpesrv~31bf3856ad364e35~amd64~~6.0.3.0.mum
File versionNot Applicable
File size1,438
Date (UTC)18-Feb-2009
Time (UTC)19:46
PlatformNot Applicable
File nameWow64_microsoft-windows-win32k_31bf3856ad364e35_6.0.6001.22380_none_1f99e0c7a0a37691.manifest
File versionNot Applicable
File size5,013
Date (UTC)18-Feb-2009
Time (UTC)06:09
PlatformNot Applicable

Additional files for all supported Itanium-based versions of Windows Server 2008

Collapse this tableExpand this table
File nameIa64_42bb1e5d14d42c5f36bebea486d08517_31bf3856ad364e35_6.0.6001.22380_none_d28be9aba1b0093c.manifest
File versionNot Applicable
File size696
Date (UTC)18-Feb-2009
Time (UTC)19:46
PlatformNot Applicable
File nameIa64_52fe1d5c97f29700b0d1fafb27f5623a_31bf3856ad364e35_6.0.6001.22380_none_ea52acaaec6ca682.manifest
File versionNot Applicable
File size1,036
Date (UTC)18-Feb-2009
Time (UTC)19:46
PlatformNot Applicable
File nameIa64_f284bea71ef9e327be14b1b0b0d9cba0_31bf3856ad364e35_6.0.6001.22380_none_0647880a58c87f16.manifest
File versionNot Applicable
File size698
Date (UTC)18-Feb-2009
Time (UTC)19:46
PlatformNot Applicable
File nameIa64_microsoft-windows-lddmcore_31bf3856ad364e35_6.0.6001.22380_none_abfd5dcbfce94818.manifest
File versionNot Applicable
File size8,672
Date (UTC)18-Feb-2009
Time (UTC)05:54
PlatformNot Applicable
File nameIa64_microsoft-windows-win32k_31bf3856ad364e35_6.0.6001.22380_none_b9283ee7b3e34c5c.manifest
File versionNot Applicable
File size6,551
Date (UTC)18-Feb-2009
Time (UTC)05:55
PlatformNot Applicable
File namePackage_1_for_kb959662~31bf3856ad364e35~ia64~~6.0.3.0.mum
File versionNot Applicable
File size1,779
Date (UTC)18-Feb-2009
Time (UTC)19:46
PlatformNot Applicable
File namePackage_2_for_kb959662~31bf3856ad364e35~ia64~~6.0.3.0.mum
File versionNot Applicable
File size2,668
Date (UTC)18-Feb-2009
Time (UTC)19:46
PlatformNot Applicable
File namePackage_3_for_kb959662~31bf3856ad364e35~ia64~~6.0.3.0.mum
File versionNot Applicable
File size2,668
Date (UTC)18-Feb-2009
Time (UTC)19:46
PlatformNot Applicable
File namePackage_for_kb959662_sc_0~31bf3856ad364e35~ia64~~6.0.3.0.mum
File versionNot Applicable
File size1,425
Date (UTC)18-Feb-2009
Time (UTC)19:46
PlatformNot Applicable
File namePackage_for_kb959662_sc~31bf3856ad364e35~ia64~~6.0.3.0.mum
File versionNot Applicable
File size1,427
Date (UTC)18-Feb-2009
Time (UTC)19:46
PlatformNot Applicable
File namePackage_for_kb959662_server_0~31bf3856ad364e35~ia64~~6.0.3.0.mum
File versionNot Applicable
File size1,429
Date (UTC)18-Feb-2009
Time (UTC)19:46
PlatformNot Applicable
File namePackage_for_kb959662_server~31bf3856ad364e35~ia64~~6.0.3.0.mum
File versionNot Applicable
File size1,435
Date (UTC)18-Feb-2009
Time (UTC)19:46
PlatformNot Applicable
File namePackage_for_kb959662_winpesrv_0~31bf3856ad364e35~ia64~~6.0.3.0.mum
File versionNot Applicable
File size1,426
Date (UTC)18-Feb-2009
Time (UTC)19:46
PlatformNot Applicable
File namePackage_for_kb959662_winpesrv~31bf3856ad364e35~ia64~~6.0.3.0.mum
File versionNot Applicable
File size1,433
Date (UTC)18-Feb-2009
Time (UTC)19:46
PlatformNot Applicable
File nameWow64_microsoft-windows-win32k_31bf3856ad364e35_6.0.6001.22380_none_1f99e0c7a0a37691.manifest
File versionNot Applicable
File size5,013
Date (UTC)18-Feb-2009
Time (UTC)06:09
PlatformNot Applicable

APPLIES TO
  • Windows Vista Starter
  • Windows Vista Ultimate
  • Windows Vista Home Premium
  • Windows Vista Home Basic
  • Windows Vista Enterprise
  • Windows Vista Business
  • Windows Vista Business 64-bit Edition
  • Windows Vista Ultimate 64-bit Edition
  • Windows Vista Home Premium 64-bit Edition
  • Windows Vista Home Basic 64-bit Edition
  • Windows Vista Enterprise 64-bit Edition
  • Windows Vista Service Pack 1
  • Windows Server 2008 Standard
  • Windows Server 2008 Enterprise
  • Windows Server 2008 Datacenter
  • Windows Server 2008 Datacenter without Hyper-V
  • Windows Server 2008 Enterprise without Hyper-V
  • Windows Server 2008 for Itanium-Based Systems
  • Windows Server 2008 Standard without Hyper-V
  • Windows Web Server 2008
Keywords: 
kbautohotfix kbexpertiseinter kbsurveynew kbbug kbfix kbqfe KB959662
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate