IITPropList::GetDataSize method (infotech.h)

Returns the number of bytes needed to save the property data.

Syntax

HRESULT GetDataSize(
  [in]       LPVOID  lpvHeader,
  [in]       DWORD   dwHdrSize,
  [out, ref] DWORD & dwDataSize
);

Parameters

[in] lpvHeader

Pointer to a buffer containing the header.

[in] dwHdrSize

Size of the header buffer.

[out, ref] dwDataSize

Size in bytes.

Return value

This method can return one of these values.

Return code Description
S_OK
The size was successfully returned.
E_INVALIDARG
The lpvHeader parameter is NULL, or dwHdrSize is too small.
E_BADVALUE
Invalid header buffer.

Requirements

Requirement Value
Target Platform Windows
Header infotech.h

See also

IITPropList

IITPropList::GetHeaderSize