IKsPropertySet::QuerySupport
This 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 that will store flags indicating the support provided by the driver. The following table shows the supported flags.Flag Description 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
This method returns E_NOTIMPL for property sets that are not supported. Other return values are determined by the designer of the property set.
Remarks
The definition of the property set determines whether it is valid to support some properties within the set but not others. Consult the hardware manufacturer's specification for the property set of interest.
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Dsound.h.
Link Library: Dsound.lib.
See Also
Last updated on Thursday, April 08, 2004
© 1992-2003 Microsoft Corporation. All rights reserved.