IRichChunk::GetData method (structuredquerycondition.h)

Retrieves the PROPVARIANT and input string that represents a chunk of data.

Syntax

HRESULT GetData(
  [out] ULONG       *pFirstPos,
  [out] ULONG       *pLength,
  [out] LPWSTR      *ppsz,
  [out] PROPVARIANT *pValue
);

Parameters

[out] pFirstPos

Type: ULONG*

Receives the zero-based starting position of the range. This parameter can be NULL.

[out] pLength

Type: ULONG*

Receives the length of the range. This parameter can be NULL.

[out] ppsz

Type: LPWSTR*

Receives the associated Unicode string value, or NULL if not available.

[out] pValue

Type: PROPVARIANT*

Receives the associated PROPVARIANT value, or VT_EMPTY if not available. This parameter can be NULL.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

Prior to Windows 7, this was declared in structuredquery.idl and structuredquery.h.

Requirements

   
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
Redistributable Windows Desktop Search (WDS) 3.0

See also

IRichChunk