IMDSPDevice2::GetSpecifyPropertyPages method (mswmdm.h)

The GetSpecifyPropertyPages method gets property pages describing non-standard capabilities of portable devices.

Syntax

HRESULT GetSpecifyPropertyPages(
  [out] ISpecifyPropertyPages **ppSpecifyPropPages,
  [out] IUnknown              ***pppUnknowns,
  [out] ULONG                 *pcUnks
);

Parameters

[out] ppSpecifyPropPages

Pointer to a Win32 ISpecifyPropertyPages interface pointer.

[out] pppUnknowns

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.

[out] pcUnks

Size of the pppUnknowns array.

Return value

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 extensive list of possible error codes, see Error Codes.

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.

This method is optional. For more information, see Mandatory and Optional Interfaces.

Requirements

Requirement Value
Target Platform Windows
Header mswmdm.h
Library Mssachlp.lib

See also

IMDSPDevice2 Interface