Changeset 15704 in vbox for trunk/include
- Timestamp:
- Dec 19, 2008 4:44:54 PM (16 years ago)
- Location:
- trunk/include/VBox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/VBoxGuest.h
r15699 r15704 916 916 #pragma pack() 917 917 918 #define VMMDEV_HGCM_CALL_PARMS(a) ((HGCMFunctionParameter *)((uint8_t *)a + sizeof (VMMDevHGCMCall))) 918 #define VMMDEV_HGCM_CALL_PARMS(a) ((HGCMFunctionParameter *)((uint8_t *)a + sizeof (VMMDevHGCMCall))) 919 #define VMMDEV_HGCM_CALL_PARMS32(a) ((HGCMFunctionParameter32 *)((uint8_t *)a + sizeof (VMMDevHGCMCall))) 919 920 920 921 #ifdef VBOX_WITH_64_BITS_GUESTS … … 1404 1405 1405 1406 # define VBOXGUEST_HGCM_CALL_PARMS(a) ((HGCMFunctionParameter *)((uint8_t *)(a) + sizeof (VBoxGuestHGCMCallInfo))) 1407 # define VBOXGUEST_HGCM_CALL_PARMS32(a) ((HGCMFunctionParameter32 *)((uint8_t *)(a) + sizeof (VBoxGuestHGCMCallInfo))) 1406 1408 1407 1409 #endif /* VBOX_WITH_HGCM */ -
trunk/include/VBox/VBoxGuestLib.h
r14352 r15704 200 200 DECLVBGL(int) VbglHGCMCall (VBoxGuestHGCMCallInfo *pCallInfo, 201 201 VBGLHGCMCALLBACK *pAsyncCallback, void *pvAsyncData, uint32_t u32AsyncData); 202 203 /** Call a HGCM service. (32 bits packet structure in a 64 bits guest) 204 * 205 * @note This function can deal with cancelled requests. 206 * 207 * @param pCallInfo The request data. 208 * @param pAsyncCallback Required pointer to function that is called when 209 * host returns VINF_HGCM_ASYNC_EXECUTE. VBoxGuest 210 * implements waiting for an IRQ in this function. 211 * @param pvAsyncData An arbitrary VBoxGuest pointer to be passed to callback. 212 * @param u32AsyncData An arbitrary VBoxGuest 32 bit value to be passed to callback. 213 * 214 * @return VBox status code. 215 */ 216 DECLVBGL(int) VbglHGCMCall32 (VBoxGuestHGCMCallInfo *pCallInfo, 217 VBGLHGCMCALLBACK *pAsyncCallback, void *pvAsyncData, uint32_t u32AsyncData); 202 218 203 219 #else /* !VBGL_VBOXGUEST */
Note:
See TracChangeset
for help on using the changeset viewer.