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 |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for