Changeset 83820 in vbox
- Timestamp:
- Apr 19, 2020 1:08:36 AM (5 years ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/Makefile.kmk
r83804 r83820 1309 1309 DLLS += VBoxProxyStub 1310 1310 VBoxProxyStub_TEMPLATE = VBOXMAINCOMP 1311 VBoxProxyStub_DEFS = REGISTER_PROXY_DLL PROXY_CLSID_IS="$(VBOX_MIDL_PROXY_CLSID_IS)" \ 1312 $(if $(VBOX_WITH_SDS),VBOX_WITH_SDS,)\ 1313 $(if $(VBOX_WITH_SDS_CLIENT_WATCHER),VBOX_WITH_SDS_CLIENT_WATCHER,) 1311 ifdef VBOX_WITH_AUTOMATIC_DEFS_QUOTING 1312 VBoxProxyStub_DEFS := REGISTER_PROXY_DLL PROXY_CLSID_IS=$(quote $(VBOX_MIDL_PROXY_CLSID_IS)) 1313 else 1314 VBoxProxyStub_DEFS := REGISTER_PROXY_DLL PROXY_CLSID_IS="$(VBOX_MIDL_PROXY_CLSID_IS)" 1315 endif 1316 ifdef VBOX_WITH_SDS 1317 VBoxProxyStub_DEFS += VBOX_WITH_SDS 1318 endif 1319 ifdef VBOX_WITH_SDS_CLIENT_WATCHER 1320 VBoxProxyStub_DEFS += VBOX_WITH_SDS_CLIENT_WATCHER,) 1321 endif 1314 1322 VBoxProxyStub_DEFS.win.x86 = WIN32 1315 1323 VBoxProxyStub_SDKS = VBOX_NTDLL -
trunk/src/VBox/Main/cbinding/tstCAPIGlue.c
r82968 r83820 137 137 if (FAILED(rc)) 138 138 { 139 printf("cannot get event type, rc=%# x\n", rc);139 printf("cannot get event type, rc=%#lx\n", rc); 140 140 return S_OK; 141 141 } … … 162 162 if (FAILED(rc)) 163 163 { 164 printf("cannot get StateChangedEvent interface, rc=%# x\n", rc);164 printf("cannot get StateChangedEvent interface, rc=%#lx\n", rc); 165 165 return S_OK; 166 166 } … … 172 172 rc = IStateChangedEvent_get_State(ev, &state); 173 173 if (FAILED(rc)) 174 printf("warning: cannot get state, rc=%# x\n", rc);174 printf("warning: cannot get state, rc=%#lx\n", rc); 175 175 IStateChangedEvent_Release(ev); 176 176 printf("OnStateChanged: %s\n", GetStateName(state)); … … 621 621 if (FAILED(rc)) 622 622 { 623 printf("Failed getting event: %# x\n", rc);623 printf("Failed getting event: %#lx\n", rc); 624 624 g_fStop = 1; 625 625 continue; … … 631 631 if (FAILED(rc)) 632 632 { 633 printf("Failed processing event: %# x\n", rc);633 printf("Failed processing event: %#lx\n", rc); 634 634 g_fStop = 1; 635 635 /* finish processing the event */ … … 638 638 if (FAILED(rc)) 639 639 { 640 printf("Failed to mark event as processed: %# x\n", rc);640 printf("Failed to mark event as processed: %#lx\n", rc); 641 641 g_fStop = 1; 642 642 /* continue with event release */ … … 771 771 char *group; 772 772 g_pVBoxFuncs->pfnUtf16ToUtf8(groups[i], &group); 773 printf("Groups[% d]: %s\n", i, group);773 printf("Groups[%lu]: %s\n", i, group); 774 774 g_pVBoxFuncs->pfnUtf8Free(group); 775 775 } … … 933 933 934 934 IMachine_get_MemorySize(machine, &memorySize); 935 printf("\tMemory size: % uMB\n", memorySize);935 printf("\tMemory size: %luMB\n", memorySize); 936 936 } 937 937 … … 1061 1061 rc = IVirtualBox_get_Revision(vbox, &revision); 1062 1062 if (SUCCEEDED(rc)) 1063 printf("\tRevision: % u\n", revision);1063 printf("\tRevision: %lu\n", revision); 1064 1064 else 1065 1065 PrintErrorInfo(argv[0], "GetRevision() failed", rc); -
trunk/src/VBox/Main/src-all/win/VBoxProxyStub.c
r82968 r83820 2113 2113 */ 2114 2114 HKEY hkeyTypeLibs; 2115 L RESULTrc;2115 LSTATUS rc; 2116 2116 rc = RegOpenKeyExW(pState->aAltDeletes[iAlt].hkeyClasses, L"TypeLib", 0 /*fOptions*/, pState->fSamDelete, &hkeyTypeLibs); 2117 2117 if (rc == ERROR_SUCCESS) … … 2124 2124 { 2125 2125 HKEY hkeyTypeLibId; 2126 LONGrc = RegOpenKeyExW(hkeyTypeLibs, g_apwszTypeLibIds[iTlb], 0 /*fOptions*/, pState->fSamDelete, &hkeyTypeLibId);2126 rc = RegOpenKeyExW(hkeyTypeLibs, g_apwszTypeLibIds[iTlb], 0 /*fOptions*/, pState->fSamDelete, &hkeyTypeLibId); 2127 2127 if (rc == ERROR_SUCCESS) 2128 2128 { -
trunk/src/VBox/Main/src-helper-apps/VBoxExtPackHelperApp.cpp
r82968 r83820 1344 1344 break; 1345 1345 } 1346 MSG Msg;1347 1346 while (PeekMessageW(&Msg, NULL, 0, 0, PM_REMOVE)) 1348 1347 { -
trunk/src/VBox/Main/testcase/msiDarwinDescriptorDecoder.cpp
r82968 r83820 54 54 " -> FeatureId=%ls\n" 55 55 " -> ComponentCode=%ls\n" 56 " -> offArguments=%# x (%d)\n"56 " -> offArguments=%#lx (%ld)\n" 57 57 , iArg, papwszArgs[iArg], wszProductCode, wszFeatureId, wszComponentCode, offArguments, offArguments); 58 58 } … … 61 61 fprintf(stderr, 62 62 "#%u: '%ls'\n" 63 " -> error % u (%#x)\n"63 " -> error %lu (%#lx)\n" 64 64 , iArg, papwszArgs[iArg], dwErr, dwErr); 65 65 rcExit = 1; -
trunk/src/VBox/Main/testcase/tstVBoxAPIWin.cpp
r82968 r83820 117 117 118 118 if (FAILED(rc)) 119 printf("Error getting error info! rc = 0x%x\n", rc);119 printf("Error getting error info! rc=%#lx\n", rc); 120 120 else 121 121 { … … 125 125 126 126 if (FAILED(rc) || !errorDescription) 127 printf("Error getting error description! rc = 0x%x\n", rc);127 printf("Error getting error description! rc=%#lx\n", rc); 128 128 else 129 129 { … … 161 161 162 162 if (FAILED(rc)) 163 printf("Error getting error info! rc = 0x%x\n", rc);163 printf("Error getting error info! rc=%#lx\n", rc); 164 164 else 165 165 { … … 169 169 170 170 if (FAILED(rc) || !errorDescription) 171 printf("Error getting error description! rc = 0x%x\n", rc);171 printf("Error getting error description! rc=%#lx\n", rc); 172 172 else 173 173 { … … 193 193 if (!SUCCEEDED(rc)) 194 194 { 195 printf("Error retrieving machine ID! rc = 0x%x\n", rc);195 printf("Error retrieving machine ID! rc=%#lx\n", rc); 196 196 break; 197 197 } … … 205 205 if (!SUCCEEDED(rc)) 206 206 { 207 printf("Error creating Session instance! rc = 0x%x\n", rc);207 printf("Error creating Session instance! rc=%#lx\n", rc); 208 208 break; 209 209 } … … 214 214 if (!SUCCEEDED(rc)) 215 215 { 216 printf("Could not open remote session! rc = 0x%x\n", rc);216 printf("Could not open remote session! rc=%#lx\n", rc); 217 217 break; 218 218 } … … 287 287 } 288 288 else 289 printf("Error creating VirtualBox instance! rc = 0x%x\n", rc);289 printf("Error creating VirtualBox instance! rc=%#lx\n", rc); 290 290 } 291 291
Note:
See TracChangeset
for help on using the changeset viewer.