Partager via


IKsPropertySet::QuerySupported

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This method determines whether an object supports a specified property set.

Syntax

HRESULT QuerySupported(
  REFGUID guidPropSet,
  DWORD   dwPropID,
  DWORD*  pTypeSupport
);

Parameters

  • guidPropSet
    [in] Property set GUID.
  • dwPropID
    [in] Identifier of the property within the property set.
  • pTypeSupport
    [out] Pointer to a value in which to store flags indicating the support provided by the driver. Supported flags include the following:

    Value Description

    KSPROPERTY_SUPPORT_GET

    You can retrieve the property by calling the IKsPropertySet::Get method.

    KSPROPERTY_SUPPORT_SET

    You can change the property by calling IKsPropertySet::Set.

Return Value

Returns an HRESULT value. The following table shows some of the possible return values.

Value Description

S_OK

The specified property set and property ID combination is supported.

E_NOTIMPL

Property set is not supported.

E_PROP_ID_UNSUPPORTED

Property ID is not supported for the specified property set.

E_PROP_SET_UNSUPPORTED

Property set is not supported.

Requirements

Windows Embedded CE Windows CE 5.0 Networked Media Device Feature Pack and later
Windows Mobile Pocket PC for Windows Mobile Version 5.0 and later, Smartphone for Windows Mobile Version 5.0 and later
Note Microsoft DirectShow applications and DirectShow filters have different include file and Library requirements
For more information, see Setting Up the Build Environment

See Also

Reference

IKsPropertySet Interface
IKsPropertySet::Get
IKsPropertySet::Set