vbox的更動 36615 路徑 trunk/src/VBox/Main/include/HostImpl.h
- 時間撮記:
- 2011-4-7 下午12:45:27 (14 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Main/include/HostImpl.h
r35813 r36615 5 5 6 6 /* 7 * Copyright (C) 2006-20 09Oracle Corporation7 * Copyright (C) 2006-2011 Oracle Corporation 8 8 * 9 9 * This file is part of VirtualBox Open Source Edition (OSE), as … … 57 57 58 58 // IHost properties 59 STDMETHOD(COMGETTER(DVDDrives))(ComSafeArrayOut 60 STDMETHOD(COMGETTER(FloppyDrives))(ComSafeArrayOut 61 STDMETHOD(COMGETTER(USBDevices))(ComSafeArrayOut 62 STDMETHOD(COMGETTER(USBDeviceFilters))(ComSafeArrayOut 63 STDMETHOD(COMGETTER(NetworkInterfaces))(ComSafeArrayOut 59 STDMETHOD(COMGETTER(DVDDrives))(ComSafeArrayOut(IMedium *, drives)); 60 STDMETHOD(COMGETTER(FloppyDrives))(ComSafeArrayOut(IMedium *, drives)); 61 STDMETHOD(COMGETTER(USBDevices))(ComSafeArrayOut(IHostUSBDevice *, aUSBDevices)); 62 STDMETHOD(COMGETTER(USBDeviceFilters))(ComSafeArrayOut(IHostUSBDeviceFilter *, aUSBDeviceFilters)); 63 STDMETHOD(COMGETTER(NetworkInterfaces))(ComSafeArrayOut(IHostNetworkInterface *, aNetworkInterfaces)); 64 64 STDMETHOD(COMGETTER(ProcessorCount))(ULONG *count); 65 65 STDMETHOD(COMGETTER(ProcessorOnlineCount))(ULONG *count); … … 67 67 STDMETHOD(GetProcessorSpeed)(ULONG cpuId, ULONG *speed); 68 68 STDMETHOD(GetProcessorDescription)(ULONG cpuId, BSTR *description); 69 STDMETHOD(GetProcessorFeature) 69 STDMETHOD(GetProcessorFeature)(ProcessorFeature_T feature, BOOL *supported); 70 70 STDMETHOD(GetProcessorCPUIDLeaf)(ULONG aCpuId, ULONG aLeaf, ULONG aSubLeaf, ULONG *aValEAX, ULONG *aValEBX, ULONG *aValECX, ULONG *aValEDX); 71 71 STDMETHOD(COMGETTER(MemorySize))(ULONG *size); … … 77 77 78 78 // IHost methods 79 STDMETHOD(CreateHostOnlyNetworkInterface) 80 81 STDMETHOD(RemoveHostOnlyNetworkInterface) 82 STDMETHOD(CreateUSBDeviceFilter) 83 STDMETHOD(InsertUSBDeviceFilter) 84 STDMETHOD(RemoveUSBDeviceFilter) 79 STDMETHOD(CreateHostOnlyNetworkInterface)(IHostNetworkInterface **aHostNetworkInterface, 80 IProgress **aProgress); 81 STDMETHOD(RemoveHostOnlyNetworkInterface)(IN_BSTR aId, IProgress **aProgress); 82 STDMETHOD(CreateUSBDeviceFilter)(IN_BSTR aName, IHostUSBDeviceFilter **aFilter); 83 STDMETHOD(InsertUSBDeviceFilter)(ULONG aPosition, IHostUSBDeviceFilter *aFilter); 84 STDMETHOD(RemoveUSBDeviceFilter)(ULONG aPosition); 85 85 86 STDMETHOD(FindHostDVDDrive) (IN_BSTR aName, IMedium **aDrive); 87 STDMETHOD(FindHostFloppyDrive) (IN_BSTR aName, IMedium **aDrive); 88 STDMETHOD(FindHostNetworkInterfaceByName) (IN_BSTR aName, IHostNetworkInterface **networkInterface); 89 STDMETHOD(FindHostNetworkInterfaceById) (IN_BSTR id, IHostNetworkInterface **networkInterface); 90 STDMETHOD(FindHostNetworkInterfacesOfType) (HostNetworkInterfaceType_T type, ComSafeArrayOut (IHostNetworkInterface *, aNetworkInterfaces)); 91 STDMETHOD(FindUSBDeviceByAddress) (IN_BSTR aAddress, IHostUSBDevice **aDevice); 92 STDMETHOD(FindUSBDeviceById) (IN_BSTR aId, IHostUSBDevice **aDevice); 86 STDMETHOD(FindHostDVDDrive)(IN_BSTR aName, IMedium **aDrive); 87 STDMETHOD(FindHostFloppyDrive)(IN_BSTR aName, IMedium **aDrive); 88 STDMETHOD(FindHostNetworkInterfaceByName)(IN_BSTR aName, IHostNetworkInterface **networkInterface); 89 STDMETHOD(FindHostNetworkInterfaceById)(IN_BSTR id, IHostNetworkInterface **networkInterface); 90 STDMETHOD(FindHostNetworkInterfacesOfType)(HostNetworkInterfaceType_T type, ComSafeArrayOut(IHostNetworkInterface *, aNetworkInterfaces)); 91 STDMETHOD(FindUSBDeviceByAddress)(IN_BSTR aAddress, IHostUSBDevice **aDevice); 92 STDMETHOD(FindUSBDeviceById)(IN_BSTR aId, IHostUSBDevice **aDevice); 93 STDMETHOD(GenerateMACAddress)(BSTR *aAddress); 93 94 94 95 // public methods only for internal purposes … … 125 126 #endif /* !VBOX_WITH_USB */ 126 127 128 static void generateMACAddress(Utf8Str &mac); 129 127 130 private: 128 131 … … 143 146 144 147 #ifdef VBOX_WITH_RESOURCE_USAGE_API 145 void registerMetrics 146 void unregisterMetrics 148 void registerMetrics(PerformanceCollector *aCollector); 149 void unregisterMetrics(PerformanceCollector *aCollector); 147 150 #endif /* VBOX_WITH_RESOURCE_USAGE_API */ 148 151
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器