- Timestamp:
- Jul 11, 2008 2:31:50 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedFolders/service.cpp
r9816 r10529 92 92 NOREF(pvClient); 93 93 94 Log (("svcConnect:u32ClientID = %d\n", u32ClientID));94 LogRel(("SharedFolders host service: connected, u32ClientID = %d\n", u32ClientID)); 95 95 96 96 return rc; … … 102 102 SHFLCLIENTDATA *pClient = (SHFLCLIENTDATA *)pvClient; 103 103 104 Log (("svcDisconnect:u32ClientID = %d\n", u32ClientID));104 LogRel(("SharedFolders host service: disconnected, u32ClientID = %d\n", u32ClientID)); 105 105 106 106 vbsfDisconnect(pClient); … … 118 118 SHFLCLIENTDATA *pClient = (SHFLCLIENTDATA *)pvClient; 119 119 120 Log (("svcSaveState:u32ClientID = %d\n", u32ClientID));120 LogRel(("SharedFolders host service: saving state, u32ClientID = %d\n", u32ClientID)); 121 121 122 122 int rc = SSMR3PutU32(pSSM, SHFL_SSM_VERSION); … … 177 177 uint32_t len, version; 178 178 179 Log (("svcLoadState:u32ClientID = %d\n", u32ClientID));179 LogRel(("SharedFolders host service: loading state, u32ClientID = %d\n", u32ClientID)); 180 180 181 181 int rc = SSMR3GetU32(pSSM, &version); … … 274 274 } 275 275 } 276 LogRel(("SharedFolders host service: success\n")); 276 277 return VINF_SUCCESS; 277 278 } … … 812 813 { 813 814 Log(("svcCall: SHFL_FN_MAP_FOLDER\n")); 815 if (BIT_FLAG(pClient->fu32Flags, SHFL_CF_UTF8)) 816 LogRel(("SharedFolders host service: request to map folder %S\n", 817 ((PSHFLSTRING)paParms[0].u.pointer.addr)->String.utf8)); 818 else 819 LogRel(("SharedFolders host service: request to map folder %lS\n", 820 ((PSHFLSTRING)paParms[0].u.pointer.addr)->String.ucs2)); 814 821 815 822 /* Verify parameter count and types. */ … … 843 850 } 844 851 } 852 LogRel(("SharedFolders host service: map operation result %Rrc.\n", rc)); 853 if (RT_SUCCESS(rc)) 854 LogRel((" Mapped to handle %d.\n", paParms[1].u.uint32)); 845 855 break; 846 856 } … … 849 859 { 850 860 Log(("svcCall: SHFL_FN_UNMAP_FOLDER\n")); 861 LogRel(("SharedFolders host service: request to unmap folder handle %d\n", 862 paParms[0].u.uint32)); 851 863 852 864 /* Verify parameter count and types. */ … … 874 886 } 875 887 } 888 LogRel(("SharedFolders host service: unmap operation result %Rrc.\n", rc)); 876 889 break; 877 890 } … … 1118 1131 { 1119 1132 Log(("svcCall: SHFL_FN_ADD_MAPPING\n")); 1133 LogRel(("SharedFolders host service: adding host mapping.\n")); 1134 LogRel((" Host path %lS, map name %lS, writable %d\n", 1135 ((SHFLSTRING *)paParms[0].u.pointer.addr)->String.ucs2, 1136 ((SHFLSTRING *)paParms[1].u.pointer.addr)->String.ucs2, 1137 paParms[2].u.uint32)); 1120 1138 1121 1139 /* Verify parameter count and types. */ … … 1161 1179 } 1162 1180 } 1181 LogRel(("SharedFolders host service: add mapping result %Rrc\n", rc)); 1163 1182 break; 1164 1183 } … … 1167 1186 { 1168 1187 Log(("svcCall: SHFL_FN_REMOVE_MAPPING\n")); 1188 LogRel(("SharedFolders host service: removing host mapping %lS\n", 1189 ((SHFLSTRING *)paParms[0].u.pointer.addr)->String.ucs2)); 1169 1190 1170 1191 /* Verify parameter count and types. */ … … 1203 1224 } 1204 1225 } 1226 LogRel(("SharedFolders host service: remove mapping result %Rrc\n", rc)); 1205 1227 break; 1206 1228 }
Note:
See TracChangeset
for help on using the changeset viewer.