Changeset 75969 in vbox for trunk/include
- Timestamp:
- Dec 5, 2018 12:08:09 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/hgcmsvc.h
r75853 r75969 73 73 * 6.4->6.5 Bacause pfnGetVMMDevSessionId was added pfnLoadState got the version 74 74 * parameter (VBox 6.0). 75 * 6.5->7.1 Because pfnNotify was added. 75 76 */ 76 #define VBOX_HGCM_SVC_VERSION_MAJOR (0x000 6)77 #define VBOX_HGCM_SVC_VERSION_MINOR (0x000 4)77 #define VBOX_HGCM_SVC_VERSION_MAJOR (0x0007) 78 #define VBOX_HGCM_SVC_VERSION_MINOR (0x0001) 78 79 #define VBOX_HGCM_SVC_VERSION ((VBOX_HGCM_SVC_VERSION_MAJOR << 16) + VBOX_HGCM_SVC_VERSION_MINOR) 79 80 … … 448 449 typedef FNHGCMSVCEXT *PFNHGCMSVCEXT; 449 450 451 /** 452 * Notification event. 453 */ 454 typedef enum HGCMNOTIFYEVENT 455 { 456 HGCMNOTIFYEVENT_INVALID = 0, 457 HGCMNOTIFYEVENT_POWER_ON, 458 HGCMNOTIFYEVENT_RESUME, 459 HGCMNOTIFYEVENT_SUSPEND, 460 HGCMNOTIFYEVENT_RESET, 461 HGCMNOTIFYEVENT_POWER_OFF, 462 HGCMNOTIFYEVENT_END, 463 HGCMNOTIFYEVENT_32BIT_HACK = 0x7fffffff 464 } HGCMNOTIFYEVENT; 465 466 450 467 /** The Service DLL entry points. 451 468 * … … 453 470 * function and the DLL must fill in the VBOXHGCMSVCFNTABLE 454 471 * with function pointers. 472 * 473 * @note The structure is used in separately compiled binaries so an explicit 474 * packing is required. 455 475 */ 456 457 /* The structure is used in separately compiled binaries so an explicit packing is required. */458 476 typedef struct VBOXHGCMSVCFNTABLE 459 477 { … … 509 527 /** Register a service extension callback. */ 510 528 DECLR3CALLBACKMEMBER(int, pfnRegisterExtension, (void *pvService, PFNHGCMSVCEXT pfnExtension, void *pvExtension)); 529 530 /** Notification (VM state). */ 531 DECLR3CALLBACKMEMBER(void, pfnNotify, (void *pvService, HGCMNOTIFYEVENT enmEvent)); 511 532 512 533 /** User/instance data pointer for the service. */
Note:
See TracChangeset
for help on using the changeset viewer.