IRecordInfo::GetSize method

Gets the number of bytes of memory necessary to hold the record instance. This allows you to allocate memory for a record instance rather than calling RecordCreate.

Syntax


HRESULT GetSize(
  [out] ULONG *pcbSize
);

Parameters

pcbSize [out]

The size of a record instance, in bytes.

Return value

This method can return one of these values.

Return codeDescription
S_OK

Success.

E_INVALIDARG

One or more of the arguments is not valid.

 

Requirements

IDL

OaIdl.idl

See also

IRecordInfo

 

 

Show: