Compartilhar via


IKsPropertySet::QuerySupported (Compact 2013)

3/26/2014

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

Header

dshow.h

Library

Strmiids.lib

See Also

Reference

IKsPropertySet Interface
IKsPropertySet::Get
IKsPropertySet::Set