Magazine |
| | Community |
| | Workshop |
| | Tools & Samples |
| | Training |
| | Site Info |
|
|
||||||||
|
Returns true if the specified version of the implementation supports the specified feature.
Syntax
HRESULT hasFeature( BSTR feature, BSTR version, VARIANT_BOOL * hasFeature);
Parameters
- feature
- [in] Feature to test. In Level 1, valid feature values are HTML and XML (case-insensitive).
- version
- [in] Version number to test, or, if null, tests for implementation of the feature in any version. In Level 1, 1.0 is the valid version value.
- hasFeature
- [out] True if the specified feature is implemented, or false otherwise.
Return Value
Returns S_OK if successful, or an error code otherwise.
See Also
Does this content meet your programming needs? Write us!
© 1998 Microsoft Corporation. All rights reserved. Terms of use.