IRecordInfo::RecordInit method (oaidl.h)
Initializes a new instance of a record.
Syntax
HRESULT RecordInit(
[out] PVOID pvNew
);
Parameters
[out] pvNew
An instance of a record.
Return value
This method can return one of these values.
Return code | Description |
---|---|
|
Success. |
|
One or more of the arguments is not valid. |
Remarks
The caller must allocate the memory of the record by its appropriate size using the GetSize method.
RecordInit sets all contents of the record to 0 and the record should hold no resources.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | oaidl.h |