Freigeben über


IKsPropertySet::QuerySupported

 
Microsoft DirectShow 9.0

IKsPropertySet::QuerySupported

The QuerySupported 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 Values

Returns an HRESULT value. Possible values include the following.

Return code 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.

Remarks

  • **Note   **Another interface by this name exists in the dsound.h header file. The two interfaces are not compatible. The IKsControl interface, documented in the DirectShow DDK, is now the recommended interface for passing property sets between WDM drivers and user mode components.

Requirements

Header: Include Ks.h, Ksproxy.h. You must include Ks.h before Ksproxy.h.

Library: Use Strmiids.lib.

See Also