IKsPropertySet::QuerySupported method

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

Syntax


HRESULT QuerySupported(
  [in]  REFGUID guidPropSet,
  [in]  DWORD   dwPropID,
  [out] 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_GETYou can retrieve the property by calling the IKsPropertySet::Get method.
KSPROPERTY_SUPPORT_SETYou can change the property by calling IKsPropertySet::Set.

 

Return value

Returns an HRESULT value. Possible values include the following.

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

You must include Ks.h before Ksproxy.h.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Ks.h;
Ksproxy.h

Library

Strmiids.lib

See also

Error and Success Codes
IKsPropertySet Interface
Property Sets

 

 

Show: