Searched refs:bstr (Results 1 - 25 of 30) sorted by relevance

12

/vbox/src/VBox/Main/glue/xpcom/
H A Dhelpers.cpp114 * @param bstr source string to free
116 void SysFreeString(BSTR bstr) argument
118 if (bstr)
120 nsMemory::Free(bstr);
177 * @param bstr source string
179 unsigned int SysStringByteLen(BSTR bstr) argument
181 return RTUtf16Len(bstr) * sizeof(OLECHAR);
187 * @param bstr source string
189 unsigned int SysStringLen(BSTR bstr) argument
191 return RTUtf16Len(bstr);
[all...]
/vbox/src/VBox/Frontends/VBoxManage/
H A DVBoxManageInfo.cpp397 Bstr bstr; \
398 CHECK_ERROR2_RET(a_pObj, COMGETTER(a_Prop)(bstr.asOutParam()), hrcCheck); \
400 outputMachineReadableString(a_szMachine, &bstr); \
402 RTPrintf("%-16s %ls\n", a_szHuman ":", bstr.raw()); \
417 Bstr bstr(str); \
419 outputMachineReadableString(a_szMachine, &bstr); \
421 RTPrintf("%-16s %ls\n", a_szHuman ":", bstr.raw()); \
1942 Bstr bstr; local
1943 CHECK_ERROR_RET(DevPtr, COMGETTER(Name)(bstr.asOutParam()), rc);
1945 RTPrintf("USBFilterName%zu=\"%ls\"\n", index + 1, bstr
2046 Bstr bstr; local
2135 Bstr bstr; local
[all...]
H A DVBoxManageDebugVM.cpp453 com::Bstr bstr; local
454 CHECK_ERROR2_RET(pDebugger, COMGETTER(LogDbgFlags)(bstr.asOutParam()), RTEXITCODE_FAILURE);
455 handleDebugVM_Show_PrintVar("VBOX_LOG", &bstr, fFlags);
457 CHECK_ERROR2_RET(pDebugger, COMGETTER(LogDbgGroups)(bstr.asOutParam()), RTEXITCODE_FAILURE);
458 handleDebugVM_Show_PrintVar("VBOX_LOG_FLAGS", &bstr, fFlags);
460 CHECK_ERROR2_RET(pDebugger, COMGETTER(LogDbgDestinations)(bstr.asOutParam()), RTEXITCODE_FAILURE);
461 handleDebugVM_Show_PrintVar("VBOX_LOG_DEST", &bstr, fFlags);
477 com::Bstr bstr; local
478 CHECK_ERROR2_RET(pDebugger, COMGETTER(LogRelFlags)(bstr.asOutParam()), RTEXITCODE_FAILURE);
479 handleDebugVM_Show_PrintVar("VBOX_RELEASE_LOG", &bstr, fFlag
[all...]
H A DVBoxManageList.cpp444 Bstr bstr; local
445 CHECK_ERROR_RET(dev, COMGETTER(Manufacturer)(bstr.asOutParam()), 1);
446 if (!bstr.isEmpty())
447 RTPrintf("Manufacturer: %ls\n", bstr.raw());
448 CHECK_ERROR_RET(dev, COMGETTER(Product)(bstr.asOutParam()), 1);
449 if (!bstr.isEmpty())
450 RTPrintf("Product: %ls\n", bstr.raw());
451 CHECK_ERROR_RET(dev, COMGETTER(SerialNumber)(bstr.asOutParam()), 1);
452 if (!bstr.isEmpty())
453 RTPrintf("SerialNumber: %ls\n", bstr
545 Bstr bstr; local
[all...]
H A DVBoxManageModifyVM.cpp2296 Bstr bstr(ValueUnion.psz);
2297 CHECK_ERROR(vrdeServer, COMSETTER(VRDEExtPack)(bstr.raw()));
2412 Bstr bstr(ValueUnion.psz);
2413 CHECK_ERROR(vrdeServer, COMSETTER(AuthLibrary)(bstr.raw()));
2712 Bstr bstr; local
2713 /* empty string will fall through, leaving bstr empty */
2724 bstr = szVCFileAbs;
2726 CHECK_ERROR(sessionMachine, COMSETTER(VideoCaptureFile)(bstr.raw()));
2761 Bstr bstr(ValueUnion.psz);
2762 CHECK_ERROR(sessionMachine, COMSETTER(VideoCaptureOptions)(bstr
[all...]
/vbox/src/VBox/Frontends/VirtualBox/src/globals/
H A DCOMDefs.h355 BSTRIn(const QString &s) : bstr(SysAllocString((const OLECHAR *)
360 if (bstr)
361 SysFreeString(bstr);
364 operator BSTR() const { return bstr; }
368 BSTR bstr; member in class:COMBase::BSTRIn
376 BSTROut(QString &s) : str(s), bstr(0) {}
380 if (bstr) {
381 str = QString::fromUtf16(bstr);
382 SysFreeString(bstr);
386 operator BSTR *() { return &bstr; }
391 BSTR bstr; member in class:COMBase::BSTROut
[all...]
/vbox/src/VBox/Main/src-client/
H A DGuestImpl.cpp372 BSTR bstr; local
373 hrc = ptrMachine->COMGETTER(OSTypeId)(&bstr);
374 aOSTypeId = bstr;
409 Bstr bstr; local
410 hrc = ptrMachine->GetGuestPropertyValue(Bstr("/VirtualBox/GuestAdd/Version").raw(), bstr.asOutParam());
412 && !bstr.isEmpty())
414 Utf8Str str(bstr);
416 hrc = ptrMachine->GetGuestPropertyValue(Bstr("/VirtualBox/GuestAdd/Revision").raw(), bstr.asOutParam());
417 str = bstr;
423 aAdditionsVersion = bstr;
456 Bstr bstr; local
[all...]
H A DConsoleImpl2.cpp984 Bstr bstr; local
1003 hrc = pMachine->COMGETTER(HardwareUUID)(bstr.asOutParam()); H();
1005 rc = RTUuidFromUtf16(&HardwareUuid, bstr.raw());
1073 hrc = pMachine->COMGETTER(Name)(bstr.asOutParam()); H();
1074 InsertConfigString(pRoot, "Name", bstr);
2656 hrc = serialPort->COMGETTER(Path)(bstr.asOutParam()); H();
2668 InsertConfigString(pLunL2, "Location", bstr);
2675 InsertConfigString(pLunL1, "DevicePath", bstr);
2683 InsertConfigString(pLunL2, "Location", bstr);
2692 InsertConfigString(pLunL2, "Location", bstr);
3549 Bstr bstr; local
3730 Bstr bstr; local
4217 Bstr bstr; local
4583 Bstr bstr; local
[all...]
H A DConsoleVRDPServer.cpp586 com::Bstr bstr; local
587 server->mConsole->i_getVRDEServer()->GetVRDEProperty(Bstr("TCP/Address").raw(), bstr.asOutParam());
590 com::Utf8Str address = bstr;
635 com::Bstr bstr; local
636 HRESULT hrc = server->mConsole->i_getVRDEServer()->GetVRDEProperty(Bstr("TCP/Ports").raw(), bstr.asOutParam());
640 bstr = "";
643 if (bstr == "0")
645 bstr = "3389";
649 com::Utf8Str portRange = bstr;
675 com::Bstr bstr; local
704 com::Bstr bstr; local
734 com::Bstr bstr; local
2127 com::Bstr bstr; local
[all...]
/vbox/include/VBox/com/
H A Dstring.h655 Bstr bstr(*this);
656 bstr.cloneTo(pstr);
671 Bstr bstr(*this);
672 return bstr.detachToEx(pbstr);
H A Ddefs.h415 void SysFreeString(BSTR bstr);
418 unsigned int SysStringByteLen(BSTR bstr);
419 unsigned int SysStringLen(BSTR bstr);
/vbox/src/VBox/Main/webservice/
H A Dvboxweb.h81 extern std::string ConvertComString(const com::Bstr &bstr);
83 extern std::string ConvertComString(const com::Guid &bstr);
/vbox/src/VBox/Main/testcase/
H A DtstUSBProxyLinux.cpp70 void SysFreeString(BSTR bstr) argument
/vbox/src/VBox/Devices/Graphics/shaderlib/wine/include/
H A Dtom.idl246 HRESULT SetText([in]BSTR bstr);
282 HRESULT FindText([in]BSTR bstr, [in]LONG cch, [in]LONG Flags, [retval, out]LONG *pLength);
283 HRESULT FindTextStart([in]BSTR bstr, [in]LONG cch, [in]LONG Flags, [retval, out]LONG *pLength);
284 HRESULT FindTextEnd([in]BSTR bstr, [in]LONG cch, [in]LONG Flags, [retval, out]LONG *pLength);
313 HRESULT TypeText([in]BSTR bstr);
H A Dmsxml2.idl1171 [in]BSTR bstr,
1183 [in] BSTR bstr,
1189 [in] BSTR bstr,
1195 [in] BSTR bstr,
1202 [in] BSTR bstr,
2840 [out,retval] BSTR* bstr);
H A Dmsxml6.idl1092 [in]BSTR bstr,
1104 [in] BSTR bstr,
1110 [in] BSTR bstr,
1116 [in] BSTR bstr,
1123 [in] BSTR bstr,
2704 [out,retval] BSTR* bstr);
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/include/
H A Dtom.idl245 HRESULT SetText([in]BSTR bstr);
281 HRESULT FindText([in]BSTR bstr, [in]LONG cch, [in]LONG Flags, [retval, out]LONG *pLength);
282 HRESULT FindTextStart([in]BSTR bstr, [in]LONG cch, [in]LONG Flags, [retval, out]LONG *pLength);
283 HRESULT FindTextEnd([in]BSTR bstr, [in]LONG cch, [in]LONG Flags, [retval, out]LONG *pLength);
312 HRESULT TypeText([in]BSTR bstr);
H A Dmsxml2.idl1018 [in]BSTR bstr,
1030 [in] BSTR bstr,
1036 [in] BSTR bstr,
1042 [in] BSTR bstr,
1049 [in] BSTR bstr,
2155 [out,retval] BSTR* bstr);
/vbox/src/VBox/Main/src-all/
H A DProgressImpl.cpp979 Bstr bstr; local
981 rc = aPProgressAsync->COMGETTER(OperationDescription(bstr.asOutParam()));
985 rc = SetNextOperation(bstr.raw(), currentWeight);
/vbox/src/VBox/Main/src-server/
H A DHostNetworkInterfaceImpl.cpp515 BSTR bstr;
516 aIPV6Address.cloneTo(&bstr);
520 bstr, aIPV6NetworkMaskPrefixLength);
H A DVRDEServerImpl.cpp823 BSTR bstr; local
824 hrc = systemProperties->COMGETTER(DefaultVRDEExtPack)(&bstr);
826 aExtPack = Utf8Str(bstr);
H A DApplianceImpl.cpp1061 Bstr bstr; local
1063 rc = pProgressAsync->COMGETTER(OperationDescription(bstr.asOutParam()));
1067 rc = pProgressThis->SetNextOperation(bstr.raw(), currentWeight);
1473 Bstr bstr; local
/vbox/src/VBox/NetworkServices/DHCP/
H A DVBoxNetDHCP.cpp560 com::Bstr bstr; local
561 hrc = virtualbox->COMGETTER(HomeFolder)(bstr.asOutParam());
563 bstr.raw(), RTPATH_DELIMITER, networkName.c_str());
/vbox/src/VBox/NetworkServices/NAT/
H A DVBoxNetLwipNAT.cpp877 com::Bstr bstr;
878 hrc = virtualbox->COMGETTER(HomeFolder)(bstr.asOutParam());
880 if (!bstr.isEmpty())
883 bstr.raw(), RTPATH_DELIMITER, "TFTP"));
/vbox/src/VBox/Frontends/VBoxHeadless/
H A DVBoxHeadless.cpp1093 Bstr bstr = vrdePort; local
1094 CHECK_ERROR_BREAK(vrdeServer, SetVRDEProperty(Bstr("TCP/Ports").raw(), bstr.raw()));

Completed in 114 milliseconds

12