Changeset 15051 in vbox for trunk/src/VBox/Main/include
- Timestamp:
- Dec 5, 2008 5:20:00 PM (16 years ago)
- Location:
- trunk/src/VBox/Main/include
- Files:
-
- 31 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/BIOSSettingsImpl.h
r14949 r15051 107 107 STDMETHOD(COMSETTER(LogoDisplayTime))(ULONG displayTime); 108 108 STDMETHOD(COMGETTER(LogoImagePath))(BSTR *imagePath); 109 STDMETHOD(COMSETTER(LogoImagePath))(IN PTRBSTR imagePath);109 STDMETHOD(COMSETTER(LogoImagePath))(IN_BSTR imagePath); 110 110 STDMETHOD(COMGETTER(BootMenuMode))(BIOSBootMenuMode_T *bootMenuMode); 111 111 STDMETHOD(COMSETTER(BootMenuMode))(BIOSBootMenuMode_T bootMenuMode); -
trunk/src/VBox/Main/include/ConsoleImpl.h
r14949 r15051 141 141 STDMETHOD(GetGuestEnteredACPIMode)(BOOL *aEntered); 142 142 STDMETHOD(SaveState) (IProgress **aProgress); 143 STDMETHOD(AdoptSavedState) (IN PTRBSTR aSavedStateFile);143 STDMETHOD(AdoptSavedState) (IN_BSTR aSavedStateFile); 144 144 STDMETHOD(DiscardSavedState)(); 145 145 STDMETHOD(GetDeviceActivity) (DeviceType_T aDeviceType, 146 146 DeviceActivity_T *aDeviceActivity); 147 STDMETHOD(AttachUSBDevice) (IN PTR GUIDPARAMaId);148 STDMETHOD(DetachUSBDevice) (IN PTR GUIDPARAMaId, IUSBDevice **aDevice);149 STDMETHOD(CreateSharedFolder) (IN PTR BSTR aName, INPTRBSTR aHostPath, BOOL aWritable);150 STDMETHOD(RemoveSharedFolder) (IN PTRBSTR aName);151 STDMETHOD(TakeSnapshot) (IN PTR BSTR aName, INPTRBSTR aDescription,147 STDMETHOD(AttachUSBDevice) (IN_GUID aId); 148 STDMETHOD(DetachUSBDevice) (IN_GUID aId, IUSBDevice **aDevice); 149 STDMETHOD(CreateSharedFolder) (IN_BSTR aName, IN_BSTR aHostPath, BOOL aWritable); 150 STDMETHOD(RemoveSharedFolder) (IN_BSTR aName); 151 STDMETHOD(TakeSnapshot) (IN_BSTR aName, IN_BSTR aDescription, 152 152 IProgress **aProgress); 153 STDMETHOD(DiscardSnapshot) (IN PTR GUIDPARAMaId, IProgress **aProgress);153 STDMETHOD(DiscardSnapshot) (IN_GUID aId, IProgress **aProgress); 154 154 STDMETHOD(DiscardCurrentState) (IProgress **aProgress); 155 155 STDMETHOD(DiscardCurrentSnapshotAndState) (IProgress **aProgress); … … 189 189 HRESULT onSharedFolderChange (BOOL aGlobal); 190 190 HRESULT onUSBDeviceAttach (IUSBDevice *aDevice, IVirtualBoxErrorInfo *aError, ULONG aMaskedIfs); 191 HRESULT onUSBDeviceDetach (IN PTR GUIDPARAMaId, IVirtualBoxErrorInfo *aError);192 HRESULT getGuestProperty (IN PTRBSTR aKey, BSTR *aValue, ULONG64 *aTimestamp, BSTR *aFlags);193 HRESULT setGuestProperty (IN PTR BSTR aKey, INPTR BSTR aValue, INPTRBSTR aFlags);194 HRESULT enumerateGuestProperties (IN PTRBSTR aPatterns, ComSafeArrayOut(BSTR, aNames), ComSafeArrayOut(BSTR, aValues), ComSafeArrayOut(ULONG64, aTimestamps), ComSafeArrayOut(BSTR, aFlags));191 HRESULT onUSBDeviceDetach (IN_GUID aId, IVirtualBoxErrorInfo *aError); 192 HRESULT getGuestProperty (IN_BSTR aKey, BSTR *aValue, ULONG64 *aTimestamp, BSTR *aFlags); 193 HRESULT setGuestProperty (IN_BSTR aKey, IN_BSTR aValue, IN_BSTR aFlags); 194 HRESULT enumerateGuestProperties (IN_BSTR aPatterns, ComSafeArrayOut(BSTR, aNames), ComSafeArrayOut(BSTR, aValues), ComSafeArrayOut(ULONG64, aTimestamps), ComSafeArrayOut(BSTR, aFlags)); 195 195 VMMDev *getVMMDev() { return mVMMDev; } 196 196 AudioSniffer *getAudioSniffer () { return mAudioSniffer; } … … 218 218 void onUSBDeviceStateChange (IUSBDevice *aDevice, bool aAttached, 219 219 IVirtualBoxErrorInfo *aError); 220 void onRuntimeError (BOOL aFatal, IN PTR BSTR aErrorID, INPTRBSTR aMessage);220 void onRuntimeError (BOOL aFatal, IN_BSTR aErrorID, IN_BSTR aMessage); 221 221 HRESULT onShowWindow (BOOL aCheck, BOOL *aCanShow, ULONG64 *aWinId); 222 222 … … 421 421 } 422 422 423 HRESULT findSharedFolder ( constBSTR aName,423 HRESULT findSharedFolder (CBSTR aName, 424 424 ComObjPtr <SharedFolder> &aSharedFolder, 425 425 bool aSetError = false); 426 426 427 427 HRESULT fetchSharedFolders (BOOL aGlobal); 428 bool findOtherSharedFolder (IN PTRBSTR aName,428 bool findOtherSharedFolder (IN_BSTR aName, 429 429 SharedFolderDataMap::const_iterator &aIt); 430 430 431 HRESULT createSharedFolder ( INPTRBSTR aName, SharedFolderData aData);432 HRESULT removeSharedFolder ( INPTRBSTR aName);431 HRESULT createSharedFolder (CBSTR aName, SharedFolderData aData); 432 HRESULT removeSharedFolder (CBSTR aName); 433 433 434 434 static DECLCALLBACK(int) configConstructor(PVM pVM, void *pvConsole); … … 494 494 static DECLCALLBACK(int) doGuestPropNotification (void *pvExtension, uint32_t, 495 495 void *pvParms, uint32_t cbParms); 496 HRESULT doEnumerateGuestProperties ( INPTRBSTR aPatterns,496 HRESULT doEnumerateGuestProperties (CBSTR aPatterns, 497 497 ComSafeArrayOut(BSTR, aNames), 498 498 ComSafeArrayOut(BSTR, aValues), -
trunk/src/VBox/Main/include/DVDDriveImpl.h
r14949 r15051 91 91 92 92 // IDVDDrive methods 93 STDMETHOD(MountImage) (IN PTR GUIDPARAMaImageId);93 STDMETHOD(MountImage) (IN_GUID aImageId); 94 94 STDMETHOD(CaptureHostDrive) (IHostDVDDrive *aHostDVDDrive); 95 95 STDMETHOD(Unmount)(); -
trunk/src/VBox/Main/include/DisplayImpl.h
r14949 r15051 191 191 } 192 192 193 STDMETHOD(OnRuntimeError)(BOOL fatal, IN PTR BSTR id, INPTRBSTR message)193 STDMETHOD(OnRuntimeError)(BOOL fatal, IN_BSTR id, IN_BSTR message) 194 194 { 195 195 return S_OK; -
trunk/src/VBox/Main/include/FloppyDriveImpl.h
r14949 r15051 91 91 92 92 // IFloppyDrive methods 93 STDMETHOD(MountImage) (IN PTR GUIDPARAMaImageId);93 STDMETHOD(MountImage) (IN_GUID aImageId); 94 94 STDMETHOD(CaptureHostDrive) (IHostFloppyDrive *aHostFloppyDrive); 95 95 STDMETHOD(Unmount)(); -
trunk/src/VBox/Main/include/GuestImpl.h
r14949 r15051 70 70 71 71 // IGuest methods 72 STDMETHOD(SetCredentials)(IN PTR BSTR aUserName, INPTRBSTR aPassword,73 IN PTRBSTR aDomain, BOOL aAllowInteractiveLogon);72 STDMETHOD(SetCredentials)(IN_BSTR aUserName, IN_BSTR aPassword, 73 IN_BSTR aDomain, BOOL aAllowInteractiveLogon); 74 74 STDMETHOD(GetStatistic)(ULONG aCpuId, GuestStatisticType_T aStatistic, ULONG *aStatVal); 75 75 -
trunk/src/VBox/Main/include/HardDisk2Impl.h
r15044 r15051 77 77 78 78 // public initializer/uninitializer for internal purposes only 79 HRESULT init (VirtualBox *aVirtualBox, constBSTR aFormat,80 constBSTR aLocation);79 HRESULT init (VirtualBox *aVirtualBox, CBSTR aFormat, 80 CBSTR aLocation); 81 81 HRESULT init (VirtualBox *aVirtualBox, 82 constBSTR aLocation);82 CBSTR aLocation); 83 83 HRESULT init (VirtualBox *aVirtualBox, HardDisk2 *aParent, 84 84 const settings::Key &aNode); … … 99 99 100 100 // IHardDisk2 methods 101 STDMETHOD(GetProperty) (IN PTRBSTR aName, BSTR *aValue);102 STDMETHOD(SetProperty) (IN PTR BSTR aName, INPTRBSTR aValue);103 STDMETHOD(GetProperties) (IN PTRBSTR aNames,101 STDMETHOD(GetProperty) (IN_BSTR aName, BSTR *aValue); 102 STDMETHOD(SetProperty) (IN_BSTR aName, IN_BSTR aValue); 103 STDMETHOD(GetProperties) (IN_BSTR aNames, 104 104 ComSafeArrayOut (BSTR, aReturnNames), 105 105 ComSafeArrayOut (BSTR, aReturnValues)); 106 STDMETHOD(SetProperties) (ComSafeArrayIn (IN PTRBSTR, aNames),107 ComSafeArrayIn (IN PTRBSTR, aValues));106 STDMETHOD(SetProperties) (ComSafeArrayIn (IN_BSTR, aNames), 107 ComSafeArrayIn (IN_BSTR, aValues)); 108 108 STDMETHOD(CreateDynamicStorage) (ULONG64 aLogicalSize, IProgress **aProgress); 109 109 STDMETHOD(CreateFixedStorage) (ULONG64 aLogicalSize, IProgress **aProgress); 110 110 STDMETHOD(DeleteStorage) (IProgress **aProgress); 111 111 STDMETHOD(CreateDiffStorage) (IHardDisk2 *aTarget, IProgress **aProgress); 112 STDMETHOD(MergeTo) (IN PTR GUIDPARAMaTargetId, IProgress **aProgress);112 STDMETHOD(MergeTo) (IN_GUID aTargetId, IProgress **aProgress); 113 113 STDMETHOD(CloneTo) (IHardDisk2 *aTarget, IProgress **aProgress); 114 114 STDMETHOD(FlattenTo) (IHardDisk2 *aTarget, IProgress **aProgress); … … 232 232 private: 233 233 234 HRESULT setLocation ( constBSTR aLocation);235 HRESULT setFormat ( constBSTR aFormat);234 HRESULT setLocation (CBSTR aLocation); 235 HRESULT setFormat (CBSTR aFormat); 236 236 237 237 HRESULT queryInfo(); -
trunk/src/VBox/Main/include/HostDVDDriveImpl.h
r14949 r15051 53 53 54 54 // public initializer/uninitializer for internal purposes only 55 HRESULT init (IN PTR BSTR aName, INPTRBSTR aUdi = NULL,56 IN PTRBSTR aDescription = NULL);55 HRESULT init (IN_BSTR aName, IN_BSTR aUdi = NULL, 56 IN_BSTR aDescription = NULL); 57 57 void uninit(); 58 58 … … 85 85 COM_DECL_READONLY_ENUM_AND_COLLECTION_BEGIN (HostDVDDrive) 86 86 87 STDMETHOD(FindByName) (IN PTRBSTR aName, IHostDVDDrive **aDrive)87 STDMETHOD(FindByName) (IN_BSTR aName, IHostDVDDrive **aDrive) 88 88 { 89 89 if (!aName) -
trunk/src/VBox/Main/include/HostFloppyDriveImpl.h
r14949 r15051 53 53 54 54 // public initializer/uninitializer for internal purposes only 55 HRESULT init (IN PTR BSTR aName, INPTRBSTR aUdi = NULL,56 IN PTRBSTR aDescription = NULL);55 HRESULT init (IN_BSTR aName, IN_BSTR aUdi = NULL, 56 IN_BSTR aDescription = NULL); 57 57 void uninit(); 58 58 … … 85 85 COM_DECL_READONLY_ENUM_AND_COLLECTION_BEGIN (HostFloppyDrive) 86 86 87 STDMETHOD(FindByName) (IN PTRBSTR aName, IHostFloppyDrive **aDrive)87 STDMETHOD(FindByName) (IN_BSTR aName, IHostFloppyDrive **aDrive) 88 88 { 89 89 if (!aName) -
trunk/src/VBox/Main/include/HostImpl.h
r14991 r15051 99 99 // IHost methods 100 100 #ifdef RT_OS_WINDOWS 101 STDMETHOD(CreateHostNetworkInterface) (IN PTRBSTR aName,101 STDMETHOD(CreateHostNetworkInterface) (IN_BSTR aName, 102 102 IHostNetworkInterface **aHostNetworkInterface, 103 103 IProgress **aProgress); 104 STDMETHOD(RemoveHostNetworkInterface) (IN PTR GUIDPARAMaId,104 STDMETHOD(RemoveHostNetworkInterface) (IN_GUID aId, 105 105 IHostNetworkInterface **aHostNetworkInterface, 106 106 IProgress **aProgress); 107 107 #endif 108 STDMETHOD(CreateUSBDeviceFilter) (IN PTRBSTR aName, IHostUSBDeviceFilter **aFilter);108 STDMETHOD(CreateUSBDeviceFilter) (IN_BSTR aName, IHostUSBDeviceFilter **aFilter); 109 109 STDMETHOD(InsertUSBDeviceFilter) (ULONG aPosition, IHostUSBDeviceFilter *aFilter); 110 110 STDMETHOD(RemoveUSBDeviceFilter) (ULONG aPosition, IHostUSBDeviceFilter **aFilter); -
trunk/src/VBox/Main/include/HostNetworkInterfaceImpl.h
r14949 r15051 59 59 // IHostNetworkInterface properties 60 60 STDMETHOD(COMGETTER(Name)) (BSTR *aInterfaceName); 61 STDMETHOD(COMGETTER(Id)) ( GUIDPARAMOUTaGuid);61 STDMETHOD(COMGETTER(Id)) (OUT_GUID aGuid); 62 62 63 63 // for VirtualBoxSupportErrorInfoImpl … … 71 71 COM_DECL_READONLY_ENUM_AND_COLLECTION_BEGIN (HostNetworkInterface) 72 72 73 STDMETHOD(FindByName) (IN PTRBSTR name, IHostNetworkInterface **networkInterface)73 STDMETHOD(FindByName) (IN_BSTR name, IHostNetworkInterface **networkInterface) 74 74 { 75 75 if (!name) … … 97 97 } 98 98 99 STDMETHOD(FindById) (IN PTR GUIDPARAMid, IHostNetworkInterface **networkInterface)99 STDMETHOD(FindById) (IN_GUID id, IHostNetworkInterface **networkInterface) 100 100 { 101 101 if (Guid(id).isEmpty()) -
trunk/src/VBox/Main/include/MachineDebuggerImpl.h
r14949 r15051 82 82 83 83 // IMachineDebugger methods 84 STDMETHOD(ResetStats (IN PTRBSTR aPattern));85 STDMETHOD(DumpStats (IN PTRBSTR aPattern));86 STDMETHOD(GetStats (IN PTRBSTR aPattern, BOOL aWithDescriptions, BSTR *aStats));84 STDMETHOD(ResetStats (IN_BSTR aPattern)); 85 STDMETHOD(DumpStats (IN_BSTR aPattern)); 86 STDMETHOD(GetStats (IN_BSTR aPattern, BOOL aWithDescriptions, BSTR *aStats)); 87 87 88 88 -
trunk/src/VBox/Main/include/MachineImpl.h
r14949 r15051 458 458 459 459 // public initializer/uninitializer for internal purposes only 460 HRESULT init (VirtualBox *aParent, constBSTR aConfigFile,461 InitMode aMode, constBSTR aName = NULL,460 HRESULT init (VirtualBox *aParent, CBSTR aConfigFile, 461 InitMode aMode, CBSTR aName = NULL, 462 462 GuestOSType *aOsType = NULL, 463 463 BOOL aNameSync = TRUE, const Guid *aId = NULL); … … 469 469 STDMETHOD(COMGETTER(AccessError)) (IVirtualBoxErrorInfo **aAccessError); 470 470 STDMETHOD(COMGETTER(Name))(BSTR *aName); 471 STDMETHOD(COMSETTER(Name))(IN PTRBSTR aName);471 STDMETHOD(COMSETTER(Name))(IN_BSTR aName); 472 472 STDMETHOD(COMGETTER(Description))(BSTR *aDescription); 473 STDMETHOD(COMSETTER(Description))(IN PTRBSTR aDescription);474 STDMETHOD(COMGETTER(Id))( GUIDPARAMOUTaId);473 STDMETHOD(COMSETTER(Description))(IN_BSTR aDescription); 474 STDMETHOD(COMGETTER(Id))(OUT_GUID aId); 475 475 STDMETHOD(COMGETTER(OSTypeId)) (BSTR *aOSTypeId); 476 STDMETHOD(COMSETTER(OSTypeId)) (IN PTRBSTR aOSTypeId);476 STDMETHOD(COMSETTER(OSTypeId)) (IN_BSTR aOSTypeId); 477 477 STDMETHOD(COMGETTER(MemorySize))(ULONG *memorySize); 478 478 STDMETHOD(COMSETTER(MemorySize))(ULONG memorySize); … … 499 499 STDMETHOD(COMSETTER(PAEEnabled))(BOOL enabled); 500 500 STDMETHOD(COMGETTER(SnapshotFolder))(BSTR *aSavedStateFolder); 501 STDMETHOD(COMSETTER(SnapshotFolder))(IN PTRBSTR aSavedStateFolder);501 STDMETHOD(COMSETTER(SnapshotFolder))(IN_BSTR aSavedStateFolder); 502 502 STDMETHOD(COMGETTER(HardDisk2Attachments))(ComSafeArrayOut (IHardDisk2Attachment *, aAttachments)); 503 503 STDMETHOD(COMGETTER(VRDPServer))(IVRDPServer **vrdpServer); … … 524 524 STDMETHOD(COMSETTER(ClipboardMode)) (ClipboardMode_T aClipboardMode); 525 525 STDMETHOD(COMGETTER(GuestPropertyNotificationPatterns)) (BSTR *aPattern); 526 STDMETHOD(COMSETTER(GuestPropertyNotificationPatterns)) (IN PTRBSTR aPattern);526 STDMETHOD(COMSETTER(GuestPropertyNotificationPatterns)) (IN_BSTR aPattern); 527 527 528 528 // IMachine methods 529 529 STDMETHOD(SetBootOrder)(ULONG aPosition, DeviceType_T aDevice); 530 530 STDMETHOD(GetBootOrder)(ULONG aPosition, DeviceType_T *aDevice); 531 STDMETHOD(AttachHardDisk2) (IN PTR GUIDPARAMaId, StorageBus_T aBus,531 STDMETHOD(AttachHardDisk2) (IN_GUID aId, StorageBus_T aBus, 532 532 LONG aChannel, LONG aDevice); 533 533 STDMETHOD(GetHardDisk2) (StorageBus_T aBus, LONG aChannel, LONG aDevice, … … 537 537 STDMETHOD(GetParallelPort) (ULONG slot, IParallelPort **port); 538 538 STDMETHOD(GetNetworkAdapter) (ULONG slot, INetworkAdapter **adapter); 539 STDMETHOD(GetNextExtraDataKey)(IN PTRBSTR aKey, BSTR *aNextKey, BSTR *aNextValue);540 STDMETHOD(GetExtraData)(IN PTRBSTR aKey, BSTR *aValue);541 STDMETHOD(SetExtraData)(IN PTR BSTR aKey, INPTRBSTR aValue);539 STDMETHOD(GetNextExtraDataKey)(IN_BSTR aKey, BSTR *aNextKey, BSTR *aNextValue); 540 STDMETHOD(GetExtraData)(IN_BSTR aKey, BSTR *aValue); 541 STDMETHOD(SetExtraData)(IN_BSTR aKey, IN_BSTR aValue); 542 542 STDMETHOD(SaveSettings)(); 543 543 STDMETHOD(SaveSettingsWithBackup) (BSTR *aBakFileName); 544 544 STDMETHOD(DiscardSettings)(); 545 545 STDMETHOD(DeleteSettings)(); 546 STDMETHOD(GetSnapshot) (IN PTR GUIDPARAMaId, ISnapshot **aSnapshot);547 STDMETHOD(FindSnapshot) (IN PTRBSTR aName, ISnapshot **aSnapshot);548 STDMETHOD(SetCurrentSnapshot) (IN PTR GUIDPARAMaId);549 STDMETHOD(CreateSharedFolder) (IN PTR BSTR aName, INPTRBSTR aHostPath, BOOL aWritable);550 STDMETHOD(RemoveSharedFolder) (IN PTRBSTR aName);546 STDMETHOD(GetSnapshot) (IN_GUID aId, ISnapshot **aSnapshot); 547 STDMETHOD(FindSnapshot) (IN_BSTR aName, ISnapshot **aSnapshot); 548 STDMETHOD(SetCurrentSnapshot) (IN_GUID aId); 549 STDMETHOD(CreateSharedFolder) (IN_BSTR aName, IN_BSTR aHostPath, BOOL aWritable); 550 STDMETHOD(RemoveSharedFolder) (IN_BSTR aName); 551 551 STDMETHOD(CanShowConsoleWindow) (BOOL *aCanShow); 552 552 STDMETHOD(ShowConsoleWindow) (ULONG64 *aWinId); 553 STDMETHOD(GetGuestProperty) (IN PTRBSTR aName, BSTR *aValue, ULONG64 *aTimestamp, BSTR *aFlags);554 STDMETHOD(GetGuestPropertyValue) (IN PTRBSTR aName, BSTR *aValue);555 STDMETHOD(GetGuestPropertyTimestamp) (IN PTRBSTR aName, ULONG64 *aTimestamp);556 STDMETHOD(SetGuestProperty) (IN PTR BSTR aName, INPTR BSTR aValue, INPTRBSTR aFlags);557 STDMETHOD(SetGuestPropertyValue) (IN PTR BSTR aName, INPTRBSTR aValue);558 STDMETHOD(EnumerateGuestProperties) (IN PTRBSTR aPattern, ComSafeArrayOut(BSTR, aNames), ComSafeArrayOut(BSTR, aValues), ComSafeArrayOut(ULONG64, aTimestamps), ComSafeArrayOut(BSTR, aFlags));553 STDMETHOD(GetGuestProperty) (IN_BSTR aName, BSTR *aValue, ULONG64 *aTimestamp, BSTR *aFlags); 554 STDMETHOD(GetGuestPropertyValue) (IN_BSTR aName, BSTR *aValue); 555 STDMETHOD(GetGuestPropertyTimestamp) (IN_BSTR aName, ULONG64 *aTimestamp); 556 STDMETHOD(SetGuestProperty) (IN_BSTR aName, IN_BSTR aValue, IN_BSTR aFlags); 557 STDMETHOD(SetGuestPropertyValue) (IN_BSTR aName, IN_BSTR aValue); 558 STDMETHOD(EnumerateGuestProperties) (IN_BSTR aPattern, ComSafeArrayOut(BSTR, aNames), ComSafeArrayOut(BSTR, aValues), ComSafeArrayOut(ULONG64, aTimestamps), ComSafeArrayOut(BSTR, aFlags)); 559 559 560 560 // public methods only for internal purposes … … 636 636 HRESULT openSession (IInternalSessionControl *aControl); 637 637 HRESULT openRemoteSession (IInternalSessionControl *aControl, 638 IN PTR BSTR aType, INPTRBSTR aEnvironment,638 IN_BSTR aType, IN_BSTR aEnvironment, 639 639 Progress *aProgress); 640 640 HRESULT openExistingSession (IInternalSessionControl *aControl); … … 682 682 HRESULT trySetRegistered (BOOL aRegistered); 683 683 684 HRESULT getSharedFolder ( constBSTR aName,684 HRESULT getSharedFolder (CBSTR aName, 685 685 ComObjPtr <SharedFolder> &aSharedFolder, 686 686 bool aSetError = false) … … 713 713 virtual HRESULT setMachineState (MachineState_T aMachineState); 714 714 715 HRESULT findSharedFolder ( constBSTR aName,715 HRESULT findSharedFolder (CBSTR aName, 716 716 ComObjPtr <SharedFolder> &aSharedFolder, 717 717 bool aSetError = false); … … 730 730 HRESULT findSnapshot (const Guid &aId, ComObjPtr <Snapshot> &aSnapshot, 731 731 bool aSetError = false); 732 HRESULT findSnapshot ( constBSTR aName, ComObjPtr <Snapshot> &aSnapshot,732 HRESULT findSnapshot (IN_BSTR aName, ComObjPtr <Snapshot> &aSnapshot, 733 733 bool aSetError = false); 734 734 … … 875 875 STDMETHOD(GetIPCId)(BSTR *id); 876 876 STDMETHOD(RunUSBDeviceFilters) (IUSBDevice *aUSBDevice, BOOL *aMatched, ULONG *aMaskedIfs); 877 STDMETHOD(CaptureUSBDevice) (IN PTR GUIDPARAMaId);878 STDMETHOD(DetachUSBDevice) (IN PTR GUIDPARAMaId, BOOL aDone);877 STDMETHOD(CaptureUSBDevice) (IN_GUID aId); 878 STDMETHOD(DetachUSBDevice) (IN_GUID aId, BOOL aDone); 879 879 STDMETHOD(AutoCaptureUSBDevices)(); 880 880 STDMETHOD(DetachAllUSBDevices)(BOOL aDone); … … 882 882 STDMETHOD(BeginSavingState) (IProgress *aProgress, BSTR *aStateFilePath); 883 883 STDMETHOD(EndSavingState) (BOOL aSuccess); 884 STDMETHOD(AdoptSavedState) (IN PTRBSTR aSavedStateFile);884 STDMETHOD(AdoptSavedState) (IN_BSTR aSavedStateFile); 885 885 STDMETHOD(BeginTakingSnapshot) (IConsole *aInitiator, 886 IN PTR BSTR aName, INPTRBSTR aDescription,886 IN_BSTR aName, IN_BSTR aDescription, 887 887 IProgress *aProgress, BSTR *aStateFilePath, 888 888 IProgress **aServerProgress); 889 889 STDMETHOD(EndTakingSnapshot) (BOOL aSuccess); 890 STDMETHOD(DiscardSnapshot) (IConsole *aInitiator, IN PTR GUIDPARAMaId,890 STDMETHOD(DiscardSnapshot) (IConsole *aInitiator, IN_GUID aId, 891 891 MachineState_T *aMachineState, IProgress **aProgress); 892 892 STDMETHOD(DiscardCurrentState) ( … … 896 896 STDMETHOD(PullGuestProperties) (ComSafeArrayOut(BSTR, aNames), ComSafeArrayOut(BSTR, aValues), 897 897 ComSafeArrayOut(ULONG64, aTimestamps), ComSafeArrayOut(BSTR, aFlags)); 898 STDMETHOD(PushGuestProperties) (ComSafeArrayIn(IN PTR BSTR, aNames), ComSafeArrayIn(INPTRBSTR, aValues),899 ComSafeArrayIn(ULONG64, aTimestamps), ComSafeArrayIn(IN PTRBSTR, aFlags));900 STDMETHOD(PushGuestProperty) (IN PTR BSTR aName, INPTRBSTR aValue,901 ULONG64 aTimestamp, IN PTRBSTR aFlags);898 STDMETHOD(PushGuestProperties) (ComSafeArrayIn(IN_BSTR, aNames), ComSafeArrayIn(IN_BSTR, aValues), 899 ComSafeArrayIn(ULONG64, aTimestamps), ComSafeArrayIn(IN_BSTR, aFlags)); 900 STDMETHOD(PushGuestProperty) (IN_BSTR aName, IN_BSTR aValue, 901 ULONG64 aTimestamp, IN_BSTR aFlags); 902 902 903 903 // public methods only for internal purposes … … 915 915 IVirtualBoxErrorInfo *aError, 916 916 ULONG aMaskedIfs); 917 HRESULT onUSBDeviceDetach (IN PTR GUIDPARAMaId,917 HRESULT onUSBDeviceDetach (IN_GUID aId, 918 918 IVirtualBoxErrorInfo *aError); 919 919 HRESULT onSharedFolderChange(); … … 1028 1028 // public initializer/uninitializer for internal purposes only 1029 1029 HRESULT init (SessionMachine *aSessionMachine, 1030 IN PTR GUIDPARAM aSnapshotId, INPTRBSTR aStateFilePath);1030 IN_GUID aSnapshotId, IN_BSTR aStateFilePath); 1031 1031 HRESULT init (Machine *aMachine, 1032 1032 const settings::Key &aHWNode, const settings::Key &aHDAsNode, 1033 IN PTR GUIDPARAM aSnapshotId, INPTRBSTR aStateFilePath);1033 IN_GUID aSnapshotId, IN_BSTR aStateFilePath); 1034 1034 void uninit(); 1035 1035 -
trunk/src/VBox/Main/include/Matching.h
r14949 r15051 486 486 : F (aString), mString (aString) {} 487 487 488 Matchable ( constBSTR aString)488 Matchable (CBSTR aString) 489 489 : F (Bstr (aString)), mString (aString) {} 490 490 … … 500 500 } 501 501 502 Matchable &operator= ( constBSTR aString)502 Matchable &operator= (CBSTR aString) 503 503 { 504 504 F::operator= (Bstr (aString)); -
trunk/src/VBox/Main/include/MediumImpl.h
r14949 r15051 92 92 93 93 // IMedium properties 94 STDMETHOD(COMGETTER(Id)) ( GUIDPARAMOUTaId);94 STDMETHOD(COMGETTER(Id)) (OUT_GUID aId); 95 95 STDMETHOD(COMGETTER(Description)) (BSTR *aDescription); 96 STDMETHOD(COMSETTER(Description)) (IN PTRBSTR aDescription);96 STDMETHOD(COMSETTER(Description)) (IN_BSTR aDescription); 97 97 STDMETHOD(COMGETTER(State)) (MediaState_T *aState); 98 98 STDMETHOD(COMGETTER(Location)) (BSTR *aLocation); 99 STDMETHOD(COMSETTER(Location)) (IN PTRBSTR aLocation);99 STDMETHOD(COMSETTER(Location)) (IN_BSTR aLocation); 100 100 STDMETHOD(COMGETTER(Name)) (BSTR *aName); 101 101 STDMETHOD(COMGETTER(Size)) (ULONG64 *aSize); … … 104 104 105 105 // IMedium methods 106 STDMETHOD(GetSnapshotIds) (IN PTR GUIDPARAMaMachineId,106 STDMETHOD(GetSnapshotIds) (IN_GUID aMachineId, 107 107 ComSafeGUIDArrayOut (aSnapshotIds)); 108 108 STDMETHOD(LockRead) (MediaState_T *aState); … … 142 142 virtual Utf8Str name(); 143 143 144 virtual HRESULT setLocation ( constBSTR aLocation);144 virtual HRESULT setLocation (CBSTR aLocation); 145 145 virtual HRESULT queryInfo(); 146 146 … … 222 222 223 223 // protected initializer/uninitializer for internal purposes only 224 HRESULT protectedInit (VirtualBox *aVirtualBox, constBSTR aLocation,224 HRESULT protectedInit (VirtualBox *aVirtualBox, CBSTR aLocation, 225 225 const Guid &aId); 226 226 HRESULT protectedInit (VirtualBox *aVirtualBox, const settings::Key &aImageNode); … … 265 265 // public initializer/uninitializer for internal purposes only 266 266 267 HRESULT init (VirtualBox *aParent, constBSTR aFilePath,267 HRESULT init (VirtualBox *aParent, CBSTR aFilePath, 268 268 const Guid &aId) 269 269 { … … 318 318 // public initializer/uninitializer for internal purposes only 319 319 320 HRESULT init (VirtualBox *aParent, constBSTR aFilePath,320 HRESULT init (VirtualBox *aParent, CBSTR aFilePath, 321 321 const Guid &aId) 322 322 { -
trunk/src/VBox/Main/include/NetworkAdapterImpl.h
r14949 r15051 122 122 STDMETHOD(COMSETTER(Enabled)) (BOOL aEnabled); 123 123 STDMETHOD(COMGETTER(MACAddress)) (BSTR *aMACAddress); 124 STDMETHOD(COMSETTER(MACAddress)) (IN PTRBSTR aMACAddress);124 STDMETHOD(COMSETTER(MACAddress)) (IN_BSTR aMACAddress); 125 125 STDMETHOD(COMGETTER(AttachmentType)) (NetworkAttachmentType_T *aAttachmentType); 126 126 STDMETHOD(COMGETTER(HostInterface)) (BSTR *aHostInterface); 127 STDMETHOD(COMSETTER(HostInterface)) (IN PTRBSTR aHostInterface);127 STDMETHOD(COMSETTER(HostInterface)) (IN_BSTR aHostInterface); 128 128 #ifndef RT_OS_WINDOWS /** @todo ifdef VBOX_WITH_UNIXY_TAP_NETWORKING: need to find a way to exclude this in the xidl... */ 129 129 STDMETHOD(COMGETTER(TAPFileDescriptor)) (LONG *aTAPFileDescriptor); 130 130 STDMETHOD(COMSETTER(TAPFileDescriptor)) (LONG aTAPFileDescriptor); 131 131 STDMETHOD(COMGETTER(TAPSetupApplication)) (BSTR *aTAPSetupApplication); 132 STDMETHOD(COMSETTER(TAPSetupApplication)) (IN PTRBSTR aTAPSetupApplication);132 STDMETHOD(COMSETTER(TAPSetupApplication)) (IN_BSTR aTAPSetupApplication); 133 133 STDMETHOD(COMGETTER(TAPTerminateApplication)) (BSTR *aTAPTerminateApplication); 134 STDMETHOD(COMSETTER(TAPTerminateApplication)) (IN PTRBSTR aTAPTerminateApplication);134 STDMETHOD(COMSETTER(TAPTerminateApplication)) (IN_BSTR aTAPTerminateApplication); 135 135 #endif 136 136 STDMETHOD(COMGETTER(InternalNetwork)) (BSTR *aInternalNetwork); 137 STDMETHOD(COMSETTER(InternalNetwork)) (IN PTRBSTR aInternalNetwork);137 STDMETHOD(COMSETTER(InternalNetwork)) (IN_BSTR aInternalNetwork); 138 138 STDMETHOD(COMGETTER(NATNetwork)) (BSTR *aNATNetwork); 139 STDMETHOD(COMSETTER(NATNetwork)) (IN PTRBSTR aNATNetwork);139 STDMETHOD(COMSETTER(NATNetwork)) (IN_BSTR aNATNetwork); 140 140 STDMETHOD(COMGETTER(CableConnected)) (BOOL *aConnected); 141 141 STDMETHOD(COMSETTER(CableConnected)) (BOOL aConnected); … … 145 145 STDMETHOD(COMSETTER(LineSpeed)) (ULONG aSpeed); 146 146 STDMETHOD(COMGETTER(TraceFile)) (BSTR *aTraceFile); 147 STDMETHOD(COMSETTER(TraceFile)) (IN PTRBSTR aTraceFile);147 STDMETHOD(COMSETTER(TraceFile)) (IN_BSTR aTraceFile); 148 148 149 149 // INetworkAdapter methods -
trunk/src/VBox/Main/include/ParallelPortImpl.h
r14949 r15051 95 95 STDMETHOD(COMSETTER(IOBase)) (ULONG aIOBase); 96 96 STDMETHOD(COMGETTER(Path)) (BSTR *aPath); 97 STDMETHOD(COMSETTER(Path)) (IN PTRBSTR aPath);97 STDMETHOD(COMSETTER(Path)) (IN_BSTR aPath); 98 98 99 99 // public methods only for internal purposes … … 116 116 private: 117 117 118 HRESULT checkSetPath ( constBSTR aPath);118 HRESULT checkSetPath (CBSTR aPath); 119 119 120 120 const ComObjPtr <Machine, ComWeakRef> mParent; -
trunk/src/VBox/Main/include/Performance.h
r14949 r15051 386 386 { 387 387 public: 388 Filter(ComSafeArrayIn(IN PTRBSTR, metricNames),388 Filter(ComSafeArrayIn(IN_BSTR, metricNames), 389 389 ComSafeArrayIn(IUnknown * , objects)); 390 390 static bool patternMatch(const char *pszPat, const char *pszName, … … 392 392 bool match(const ComPtr<IUnknown> object, const std::string &name) const; 393 393 private: 394 void init(ComSafeArrayIn(IN PTRBSTR, metricNames),394 void init(ComSafeArrayIn(IN_BSTR, metricNames), 395 395 ComSafeArrayIn(IUnknown * , objects)); 396 396 -
trunk/src/VBox/Main/include/PerformanceImpl.h
r14949 r15051 143 143 144 144 // IPerformanceCollector methods 145 STDMETHOD(GetMetrics) (ComSafeArrayIn (IN PTRBSTR, metricNames),145 STDMETHOD(GetMetrics) (ComSafeArrayIn (IN_BSTR, metricNames), 146 146 ComSafeArrayIn (IUnknown *, objects), 147 147 ComSafeArrayOut (IPerformanceMetric *, outMetrics)); 148 STDMETHOD(SetupMetrics) (ComSafeArrayIn (IN PTRBSTR, metricNames),148 STDMETHOD(SetupMetrics) (ComSafeArrayIn (IN_BSTR, metricNames), 149 149 ComSafeArrayIn (IUnknown *, objects), 150 150 ULONG aPeriod, ULONG aCount, 151 151 ComSafeArrayOut (IPerformanceMetric *, 152 152 outMetrics)); 153 STDMETHOD(EnableMetrics) (ComSafeArrayIn (IN PTRBSTR, metricNames),153 STDMETHOD(EnableMetrics) (ComSafeArrayIn (IN_BSTR, metricNames), 154 154 ComSafeArrayIn (IUnknown *, objects), 155 155 ComSafeArrayOut (IPerformanceMetric *, 156 156 outMetrics)); 157 STDMETHOD(DisableMetrics) (ComSafeArrayIn (IN PTRBSTR, metricNames),157 STDMETHOD(DisableMetrics) (ComSafeArrayIn (IN_BSTR, metricNames), 158 158 ComSafeArrayIn (IUnknown *, objects), 159 159 ComSafeArrayOut (IPerformanceMetric *, 160 160 outMetrics)); 161 STDMETHOD(QueryMetricsData) (ComSafeArrayIn (IN PTRBSTR, metricNames),161 STDMETHOD(QueryMetricsData) (ComSafeArrayIn (IN_BSTR, metricNames), 162 162 ComSafeArrayIn (IUnknown *, objects), 163 163 ComSafeArrayOut (BSTR, outMetricNames), -
trunk/src/VBox/Main/include/ProgressImpl.h
r14949 r15051 60 60 #endif 61 61 IUnknown *aInitiator, 62 const BSTR aDescription, GUIDPARAMOUTaId = NULL);62 CBSTR aDescription, OUT_GUID aId = NULL); 63 63 HRESULT protectedInit (AutoInitSpan &aAutoInitSpan); 64 64 void protectedUninit (AutoUninitSpan &aAutoUninitSpan); … … 67 67 68 68 // IProgress properties 69 STDMETHOD(COMGETTER(Id)) ( GUIDPARAMOUTaId);69 STDMETHOD(COMGETTER(Id)) (OUT_GUID aId); 70 70 STDMETHOD(COMGETTER(Description)) (BSTR *aDescription); 71 71 STDMETHOD(COMGETTER(Initiator)) (IUnknown **aInitiator); … … 154 154 #endif 155 155 IUnknown *aInitiator, 156 constBSTR aDescription, BOOL aCancelable,157 GUIDPARAMOUTaId = NULL)156 CBSTR aDescription, BOOL aCancelable, 157 OUT_GUID aId = NULL) 158 158 { 159 159 return init ( … … 169 169 #endif 170 170 IUnknown *aInitiator, 171 constBSTR aDescription, BOOL aCancelable,172 ULONG aOperationCount, constBSTR aOperationDescription,173 GUIDPARAMOUTaId = NULL);171 CBSTR aDescription, BOOL aCancelable, 172 ULONG aOperationCount, CBSTR aOperationDescription, 173 OUT_GUID aId = NULL); 174 174 175 175 HRESULT init (BOOL aCancelable, ULONG aOperationCount, 176 constBSTR aOperationDescription);176 CBSTR aOperationDescription); 177 177 178 178 void uninit(); … … 186 186 187 187 HRESULT notifyProgress (LONG aPercent); 188 HRESULT advanceOperation ( constBSTR aOperationDescription);188 HRESULT advanceOperation (CBSTR aOperationDescription); 189 189 190 190 HRESULT notifyComplete (HRESULT aResultCode); … … 271 271 #endif 272 272 IUnknown *aInitiator, 273 constBSTR aDescription,273 CBSTR aDescription, 274 274 IProgress *aProgress1, IProgress *aProgress2, 275 GUIDPARAMOUTaId = NULL);275 OUT_GUID aId = NULL); 276 276 277 277 /** … … 292 292 #endif 293 293 IUnknown *aInitiator, 294 constBSTR aDescription,294 CBSTR aDescription, 295 295 InputIterator aFirstProgress, InputIterator aLastProgress, 296 GUIDPARAMOUTaId = NULL)296 OUT_GUID aId = NULL) 297 297 { 298 298 /* Enclose the state transition NotReady->InInit->Ready */ … … 322 322 #endif 323 323 IUnknown *aInitiator, 324 const BSTR aDescription, GUIDPARAMOUTaId);324 CBSTR aDescription, OUT_GUID aId); 325 325 326 326 public: -
trunk/src/VBox/Main/include/RemoteUSBDeviceImpl.h
r14949 r15051 64 64 65 65 // IUSBDevice properties 66 STDMETHOD(COMGETTER(Id)) ( GUIDPARAMOUTaId);66 STDMETHOD(COMGETTER(Id)) (OUT_GUID aId); 67 67 STDMETHOD(COMGETTER(VendorId)) (USHORT *aVendorId); 68 68 STDMETHOD(COMGETTER(ProductId)) (USHORT *aProductId); … … 140 140 COM_DECL_READONLY_ENUM_AND_COLLECTION_EX_BEGIN (ComObjPtr <RemoteUSBDevice>, IHostUSBDevice, RemoteUSBDevice) 141 141 142 STDMETHOD(FindById) (IN PTR GUIDPARAMaId, IHostUSBDevice **aDevice)142 STDMETHOD(FindById) (IN_GUID aId, IHostUSBDevice **aDevice) 143 143 { 144 144 Guid idToFind = aId; … … 168 168 } 169 169 170 STDMETHOD(FindByAddress) (IN PTRBSTR aAddress, IHostUSBDevice **aDevice)170 STDMETHOD(FindByAddress) (IN_BSTR aAddress, IHostUSBDevice **aDevice) 171 171 { 172 172 if (!aAddress) -
trunk/src/VBox/Main/include/SerialPortImpl.h
r14949 r15051 104 104 STDMETHOD(COMSETTER(IOBase)) (ULONG aIOBase); 105 105 STDMETHOD(COMGETTER(Path)) (BSTR *aPath); 106 STDMETHOD(COMSETTER(Path)) (IN PTRBSTR aPath);106 STDMETHOD(COMSETTER(Path)) (IN_BSTR aPath); 107 107 STDMETHOD(COMGETTER(Server)) (BOOL *aServer); 108 108 STDMETHOD(COMSETTER(Server)) (BOOL aServer); … … 127 127 private: 128 128 129 HRESULT checkSetPath ( constBSTR aPath);129 HRESULT checkSetPath (CBSTR aPath); 130 130 131 131 const ComObjPtr <Machine, ComWeakRef> mParent; -
trunk/src/VBox/Main/include/SessionImpl.h
r14949 r15051 104 104 STDMETHOD(OnSharedFolderChange) (BOOL aGlobal); 105 105 STDMETHOD(OnUSBDeviceAttach) (IUSBDevice *aDevice, IVirtualBoxErrorInfo *aError, ULONG aMaskedIfs); 106 STDMETHOD(OnUSBDeviceDetach) (IN PTR GUIDPARAMaId, IVirtualBoxErrorInfo *aError);106 STDMETHOD(OnUSBDeviceDetach) (IN_GUID aId, IVirtualBoxErrorInfo *aError); 107 107 STDMETHOD(OnShowWindow) (BOOL aCheck, BOOL *aCanShow, ULONG64 *aWinId); 108 STDMETHOD(AccessGuestProperty) (IN PTR BSTR aName, INPTR BSTR aValue, INPTRBSTR aFlags,108 STDMETHOD(AccessGuestProperty) (IN_BSTR aName, IN_BSTR aValue, IN_BSTR aFlags, 109 109 BOOL aIsSetter, BSTR *aRetValue, ULONG64 *aRetTimestamp, BSTR *aRetFlags); 110 STDMETHOD(EnumerateGuestProperties) (IN PTRBSTR aPatterns,110 STDMETHOD(EnumerateGuestProperties) (IN_BSTR aPatterns, 111 111 ComSafeArrayOut(BSTR, aNames), 112 112 ComSafeArrayOut(BSTR, aValues), -
trunk/src/VBox/Main/include/SharedFolderImpl.h
r14949 r15051 67 67 68 68 // public initializer/uninitializer for internal purposes only 69 HRESULT init (Machine *aMachine, const BSTR aName, constBSTR aHostPath, BOOL aWritable);69 HRESULT init (Machine *aMachine, CBSTR aName, CBSTR aHostPath, BOOL aWritable); 70 70 HRESULT initCopy (Machine *aMachine, SharedFolder *aThat); 71 HRESULT init (Console *aConsole, const BSTR aName, constBSTR aHostPath, BOOL aWritable);72 HRESULT init (VirtualBox *aVirtualBox, const BSTR aName, constBSTR aHostPath, BOOL aWritable);71 HRESULT init (Console *aConsole, CBSTR aName, CBSTR aHostPath, BOOL aWritable); 72 HRESULT init (VirtualBox *aVirtualBox, CBSTR aName, CBSTR aHostPath, BOOL aWritable); 73 73 void uninit(); 74 74 … … 95 95 96 96 HRESULT protectedInit (VirtualBoxBaseWithChildrenNEXT *aParent, 97 const BSTR aName, constBSTR aHostPath, BOOL aWritable);97 CBSTR aName, CBSTR aHostPath, BOOL aWritable); 98 98 99 99 private: … … 111 111 COM_DECL_READONLY_ENUM_AND_COLLECTION_BEGIN (SharedFolder) 112 112 113 STDMETHOD(FindByName) (IN PTRBSTR aName, ISharedFolder **aSharedFolder)113 STDMETHOD(FindByName) (IN_BSTR aName, ISharedFolder **aSharedFolder) 114 114 { 115 115 if (!aName) -
trunk/src/VBox/Main/include/SnapshotImpl.h
r14949 r15051 70 70 71 71 // public initializer/uninitializer only for internal purposes 72 HRESULT init (const Guid &aId, IN PTR BSTR aName, INPTRBSTR aDescription,72 HRESULT init (const Guid &aId, IN_BSTR aName, IN_BSTR aDescription, 73 73 RTTIMESPEC aTimeStamp, SnapshotMachine *aMachine, 74 74 Snapshot *aParent); … … 78 78 79 79 // ISnapshot properties 80 STDMETHOD(COMGETTER(Id)) ( GUIDPARAMOUTaId);80 STDMETHOD(COMGETTER(Id)) (OUT_GUID aId); 81 81 STDMETHOD(COMGETTER(Name)) (BSTR *aName); 82 STDMETHOD(COMSETTER(Name)) (IN PTRBSTR aName);82 STDMETHOD(COMSETTER(Name)) (IN_BSTR aName); 83 83 STDMETHOD(COMGETTER(Description)) (BSTR *aDescription); 84 STDMETHOD(COMSETTER(Description)) (IN PTRBSTR aDescription);84 STDMETHOD(COMSETTER(Description)) (IN_BSTR aDescription); 85 85 STDMETHOD(COMGETTER(TimeStamp)) (LONG64 *aTimeStamp); 86 86 STDMETHOD(COMGETTER(Online)) (BOOL *aOnline); … … 110 110 111 111 ULONG descendantCount(); 112 ComObjPtr <Snapshot> findChildOrSelf (IN PTR GUIDPARAMaId);113 ComObjPtr <Snapshot> findChildOrSelf (IN PTRBSTR aName);112 ComObjPtr <Snapshot> findChildOrSelf (IN_GUID aId); 113 ComObjPtr <Snapshot> findChildOrSelf (IN_BSTR aName); 114 114 115 115 void updateSavedStatePaths (const char *aOldPath, const char *aNewPath); -
trunk/src/VBox/Main/include/SystemPropertiesImpl.h
r14949 r15051 76 76 STDMETHOD(COMGETTER(MaxBootPosition) (ULONG *aMaxBootPosition)); 77 77 STDMETHOD(COMGETTER(DefaultMachineFolder)) (BSTR *aDefaultMachineFolder); 78 STDMETHOD(COMSETTER(DefaultMachineFolder)) (IN PTRBSTR aDefaultMachineFolder);78 STDMETHOD(COMSETTER(DefaultMachineFolder)) (IN_BSTR aDefaultMachineFolder); 79 79 STDMETHOD(COMGETTER(DefaultHardDiskFolder)) (BSTR *aDefaultHardDiskFolder); 80 STDMETHOD(COMSETTER(DefaultHardDiskFolder)) (IN PTRBSTR aDefaultHardDiskFolder);80 STDMETHOD(COMSETTER(DefaultHardDiskFolder)) (IN_BSTR aDefaultHardDiskFolder); 81 81 STDMETHOD(COMGETTER(HardDiskFormats)) (ComSafeArrayOut (IHardDiskFormat *, aHardDiskFormats)); 82 82 STDMETHOD(COMGETTER(DefaultHardDiskFormat)) (BSTR *aDefaultHardDiskFolder); 83 STDMETHOD(COMSETTER(DefaultHardDiskFormat)) (IN PTRBSTR aDefaultHardDiskFolder);83 STDMETHOD(COMSETTER(DefaultHardDiskFormat)) (IN_BSTR aDefaultHardDiskFolder); 84 84 STDMETHOD(COMGETTER(RemoteDisplayAuthLibrary)) (BSTR *aRemoteDisplayAuthLibrary); 85 STDMETHOD(COMSETTER(RemoteDisplayAuthLibrary)) (IN PTRBSTR aRemoteDisplayAuthLibrary);85 STDMETHOD(COMSETTER(RemoteDisplayAuthLibrary)) (IN_BSTR aRemoteDisplayAuthLibrary); 86 86 STDMETHOD(COMGETTER(WebServiceAuthLibrary)) (BSTR *aWebServiceAuthLibrary); 87 STDMETHOD(COMSETTER(WebServiceAuthLibrary)) (IN PTRBSTR aWebServiceAuthLibrary);87 STDMETHOD(COMSETTER(WebServiceAuthLibrary)) (IN_BSTR aWebServiceAuthLibrary); 88 88 STDMETHOD(COMGETTER(HWVirtExEnabled)) (BOOL *enabled); 89 89 STDMETHOD(COMSETTER(HWVirtExEnabled)) (BOOL enabled); … … 96 96 HRESULT saveSettings (settings::Key &aGlobal); 97 97 98 ComObjPtr <HardDiskFormat> hardDiskFormat ( constBSTR aFormat);98 ComObjPtr <HardDiskFormat> hardDiskFormat (CBSTR aFormat); 99 99 100 100 // public methods for internal purposes only … … 120 120 typedef std::list <ComObjPtr <HardDiskFormat> > HardDiskFormatList; 121 121 122 HRESULT setDefaultMachineFolder ( constBSTR aPath);123 HRESULT setDefaultHardDiskFolder ( constBSTR aPath);124 HRESULT setDefaultHardDiskFormat ( constBSTR aFormat);122 HRESULT setDefaultMachineFolder (CBSTR aPath); 123 HRESULT setDefaultHardDiskFolder (CBSTR aPath); 124 HRESULT setDefaultHardDiskFormat (CBSTR aFormat); 125 125 126 HRESULT setRemoteDisplayAuthLibrary ( constBSTR aPath);127 HRESULT setWebServiceAuthLibrary ( constBSTR aPath);126 HRESULT setRemoteDisplayAuthLibrary (CBSTR aPath); 127 HRESULT setWebServiceAuthLibrary (CBSTR aPath); 128 128 129 129 const ComObjPtr <VirtualBox, ComWeakRef> mParent; -
trunk/src/VBox/Main/include/USBControllerImpl.h
r14949 r15051 102 102 103 103 // IUSBController methods 104 STDMETHOD(CreateDeviceFilter) (IN PTRBSTR aName, IUSBDeviceFilter **aFilter);104 STDMETHOD(CreateDeviceFilter) (IN_BSTR aName, IUSBDeviceFilter **aFilter); 105 105 STDMETHOD(InsertDeviceFilter) (ULONG aPosition, IUSBDeviceFilter *aFilter); 106 106 STDMETHOD(RemoveDeviceFilter) (ULONG aPosition, IUSBDeviceFilter **aFilter); -
trunk/src/VBox/Main/include/USBDeviceImpl.h
r14949 r15051 64 64 65 65 // IUSBDevice properties 66 STDMETHOD(COMGETTER(Id))( GUIDPARAMOUTaId);66 STDMETHOD(COMGETTER(Id))(OUT_GUID aId); 67 67 STDMETHOD(COMGETTER(VendorId))(USHORT *aVendorId); 68 68 STDMETHOD(COMGETTER(ProductId))(USHORT *aProductId); … … 123 123 COM_DECL_READONLY_ENUM_AND_COLLECTION_EX_BEGIN (ComObjPtr <OUSBDevice>, IUSBDevice, OUSBDevice) 124 124 125 STDMETHOD(FindById) (IN PTR GUIDPARAMaId, IUSBDevice **aDevice)125 STDMETHOD(FindById) (IN_GUID aId, IUSBDevice **aDevice) 126 126 { 127 127 Guid idToFind = aId; … … 153 153 } 154 154 155 STDMETHOD(FindByAddress) (IN PTRBSTR aAddress, IUSBDevice **aDevice)155 STDMETHOD(FindByAddress) (IN_BSTR aAddress, IUSBDevice **aDevice) 156 156 { 157 157 if (!aAddress) -
trunk/src/VBox/Main/include/VRDPServerImpl.h
r14949 r15051 92 92 STDMETHOD(COMSETTER(Port)) (ULONG aPort); 93 93 STDMETHOD(COMGETTER(NetAddress)) (BSTR *aAddress); 94 STDMETHOD(COMSETTER(NetAddress)) (IN PTRBSTR aAddress);94 STDMETHOD(COMSETTER(NetAddress)) (IN_BSTR aAddress); 95 95 STDMETHOD(COMGETTER(AuthType)) (VRDPAuthType_T *aType); 96 96 STDMETHOD(COMSETTER(AuthType)) (VRDPAuthType_T aType); -
trunk/src/VBox/Main/include/VirtualBoxErrorInfoImpl.h
r14972 r15051 70 70 // public initializer/uninitializer for internal purposes only 71 71 HRESULT init (HRESULT aResultCode, const GUID &aIID, 72 const BSTR aComponent, constBSTR aText,72 CBSTR aComponent, CBSTR aText, 73 73 IVirtualBoxErrorInfo *aNext = NULL); 74 74 75 75 // IVirtualBoxErrorInfo properties 76 76 STDMETHOD(COMGETTER(ResultCode)) (HRESULT *aResultCode); 77 STDMETHOD(COMGETTER(InterfaceID)) ( GUIDPARAMOUTaIID);77 STDMETHOD(COMGETTER(InterfaceID)) (OUT_GUID aIID); 78 78 STDMETHOD(COMGETTER(Component)) (BSTR *aComponent); 79 79 STDMETHOD(COMGETTER(Text)) (BSTR *aText); -
trunk/src/VBox/Main/include/VirtualBoxImpl.h
r14949 r15051 137 137 /* IVirtualBox methods */ 138 138 139 STDMETHOD(CreateMachine) (IN PTR BSTR aName, INPTR BSTR aOsTypeId, INPTRBSTR aBaseFolder,140 IN PTR GUIDPARAMaId, IMachine **aMachine);141 STDMETHOD(CreateLegacyMachine) (IN PTR BSTR aName, INPTR BSTR aOsTypeId, INPTRBSTR aSettingsFile,142 IN PTR GUIDPARAMaId, IMachine **aMachine);143 STDMETHOD(OpenMachine) (IN PTRBSTR aSettingsFile, IMachine **aMachine);139 STDMETHOD(CreateMachine) (IN_BSTR aName, IN_BSTR aOsTypeId, IN_BSTR aBaseFolder, 140 IN_GUID aId, IMachine **aMachine); 141 STDMETHOD(CreateLegacyMachine) (IN_BSTR aName, IN_BSTR aOsTypeId, IN_BSTR aSettingsFile, 142 IN_GUID aId, IMachine **aMachine); 143 STDMETHOD(OpenMachine) (IN_BSTR aSettingsFile, IMachine **aMachine); 144 144 STDMETHOD(RegisterMachine) (IMachine *aMachine); 145 STDMETHOD(GetMachine) (IN PTR GUIDPARAMaId, IMachine **aMachine);146 STDMETHOD(FindMachine) (IN PTRBSTR aName, IMachine **aMachine);147 STDMETHOD(UnregisterMachine) (IN PTR GUIDPARAMaId, IMachine **aMachine);148 149 STDMETHOD(CreateHardDisk2) (IN PTR BSTR aFormat, INPTRBSTR aLocation,145 STDMETHOD(GetMachine) (IN_GUID aId, IMachine **aMachine); 146 STDMETHOD(FindMachine) (IN_BSTR aName, IMachine **aMachine); 147 STDMETHOD(UnregisterMachine) (IN_GUID aId, IMachine **aMachine); 148 149 STDMETHOD(CreateHardDisk2) (IN_BSTR aFormat, IN_BSTR aLocation, 150 150 IHardDisk2 **aHardDisk); 151 STDMETHOD(OpenHardDisk2) (IN PTRBSTR aLocation, IHardDisk2 **aHardDisk);152 STDMETHOD(GetHardDisk2) (IN PTR GUIDPARAMaId, IHardDisk2 **aHardDisk);153 STDMETHOD(FindHardDisk2) (IN PTRBSTR aLocation, IHardDisk2 **aHardDisk);154 155 STDMETHOD(OpenDVDImage) (IN PTR BSTR aLocation, INPTR GUIDPARAMaId,151 STDMETHOD(OpenHardDisk2) (IN_BSTR aLocation, IHardDisk2 **aHardDisk); 152 STDMETHOD(GetHardDisk2) (IN_GUID aId, IHardDisk2 **aHardDisk); 153 STDMETHOD(FindHardDisk2) (IN_BSTR aLocation, IHardDisk2 **aHardDisk); 154 155 STDMETHOD(OpenDVDImage) (IN_BSTR aLocation, IN_GUID aId, 156 156 IDVDImage2 **aDVDImage); 157 STDMETHOD(GetDVDImage) (IN PTR GUIDPARAMaId, IDVDImage2 **aDVDImage);158 STDMETHOD(FindDVDImage) (IN PTRBSTR aLocation, IDVDImage2 **aDVDImage);159 160 STDMETHOD(OpenFloppyImage) (IN PTR BSTR aLocation, INPTR GUIDPARAMaId,157 STDMETHOD(GetDVDImage) (IN_GUID aId, IDVDImage2 **aDVDImage); 158 STDMETHOD(FindDVDImage) (IN_BSTR aLocation, IDVDImage2 **aDVDImage); 159 160 STDMETHOD(OpenFloppyImage) (IN_BSTR aLocation, IN_GUID aId, 161 161 IFloppyImage2 **aFloppyImage); 162 STDMETHOD(GetFloppyImage) (IN PTR GUIDPARAMaId, IFloppyImage2 **aFloppyImage);163 STDMETHOD(FindFloppyImage) (IN PTRBSTR aLocation, IFloppyImage2 **aFloppyImage);164 165 STDMETHOD(GetGuestOSType) (IN PTRBSTR aId, IGuestOSType **aType);166 STDMETHOD(CreateSharedFolder) (IN PTR BSTR aName, INPTRBSTR aHostPath, BOOL aWritable);167 STDMETHOD(RemoveSharedFolder) (IN PTRBSTR aName);168 STDMETHOD(GetNextExtraDataKey) (IN PTRBSTR aKey, BSTR *aNextKey, BSTR *aNextValue);169 STDMETHOD(GetExtraData) (IN PTRBSTR aKey, BSTR *aValue);170 STDMETHOD(SetExtraData) (IN PTR BSTR aKey, INPTRBSTR aValue);171 STDMETHOD(OpenSession) (ISession *aSession, IN PTR GUIDPARAMaMachineId);172 STDMETHOD(OpenRemoteSession) (ISession *aSession, IN PTR GUIDPARAMaMachineId,173 IN PTR BSTR aType, INPTRBSTR aEnvironment,162 STDMETHOD(GetFloppyImage) (IN_GUID aId, IFloppyImage2 **aFloppyImage); 163 STDMETHOD(FindFloppyImage) (IN_BSTR aLocation, IFloppyImage2 **aFloppyImage); 164 165 STDMETHOD(GetGuestOSType) (IN_BSTR aId, IGuestOSType **aType); 166 STDMETHOD(CreateSharedFolder) (IN_BSTR aName, IN_BSTR aHostPath, BOOL aWritable); 167 STDMETHOD(RemoveSharedFolder) (IN_BSTR aName); 168 STDMETHOD(GetNextExtraDataKey) (IN_BSTR aKey, BSTR *aNextKey, BSTR *aNextValue); 169 STDMETHOD(GetExtraData) (IN_BSTR aKey, BSTR *aValue); 170 STDMETHOD(SetExtraData) (IN_BSTR aKey, IN_BSTR aValue); 171 STDMETHOD(OpenSession) (ISession *aSession, IN_GUID aMachineId); 172 STDMETHOD(OpenRemoteSession) (ISession *aSession, IN_GUID aMachineId, 173 IN_BSTR aType, IN_BSTR aEnvironment, 174 174 IProgress **aProgress); 175 STDMETHOD(OpenExistingSession) (ISession *aSession, IN PTR GUIDPARAMaMachineId);175 STDMETHOD(OpenExistingSession) (ISession *aSession, IN_GUID aMachineId); 176 176 177 177 STDMETHOD(RegisterCallback) (IVirtualBoxCallback *aCallback); 178 178 STDMETHOD(UnregisterCallback) (IVirtualBoxCallback *aCallback); 179 179 180 STDMETHOD(WaitForPropertyChange) (IN PTRBSTR aWhat, ULONG aTimeout,180 STDMETHOD(WaitForPropertyChange) (IN_BSTR aWhat, ULONG aTimeout, 181 181 BSTR *aChanged, BSTR *aValues); 182 182 … … 189 189 190 190 HRESULT addProgress (IProgress *aProgress); 191 HRESULT removeProgress (IN PTR GUIDPARAMaId);191 HRESULT removeProgress (IN_GUID aId); 192 192 193 193 #ifdef RT_OS_WINDOWS … … 204 204 void onMachineStateChange (const Guid &aId, MachineState_T aState); 205 205 void onMachineDataChange (const Guid &aId); 206 BOOL onExtraDataCanChange(const Guid &aId, IN PTR BSTR aKey, INPTRBSTR aValue,206 BOOL onExtraDataCanChange(const Guid &aId, IN_BSTR aKey, IN_BSTR aValue, 207 207 Bstr &aError); 208 void onExtraDataChange(const Guid &aId, IN PTR BSTR aKey, INPTRBSTR aValue);208 void onExtraDataChange(const Guid &aId, IN_BSTR aKey, IN_BSTR aValue); 209 209 void onMachineRegistered (const Guid &aId, BOOL aRegistered); 210 210 void onSessionStateChange (const Guid &aId, SessionState_T aState); … … 213 213 void onSnapshotDiscarded (const Guid &aMachineId, const Guid &aSnapshotId); 214 214 void onSnapshotChange (const Guid &aMachineId, const Guid &aSnapshotId); 215 void onGuestPropertyChange (const Guid &aMachineId, IN PTR BSTR aName, INPTRBSTR aValue,216 IN PTRBSTR aFlags);215 void onGuestPropertyChange (const Guid &aMachineId, IN_BSTR aName, IN_BSTR aValue, 216 IN_BSTR aFlags); 217 217 218 218 ComObjPtr <GuestOSType> getUnknownOSType(); … … 234 234 ComObjPtr <Machine> *machine = NULL); 235 235 236 HRESULT findHardDisk2 (const Guid *aId, constBSTR aLocation,236 HRESULT findHardDisk2 (const Guid *aId, CBSTR aLocation, 237 237 bool aSetError, ComObjPtr <HardDisk2> *aHardDisk = NULL); 238 HRESULT findDVDImage2 (const Guid *aId, constBSTR aLocation,238 HRESULT findDVDImage2 (const Guid *aId, CBSTR aLocation, 239 239 bool aSetError, ComObjPtr <DVDImage2> *aImage = NULL); 240 HRESULT findFloppyImage2 (const Guid *aId, constBSTR aLocation,240 HRESULT findFloppyImage2 (const Guid *aId, CBSTR aLocation, 241 241 bool aSetError, ComObjPtr <FloppyImage2> *aImage = NULL); 242 242
Note:
See TracChangeset
for help on using the changeset viewer.