Edit

IRichChunk::RemoteGetData method

Retrieves the PROPVARIANT and input string that represents a chunk of data. Calling this method is the same as calling GetData.

Syntax

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

Parameters

pFirstPos [out]

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

pLength [out]

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

ppsz [out]

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

pValue [out]

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

Return value

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

See also

IRichChunk