ACPI Keyboard Shortcut Logic

Beginning with Windows 7, IHVs implement ACPI-based OEM-specific keyboard shortcuts. The operating system is unaware of these keyboard shortcuts. On Windows 7, OEMs must use the CCD database to store and apply keyboard shortcuts so that the operating system and any OEM applications are aware of each other.

The behavior of calls to the following functions has changed for drivers running on Windows 7:

DxgkDdiNotifyAcpiEvent and DxgkDdiRecommendFunctionalVidPn

  • If the display miniport driver receives a call to the DxgkDdiNotifyAcpiEvent function with the DXGK_ACPI_CHANGE_DISPLAY_MODE flag set in the AcpiFlags parameter, DMM calls the DxgkDdiRecommendFunctionalVidPn function to obtain the new VidPN and to compare against the current client VidPN. If the topology of the two VidPNs is the same, DMM does not modify the new VidPN. Otherwise, DMM removes mode information from the VidPN, leaving just the topology, and allows the CCD database to determine the modes for the given topology. DMM then sets the display configuration based on the new VidPN.

D3DKMTInvalidateActiveVidPn

  • This function is supported on Windows Vista and later for display miniport drivers with version < DXGKDDI_INTERFACE_VERSION_WIN7. Function behavior is identical to the behavior on Windows Vista.

  • This function is not supported on Windows 7 and later for display miniport drivers with version >= DXGKDDI_INTERFACE_VERSION_WIN7. If called, the status code STATUS_NOT_SUPPORTED is returned.