VirtualBox

Changeset 77342 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Feb 18, 2019 9:08:59 AM (6 years ago)
Author:
vboxsync
Message:

Additions/WDDM: Return TRUE in VBoxVidPnIsSupported() if hVidPn is NULL; the display adapter can always be configured to display nothing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPVidPn.cpp

    r76553 r77342  
    16891689NTSTATUS VBoxVidPnIsSupported(PVBOXMP_DEVEXT pDevExt, D3DKMDT_HVIDPN hVidPn, BOOLEAN *pfSupported)
    16901690{
     1691    /* According Microsoft Docs we must return pfSupported = TRUE here if hVidPn is NULL, as
     1692     * the display adapter can always be configured to display nothing. */
     1693    if (hVidPn == NULL)
     1694    {
     1695        *pfSupported = TRUE;
     1696        return STATUS_SUCCESS;
     1697    }
     1698
    16911699    *pfSupported = FALSE;
    16921700
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette