VirtualBox

Changeset 29742 in vbox for trunk/include/VBox/HGSMI


Ignore:
Timestamp:
May 21, 2010 3:58:56 PM (15 years ago)
Author:
vboxsync
Message:

wddm/2D: more impl (get caps + initialization working)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/HGSMI/HGSMI.h

    r28800 r29742  
    241241}
    242242
     243DECLINLINE(uint8_t *) HGSMIBufferDataAndChInfoFromOffset (const HGSMIAREA *pArea, HGSMIOFFSET offBuffer, uint16_t * pChInfo)
     244{
     245    HGSMIBUFFERHEADER *pHeader = HGSMIOffsetToPointer (pArea, offBuffer);
     246    Assert(pHeader);
     247    if(pHeader)
     248    {
     249        *pChInfo = pHeader->u16ChannelInfo;
     250        return HGSMIBufferData(pHeader);
     251    }
     252    return NULL;
     253}
     254
    243255HGSMICHANNEL *HGSMIChannelFindById (HGSMICHANNELINFO * pChannelInfo, uint8_t u8Channel);
    244256
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