IWMDMDevice2::GetSpecifyPropertyPages
The GetSpecifyPropertyPages method retrieves the property page for the device. Property pages can be used to report device-specific properties and branding information.
Syntax
HRESULT GetSpecifyPropertyPages(ISpecifyPropertyPages**ppSpecifyPropPages,IUnknown***pppUnknowns,ULONG*pcUnks);
Parameters
ppSpecifyPropPages
[out] Pointer to a pointer to an ISpecifyPropertyPages interface. ISpecifyPropertyPages is documented in the COM area of the Platform SDK. The caller must release this interface when done with it.
pppUnknowns
[out] Specifies an array of IUnknown interface pointers. These interfaces are passed to the property page and can be used to pass information between the property page and the service provider. The array is allocated by Windows Media Device Manager, but the caller must call Release on each interface retrieved, and CoTaskMemFree on the retrieved array.
pcUnks
[out] Retrieves the size of the pppUnknowns array.
Return Values
The method returns an HRESULT. All the interface methods in Windows Media Device Manager can return any of the following classes of error codes:
- Standard COM error codes
- Windows error codes converted to HRESULT values
- Windows Media Device Manager error codes
For an extenstive list of possible error codes, see Error Codes.
Possible values include, but are not limited to, those in the following table.
Return code | Description |
S_OK | The method succeeded. |
E_FAIL | An unspecified error occurred. |
Requirements
Header: Defined in mswmdm.h.
Library: mssachlp.lib
See Also