VirtualBox

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


Ignore:
Timestamp:
Jan 25, 2010 2:38:45 PM (15 years ago)
Author:
vboxsync
Message:

wddm: DxgkDdiQueryChildRelations impl

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Miniport/wddm/VBoxVideoWddm.cpp

    r26000 r26005  
    266266    )
    267267{
    268     return STATUS_NOT_IMPLEMENTED;
     268    dfprintf(("==> "__FUNCTION__ ", context(0x%x)\n", MiniportDeviceContext));
     269    for(ULONG i = 0; i < ChildRelationsSize; i++)
     270    {
     271        ChildRelations[i].ChildDeviceType = TypeVideoOutput;
     272        ChildRelations[i].ChildCapabilities.Type.VideoOutput.InterfaceTechnology = D3DKMDT_VOT_OTHER;
     273        ChildRelations[i].ChildCapabilities.Type.VideoOutput.MonitorOrientationAwareness = D3DKMDT_MOA_NONE;
     274        ChildRelations[i].ChildCapabilities.Type.VideoOutput.SupportsSdtvModes = FALSE;
     275        ChildRelations[i].ChildCapabilities.HpdAwareness = HpdAwarenessAlwaysConnected;
     276        ChildRelations[i].AcpiUid =  i+1; /* @todo: do we need it? could it be zero ? */
     277        ChildRelations[i].ChildUid = i+1; /* could it be zero ? */
     278    }
     279    dfprintf(("<== "__FUNCTION__ ", context(0x%x)\n", MiniportDeviceContext));
     280    return STATUS_SUCCESS;
    269281}
    270282
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