VirtualBox

Changeset 71131 in vbox for trunk/include/iprt


Ignore:
Timestamp:
Feb 26, 2018 7:27:32 PM (7 years ago)
Author:
vboxsync
Message:

VMM/NEM/win: Code for discovering VID I/O control functions (for logging and issue them in ring-0). bugref:9044 [build fix]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/nt/vid.h

    r71129 r71131  
    9494} VID_PROCESSOR_STATUS;
    9595AssertCompileSize(VID_PROCESSOR_STATUS, 4);
     96
     97
     98/** I/O control input for VidMessageSlotHandleAndGetNext. */
     99typedef struct VID_IOCTL_INPUT_MESSAGE_SLOT_HANDLE_AND_GET_NEXT
     100{
     101    HV_VP_INDEX         iCpu;
     102    uint32_t            fFlags;         /**< VID_MSHAGN_F_GET_XXX*/
     103    uint32_t            cMillies;
     104} VID_IOCTL_INPUT_MESSAGE_SLOT_HANDLE_AND_GET_NEXT;
     105/** Pointer to input for VidMessageSlotHandleAndGetNext. */
     106typedef VID_IOCTL_INPUT_MESSAGE_SLOT_HANDLE_AND_GET_NEXT *PVID_IOCTL_INPUT_MESSAGE_SLOT_HANDLE_AND_GET_NEXT;
     107/** Pointer to const input for VidMessageSlotHandleAndGetNext. */
     108typedef VID_IOCTL_INPUT_MESSAGE_SLOT_HANDLE_AND_GET_NEXT const *PCVID_IOCTL_INPUT_MESSAGE_SLOT_HANDLE_AND_GET_NEXT;
    96109
    97110
     
    196209                                                            VID_PROCESSOR_STATUS *penmStatus);
    197210
     211
     212DECLIMPORT(BOOL) VIDAPI VidGetVirtualProcessorState(VID_PARTITION_HANDLE hPartition, HV_VP_INDEX iCpu,
     213                                                    HV_REGISTER_NAME const *paRegNames, uint32_t cRegisters,
     214                                                    HV_REGISTER_VALUE *paRegValues);
     215
     216DECLIMPORT(BOOL) VIDAPI VidSetVirtualProcessorState(VID_PARTITION_HANDLE hPartition, HV_VP_INDEX iCpu,
     217                                                    HV_REGISTER_NAME const *paRegNames, uint32_t cRegisters,
     218                                                    HV_REGISTER_VALUE const *paRegValues);
     219
    198220RT_C_DECLS_END
    199221
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