VirtualBox

Changeset 80396 in vbox for trunk/include/VBox/HostServices


Ignore:
Timestamp:
Aug 23, 2019 1:27:22 PM (5 years ago)
Author:
vboxsync
Message:

Devices/DevVGA, Main: Get rid of obsolete code enclosed by VBOX_WITH_CRHGSMI, bugref:9529

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/HostServices/VBoxCrOpenGLSvc.h

    r76585 r80396  
    4242#define SHCRGL_HOST_FN_SET_VM (7)
    4343#define SHCRGL_HOST_FN_SCREEN_CHANGED (8)
    44 #ifdef VBOX_WITH_CRHGSMI
    45 #define SHCRGL_HOST_FN_CRHGSMI_CMD (10)
    46 #define SHCRGL_HOST_FN_CRHGSMI_CTL (11)
    47 #endif
    4844#define SHCRGL_HOST_FN_VIEWPORT_CHANGED (15)
    4945#define SHCRGL_HOST_FN_SET_OUTPUT_REDIRECT (20)
     
    124120/* @todo Move to H3DOR.h end */
    125121
    126 #ifdef VBOX_WITH_CRHGSMI
    127 #pragma pack(1)
    128 typedef struct
    129 {
    130     int32_t result;           /**< OUT Host HGSMI return code.*/
    131     uint32_t u32ClientID;     /**< IN  The id of the caller. */
    132     uint32_t u32Function;     /**< IN  Function number. */
    133     uint32_t u32Reserved;
    134 } CRVBOXHGSMIHDR;
    135 AssertCompileSize(CRVBOXHGSMIHDR, 16);
    136 
    137 /** GUEST_FN_WRITE Parameters structure. */
    138 typedef struct
    139 {
    140     CRVBOXHGSMIHDR hdr;
    141     /** buffer index, in
    142      *  Data buffer
    143      */
    144     uint32_t iBuffer;
    145 } CRVBOXHGSMIWRITE;
    146 
    147 /** GUEST_FN_READ Parameters structure. */
    148 typedef struct
    149 {
    150     CRVBOXHGSMIHDR hdr;
    151 
    152     /** buffer index, in/out
    153      *  Data buffer
    154      */
    155     uint32_t iBuffer;
    156     uint32_t cbBuffer;
    157 } CRVBOXHGSMIREAD;
    158 
    159 /** GUEST_FN_WRITE_READ Parameters structure. */
    160 typedef struct
    161 {
    162     CRVBOXHGSMIHDR hdr;
    163 
    164     /** buffer index, in
    165      *  Data buffer
    166      */
    167     uint32_t iBuffer;
    168 
    169     /** buffer index, out
    170      *  Writeback buffer
    171      */
    172     uint32_t iWriteback;
    173     uint32_t cbWriteback;
    174 } CRVBOXHGSMIWRITEREAD;
    175 
    176 /** GUEST_FN_SET_VERSION Parameters structure. */
    177 typedef struct
    178 {
    179     CRVBOXHGSMIHDR hdr;
    180 
    181     /** 32bit, in
    182      *  Major version
    183      */
    184     uint32_t vMajor;
    185 
    186     /** 32bit, in
    187      *  Minor version
    188      */
    189     uint32_t vMinor;
    190 } CRVBOXHGSMISETVERSION;
    191 
    192 /** GUEST_FN_INJECT Parameters structure. */
    193 typedef struct
    194 {
    195     CRVBOXHGSMIHDR hdr;
    196 
    197     /** 32bit, in
    198      *  ClientID to inject commands buffer for
    199      */
    200     uint32_t u32ClientID;
    201     /** buffer index, in
    202      *  Data buffer
    203      */
    204     uint32_t iBuffer;
    205 } CRVBOXHGSMIINJECT;
    206 
    207 /** GUEST_FN_SET_PID Parameters structure. */
    208 typedef struct
    209 {
    210     CRVBOXHGSMIHDR hdr;
    211 
    212     /** 64bit, in
    213      *  PID
    214      */
    215     uint64_t   u64PID;
    216 } CRVBOXHGSMISETPID;
    217 
    218 #pragma pack()
    219 #endif
    220122/**
    221123 * SHCRGL_GUEST_FN_WRITE
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