Changeset 44046 in vbox for trunk/src/VBox/Additions/common
- Timestamp:
- Dec 6, 2012 8:20:58 AM (12 years ago)
- Location:
- trunk/src/VBox/Additions/common/VBoxService
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceControlThread.cpp
r43981 r44046 912 912 * Must be freed later with VBoxServiceControlThreadRequestFree(). 913 913 * @param enmType Request type. 914 * @param p bData Payload data, based on request type.914 * @param pvData Payload data, based on request type. 915 915 * @param cbData Size of payload data (in bytes). 916 916 * @param uCID Context ID to which this request belongs to. … … 918 918 int VBoxServiceControlThreadRequestAllocEx(PVBOXSERVICECTRLREQUEST *ppReq, 919 919 VBOXSERVICECTRLREQUESTTYPE enmType, 920 void * pbData,920 void *pvData, 921 921 size_t cbData, 922 922 uint32_t uCID) … … 924 924 AssertPtrReturn(ppReq, VERR_INVALID_POINTER); 925 925 926 PVBOXSERVICECTRLREQUEST pReq = (PVBOXSERVICECTRLREQUEST) 927 RTMemAlloc(sizeof(VBOXSERVICECTRLREQUEST)); 926 PVBOXSERVICECTRLREQUEST pReq = (PVBOXSERVICECTRLREQUEST)RTMemAlloc(sizeof(VBOXSERVICECTRLREQUEST)); 928 927 AssertPtrReturn(pReq, VERR_NO_MEMORY); 929 928 … … 932 931 pReq->uCID = uCID; 933 932 pReq->cbData = cbData; 934 pReq->pvData = (uint8_t*)pbData;933 pReq->pvData = pvData; 935 934 936 935 /* Set request result to some defined state in case -
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceInternal.h
r42846 r44046 427 427 extern int VBoxServiceControlThreadRequestAllocEx(PVBOXSERVICECTRLREQUEST *ppReq, 428 428 VBOXSERVICECTRLREQUESTTYPE enmType, 429 void * pbData,429 void *pvData, 430 430 size_t cbData, 431 431 uint32_t uCID);
Note:
See TracChangeset
for help on using the changeset viewer.