IITPropList::SaveData method (infotech.h)

Saves the data size and data from the property list to a buffer.

Syntax

HRESULT SaveData(
  [in]  LPVOID lpvHeader,
  [in]  DWORD  dwHdrSize,
  [out] LPVOID lpvData,
  [in]  DWORD  dwBufSize
);

Parameters

[in] lpvHeader

Pointer to a buffer containing the header.

[in] dwHdrSize

Size of the buffer containing the header.

[out] lpvData

Pointer to a buffer to fill.

[in] dwBufSize

Size of the buffer to fill.

Return value

This method can return one of these values.

Return code Description
S_OK
The property list was successfully saved.

Remarks

Make sure to pass a buffer large enough to hold the property list. Use IITPropList::GetDataSize to determine the buffer size to pass.

Requirements

Requirement Value
Target Platform Windows
Header infotech.h

See also

IITPropList