GetVendorData method of the MSFT_StorageEnclosure class

Returns the vendor-specific data from an enclosure.

Syntax

HRESULT GetVendorData(
  [in]  UInt16 PageNumber,
  [out] String VendorData,
  [out] String ExtendedStatus
);

Parameters

PageNumber [in]

The page number for which vendor data is requested.

VendorData [out]

The vendor-specific data ("page 04h", for example) from an enclosure.

ExtendedStatus [out]

A string that contains an embedded MSFT_StorageExtendedStatus object.

This parameter allows the storage provider to return extended (implementation-specific) error information.

Return value

This method can return one of these values.

Return value Description
0 Success.
1 Not supported.
2 Unspecified error.
3 Timeout.
4 Failed.
5 Invalid parameter.
40001 Access denied.
40002 There are not enough resources to complete the operation.
46000 Cannot connect to the storage provider.
46001 The storage provider cannot connect to the storage subsystem.

Requirements

Requirement Value
Minimum supported client Windows 8.1 [desktop apps only]
Minimum supported server Windows Server 2012 R2 [desktop apps only]
Namespace Root\Microsoft\Windows\Storage
MOF Storagewmi.mof

See also

MSFT_StorageEnclosure