IMDSPDevice2::GetSpecifyPropertyPages
The GetSpecifyPropertyPages method gets property pages describing non-standard capabilities of portable devices. This method is optional. For more information, see the second table under Implementing Service Providers.
Syntax
HRESULT GetSpecifyPropertyPages(
ISpecifyPropertyPages** ppSpecifyPropPages,
IUnknown*** pppUnknowns,
ULONG* pcUnks
);
Parameters
ppSpecifyPropPages
[out] Pointer to an ISpecifyPropertyPages object pointer.
pppUnknowns
[out] Array of IUnknown interface pointers. These interfaces will be passed to the property page and can be used to pass information between the property page and the service provider.
pcUnks
[out] Size of the pppUnknowns array.
Return Values
The method returns an HRESULT. All the interface methods in Windows Media Device Manager and service provider 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 a complete 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. |
Remarks
Memory for the pppUnknowns array ** should be allocated by this method and must be freed by the caller using CoTaskMemFree, a standard Win32 function.
Requirements
Header: Defined in wmsp.idl.
Library: mssachlp.lib
See Also