ICondition::GetComparisonInfo Method
Retrieves the property name, operation, and value from a leaf node.
Syntax
HRESULT GetComparisonInfo( LPWSTR *ppszPropertyName, CONDITION_OPERATION *pOperation, PROPVARIANT *pValue );
Parameters
- ppszPropertyName
[out] Returns the name of the property of the leaf condition as a Unicode string.- pOperation
[out] Returns the operation of the leaf condition as a CONDITION_OPERATION.- pValue
[out] Returns the value of the leaf condition.
Return Value
Returns S_OK if successful, E_FAIL if this is not a leaf node, or an error value otherwise.
Remarks
Any one of ppszPropertyName, pOperation and pValue may be NULL.