VirtualBox

Ignore:
Timestamp:
Jan 25, 2010 3:00:49 PM (15 years ago)
Author:
vboxsync
Message:

wddm: DxgkDdiQueryChildStatus impl

File:
1 edited

Legend:

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

    r26005 r26009  
    266266    )
    267267{
     268    /* The DxgkDdiQueryChildRelations function should be made pageable. */
     269    PAGED_CODE();
     270
    268271    dfprintf(("==> "__FUNCTION__ ", context(0x%x)\n", MiniportDeviceContext));
    269272    for(ULONG i = 0; i < ChildRelationsSize; i++)
     
    287290    )
    288291{
    289     return STATUS_NOT_IMPLEMENTED;
     292    /* The DxgkDdiQueryChildStatus should be made pageable. */
     293    PAGED_CODE();
     294
     295    dfprintf(("==> "__FUNCTION__ ", context(0x%x)\n", MiniportDeviceContext));
     296
     297    NTSTATUS Status = STATUS_SUCCESS;
     298    switch(ChildStatus->Type)
     299    {
     300        case StatusConnection:
     301            ChildStatus->HotPlug.Connected = TRUE;
     302            dfprintf(("VBoxVideoWddm: StatusConnection\n"));
     303            break;
     304        case StatusRotation:
     305            ChildStatus->Rotation.Angle = 0;
     306            dfprintf(("VBoxVideoWddm: StatusRotation\n"));
     307            break;
     308        default:
     309            drprintf(("VBoxVideoWddm: ERROR: status type: %d\n", ChildStatus->Type));
     310            Status = STATUS_INVALID_PARAMETER;
     311            break;
     312    }
     313
     314    dfprintf(("<== "__FUNCTION__ ", context(0x%x)\n", MiniportDeviceContext));
     315
     316    return Status;
    290317}
    291318
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