The IKsPropertySet::QuerySupport method determines whether a property set is supported by the object.
HRESULT QuerySupport(
REFGUID PropertySetId,
ULONG PropertyId,
PULONG pSupport
);
Parameters
PropertySetId
Identifier of the property set.
PropertyId
Identifier of the property within the property set.
pSupport
Pointer to a ULONG in which to store flags indicating the support provided by the driver. The following values may be set:
KSPROPERTY_SUPPORT_GET
The driver sets this flag to indicate that the property can be read by using the IKsPropertySet::Get method.
KSPROPERTY_SUPPORT_SET
The driver sets this flag to indicate that the property can be changed by using the IKsPropertySet::Set method.
Return Values
Returns E_NOTIMPL for property sets that are not supported. Other return values are determined by the designer of the property set.
Remarks
Whether it is valid to support some properties within the set but not others depends on the definition of the property set. Consult the hardware manufacturer's specification for the property set of interest.
QuickInfo
Windows NT: Use version 5.0 or later.
Windows: Use Windows 95 OSR2 or later. Available as a redistributable for Windows 95.
Windows CE: Unsupported.
Header: Declared in dsound.h.
Import Library: Use dsound.lib.