ICondition::GetValueNormalization method

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

Syntax


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

Parameters

ppszNormalization [out, retval]

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

Minimum supported client

Windows XP with SP2, Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 with SP1 [desktop apps only]

Redistributable

Windows Desktop Search (WDS) 3.0

Header

Structuredquery.h

IDL

Structuredquery.idl

See also

Reference
ICondition
CONDITION_TYPE
CONDITION_OPERATION
ICondition2

 

 

Show: