ICondition::GetValueNormalization method (structuredquerycondition.h)

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

Syntax

HRESULT GetValueNormalization(
  [out, retval] LPWSTR *ppszNormalization
);

Parameters

[out, retval] ppszNormalization

Type: LPWSTR*

Receives a pointer to a Unicode string representation of the value.

Return value

Type: HRESULT

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.

Requirements

Requirement Value
Minimum supported client Windows XP with SP2, Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 with SP1 [desktop apps only]
Target Platform Windows
Header structuredquerycondition.h (include Structuredquery.h)
Redistributable Windows Desktop Search (WDS) 3.0

See also

CONDITION_OPERATION

CONDITION_TYPE

ICondition

ICondition2

Reference