Changeset 22503 in vbox for trunk/src/VBox/Main/ConsoleImpl2.cpp
- Timestamp:
- Aug 27, 2009 10:13:42 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ConsoleImpl2.cpp
r22480 r22503 1888 1888 parms[1].u.pointer.addr = (void *)VBoxSVNRevString(); 1889 1889 parms[1].u.pointer.size = strlen(VBoxSVNRevString()) + 1; 1890 parms[2].type = VBOX_HGCM_SVC_PARM_PTR; 1891 parms[2].u.pointer.addr = (void *)"TRANSIENT, RDONLYGUEST"; 1892 parms[2].u.pointer.size = sizeof("TRANSIENT, RDONLYGUEST"); 1893 pConsole->mVMMDev->hgcmHostCall ("VBoxGuestPropSvc", guestProp::SET_PROP_HOST, 3, &parms[0]); 1894 1895 /* Initialize the remote execution properties for ready-on access by the guest */ 1896 Utf8Str utf8ValEmpty = ""; 1897 parms[0].type = VBOX_HGCM_SVC_PARM_PTR; 1898 parms[0].u.pointer.addr = (void *)"/VirtualBox/HostGuest/SysprepArgs"; 1899 parms[0].u.pointer.size = sizeof("/VirtualBox/HostGuest/SysprepArgs"); 1900 parms[1].type = VBOX_HGCM_SVC_PARM_PTR; 1901 parms[1].u.pointer.addr = (void*)utf8ValEmpty.c_str(); 1902 parms[1].u.pointer.size = (uint32_t)utf8ValEmpty.length() + 1; 1890 1903 parms[2].type = VBOX_HGCM_SVC_PARM_PTR; 1891 1904 parms[2].u.pointer.addr = (void *)"TRANSIENT, RDONLYGUEST";
Note:
See TracChangeset
for help on using the changeset viewer.