IRecordInfo::GetSize method (oaidl.h)
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
[out] pcbSize
The size of a record instance, in bytes.
Return value
This method can return one of these values.
Return code | Description |
---|---|
|
Success. |
|
One or more of the arguments is not valid. |
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | oaidl.h |