共用方式為


IWMDMEnumStorage Interface

banner art

The IWMDMEnumStorage interface enumerates storages on a device. Obtain this interface the first time by calling IWMDMDevice::EnumStorage on a device, and afterward by calling IWMDMStorage::EnumStorage. This interface only enumerates the immediate children of the parent storage that was used to obtain this interface. (If IWMDMDevice::EnumStorage was used, the parent storage is the device's root storage.)

In addition to the methods inherited from IUnknown, the IWMDMEnumStorage interface exposes the following methods.

Method Description
Clone Creates another enumerator with the same enumeration state as the current enumerator.
Next Retrieves a pointer to the next sibling storage
Reset Sets the enumeration sequence back to the beginning.
Skip Skips over the specified number of storage devices or separate items of content in the enumeration sequence.

See Also