Changeset 75737 in vbox for trunk/src/VBox/HostServices/GuestControl/testcase
- Timestamp:
- Nov 26, 2018 3:44:41 PM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 126937
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/GuestControl/testcase/tstGuestControlSvc.cpp
r75500 r75737 152 152 153 153 VBOXHGCMSVCPARM aParms[1]; 154 aParms[0].setUInt32(1000 /* Context ID */);154 HGCMSvcSetU32(&aParms[0], 1000 /* Context ID */); 155 155 156 156 CMDHOST aCmdHostAll[] = … … 208 208 /* No commands from host yet. */ 209 209 VBOXHGCMSVCPARM aParmsGuest[8]; 210 aParmsGuest[0].setUInt32(0 /* Msg type */);211 aParmsGuest[1].setUInt32(0 /* Parameters */);210 HGCMSvcSetU32(&aParmsGuest[0], 0 /* Msg type */); 211 HGCMSvcSetU32(&aParmsGuest[1], 0 /* Parameters */); 212 212 pTable->pfnCall(pTable->pvService, &callHandle, 1 /* Client ID */, NULL /* pvClient */, 213 213 GUEST_MSG_WAIT, 2, &aParmsGuest[0], 0); … … 216 216 /* Host: Add a dummy command. */ 217 217 VBOXHGCMSVCPARM aParmsHost[8]; 218 aParmsHost[0].setUInt32(1000 /* Context ID */);219 aParmsHost[1].setString("foo.bar");220 aParmsHost[2].setString("baz");218 HGCMSvcSetU32(&aParmsHost[0], 1000 /* Context ID */); 219 HGCMSvcSetStr(&aParmsHost[1], "foo.bar"); 220 HGCMSvcSetStr(&aParmsHost[2], "baz"); 221 221 222 222 rc = pTable->pfnHostCall(pTable->pvService, HOST_EXEC_CMD, 3, &aParmsHost[0]);
Note:
See TracChangeset
for help on using the changeset viewer.