IRecordInfo::RecordInit method

Initializes a new instance of a record.

Syntax


HRESULT RecordInit(
  [out]  PVOID pvNew
);

Parameters

pvNew [out]

An instance of a record.

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.

 

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

IDL

OaIdl.idl

See also

IRecordInfo

 

 

Community Additions

ADD
Show:
© 2014 Microsoft