Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves the path to the silo device node. The returned string is suitable for passing to Windows System APIs such as CreateFile or SetupDiOpenDeviceInterface.
Syntax
HRESULT GetDevicePath(
[out] LPWSTR *ppwszSiloDevicePath
);
Parameters
[out] ppwszSiloDevicePath
A pointer to a string that represents the path to the Silo device node.
Return value
This method can return one of these values.
Return code | Description |
---|---|
|
Device path string was retrieved successfully. |
|
ppwszSiloDevicePath is NULL. |
Remarks
The memory to contain the device path string is allocated by the Enhanced Storage API and must be freed by passing the returned pointer to CoTaskMemFree.
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 |