ICondition::GetValueNormalization Method

Retrieves the character-normalized value of the search condition node.

Syntax

HRESULT GetValueNormalization(      
    LPWSTR *ppszNormalization
);

Parameters

  • ppszNormalization
    [out, retval]  Receives a pointer to a Unicode string representation of the value.

Return Value

Returns S_OK if successful, E_FAIL if this is not a leaf node, or an error value otherwise.

Remarks

In Windows 7 and later, if the value of the leaf node is VT_EMPTY, ppwszNormalization points to an empty string. If the value is a string, such as VT_LPWSTR, VT_BSTR or VT_LPSTR, then ppwszNormalization is set to a character-normalized form of the value. In other cases, ppwszNormalization is set to some other character-normalized string representation of the value.

See Also

ICondition, CONDITION_TYPE, CONDITION_OPERATION, ICondition2