Changeset 32636 in vbox for trunk/src/VBox/Additions/common/VBoxService
- Timestamp:
- Sep 20, 2010 12:12:33 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxService/testcase/tstUserInfo.cpp
r32634 r32636 62 62 } 63 63 else 64 RTPrintf("SHGetFolderPathW (CSIDL_PERSONAL) returned error: 0x%x ", hRes);64 RTPrintf("SHGetFolderPathW (CSIDL_PERSONAL) returned error: 0x%x\n", hRes); 65 65 } 66 66 else 67 RTPrintf("SHGetFolderPathW (CSIDL_APPDATA) returned error: 0x%x ", hRes);67 RTPrintf("SHGetFolderPathW (CSIDL_APPDATA) returned error: 0x%x\n", hRes); 68 68 69 69 if (FAILED(hRes)) 70 70 rc = RTErrConvertFromWin32(hRes); 71 71 72 if (RT_SUCCESS(rc)) 73 { 74 /* Dump env bits. */ 75 RTPrintf("Environment:\n\n"); 76 RTPrintf("APPDATA = %s\n", getenv("APPDATA")); 77 } 72 /* Dump env bits. */ 73 RTPrintf("Environment:\n\n"); 74 RTPrintf("APPDATA = %s\n", getenv("APPDATA")); 78 75 #endif 79 return VINF_SUCCESS(rc) ? 0 : -1;76 return VINF_SUCCESS(rc) ? 0 : 1; 80 77 } 81 78
Note:
See TracChangeset
for help on using the changeset viewer.