StorageControllerImpl.h revision bf88068260ded16af90b7da4867240fbdd9c8017
7189dad3705d42e9874af1e1c8a8c7e5cceee9f7vboxsync * VBox StorageController COM Class declaration.
7b01db654c23d4e432465aebc1a1853e8d6b3194vboxsync * Copyright (C) 2008 Oracle Corporation
7189dad3705d42e9874af1e1c8a8c7e5cceee9f7vboxsync * This file is part of VirtualBox Open Source Edition (OSE), as
7189dad3705d42e9874af1e1c8a8c7e5cceee9f7vboxsync * available from http://www.virtualbox.org. This file is free software;
7189dad3705d42e9874af1e1c8a8c7e5cceee9f7vboxsync * you can redistribute it and/or modify it under the terms of the GNU
7189dad3705d42e9874af1e1c8a8c7e5cceee9f7vboxsync * General Public License (GPL) as published by the Free Software
7189dad3705d42e9874af1e1c8a8c7e5cceee9f7vboxsync * Foundation, in version 2 as it comes in the "COPYING" file of the
7189dad3705d42e9874af1e1c8a8c7e5cceee9f7vboxsync * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
7189dad3705d42e9874af1e1c8a8c7e5cceee9f7vboxsync * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
7189dad3705d42e9874af1e1c8a8c7e5cceee9f7vboxsync VIRTUALBOXBASE_ADD_ERRORINFO_SUPPORT(StorageController, IStorageController)
fe06619ae576367ff3568e6abd99fb8ad28cc73avboxsync COM_INTERFACE_ENTRY2 (IDispatch, IStorageController)
7b01db654c23d4e432465aebc1a1853e8d6b3194vboxsync // public initializer/uninitializer for internal purposes only
7b01db654c23d4e432465aebc1a1853e8d6b3194vboxsync bool aReshare = false);
7189dad3705d42e9874af1e1c8a8c7e5cceee9f7vboxsync // IStorageController properties
7189dad3705d42e9874af1e1c8a8c7e5cceee9f7vboxsync STDMETHOD(COMGETTER(ControllerType)) (StorageControllerType_T *aControllerType);
7189dad3705d42e9874af1e1c8a8c7e5cceee9f7vboxsync STDMETHOD(COMSETTER(ControllerType)) (StorageControllerType_T aControllerType);
7b01db654c23d4e432465aebc1a1853e8d6b3194vboxsync STDMETHOD(COMGETTER(MaxDevicesPerPortCount)) (ULONG *aMaxDevices);
7b01db654c23d4e432465aebc1a1853e8d6b3194vboxsync STDMETHOD(COMGETTER(MinPortCount)) (ULONG *aMinPortCount);
7189dad3705d42e9874af1e1c8a8c7e5cceee9f7vboxsync STDMETHOD(COMGETTER(MaxPortCount)) (ULONG *aMaxPortCount);
7189dad3705d42e9874af1e1c8a8c7e5cceee9f7vboxsync STDMETHOD(COMGETTER(PortCount)) (ULONG *aPortCount);
7189dad3705d42e9874af1e1c8a8c7e5cceee9f7vboxsync STDMETHOD(COMSETTER(PortCount)) (ULONG aPortCount);
7b01db654c23d4e432465aebc1a1853e8d6b3194vboxsync STDMETHOD(COMGETTER(UseHostIOCache)) (BOOL *fUseHostIOCache);
7b01db654c23d4e432465aebc1a1853e8d6b3194vboxsync STDMETHOD(COMSETTER(UseHostIOCache)) (BOOL fUseHostIOCache);
7b01db654c23d4e432465aebc1a1853e8d6b3194vboxsync // StorageController methods
7b01db654c23d4e432465aebc1a1853e8d6b3194vboxsync STDMETHOD(GetIDEEmulationPort) (LONG DevicePosition, LONG *aPortNumber);
7b01db654c23d4e432465aebc1a1853e8d6b3194vboxsync STDMETHOD(SetIDEEmulationPort) (LONG DevicePosition, LONG aPortNumber);
7b01db654c23d4e432465aebc1a1853e8d6b3194vboxsync // public methods only for internal purposes
7b01db654c23d4e432465aebc1a1853e8d6b3194vboxsync bool getBootable() const;
4182d14dc02dba6587c15e358b87e5c9a6e60d15vboxsync HRESULT checkPortAndDeviceValid(LONG aControllerPort,
void commit();
void unshare();
void printList();
struct Data;
Data *m;