다음을 통해 공유


IWMDMDevice2::GetSpecifyPropertyPages

banner art

The GetSpecifyPropertyPages method gets property pages for portable devices. 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.

pppUnknowns

[out]  Specifies an 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]  Provides the 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 is allocated by this method and must be freed by the caller using CoTaskMemFree, a standard Win32 function.

Requirements

Header: Defined in wmdm.idl.

Library: mssachlp.lib

See Also