Microsoft DirectShow 9.0


The QuerySupported method determines whether an object supports a specified property set.


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



[in] Property set GUID.


[in] Identifier of the property within the property set.


[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.


  • **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.


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

Library: Use Strmiids.lib.

See Also