Changeset 75773 in vbox for trunk/include
- Timestamp:
- Nov 27, 2018 2:14:41 PM (6 years ago)
- Location:
- trunk/include/VBox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/HostServices/Service.h
r75500 r75773 289 289 static DECLCALLBACK(int) svcConnect(void *pvService, 290 290 uint32_t u32ClientID, 291 void *pvClient) 292 { 291 void *pvClient, 292 uint32_t fRequestor, 293 bool fRestoring) 294 { 295 RT_NOREF(fRequestor, fRestoring); 293 296 AssertLogRelReturn(VALID_PTR(pvService), VERR_INVALID_PARAMETER); 294 297 LogFlowFunc(("pvService=%p, u32ClientID=%u, pvClient=%p\n", pvService, u32ClientID, pvClient)); -
trunk/include/VBox/hgcmsvc.h
r75771 r75773 70 70 * 6.1->6.2 Because pfnCallComplete starts returning a status code (VBox 6.0). 71 71 * 6.2->6.3 Because pfnGetRequestor was added (VBox 6.0). 72 * 6.3->6.4 Bacause pfnConnect got an additional parameter (VBox 6.0). 72 73 */ 73 74 #define VBOX_HGCM_SVC_VERSION_MAJOR (0x0006) 74 #define VBOX_HGCM_SVC_VERSION_MINOR (0x000 3)75 #define VBOX_HGCM_SVC_VERSION_MINOR (0x0004) 75 76 #define VBOX_HGCM_SVC_VERSION ((VBOX_HGCM_SVC_VERSION_MAJOR << 16) + VBOX_HGCM_SVC_VERSION_MINOR) 76 77 … … 455 456 456 457 /* The structure is used in separately compiled binaries so an explicit packing is required. */ 457 #pragma pack(1) /** @todo r=bird: The pragma pack(1) is not at all required!! */458 458 typedef struct VBOXHGCMSVCFNTABLE 459 459 { … … 484 484 485 485 /** Inform the service about a client connection. */ 486 DECLR3CALLBACKMEMBER(int, pfnConnect, (void *pvService, uint32_t u32ClientID, void *pvClient ));486 DECLR3CALLBACKMEMBER(int, pfnConnect, (void *pvService, uint32_t u32ClientID, void *pvClient, uint32_t fRequestor, bool fRestoring)); 487 487 488 488 /** Inform the service that the client wants to disconnect. */ … … 514 514 /** @} */ 515 515 } VBOXHGCMSVCFNTABLE; 516 #pragma pack()517 516 518 517
Note:
See TracChangeset
for help on using the changeset viewer.