IEnhancedStorageSilo::GetPortableDevice method (ehstorapi.h)

Obtains an IPortableDevice pointer used to issue commands to the corresponding Enhanced Storage silo driver.

Syntax

HRESULT GetPortableDevice(
  [out] IPortableDevice **ppIPortableDevice
);

Parameters

[out] ppIPortableDevice

Pointer to a pointer to an IPortableDevice object.

Return value

This method can return one of these values.

Return code Description
S_OK
Pointer to IPortableDevice was obtained successfully.
E_INVALIDARG
ppIPortableDevice is NULL.

Requirements

Requirement Value
Minimum supported client Windows Vista with SP2 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header ehstorapi.h

See also

IEnhancedStorageSilo