IRecordInfo::GetName method (oaidl.h)
Gets the name of the record type. This is useful if you want to print out the type of the record, because each UDT has its own IRecordInfo.
Syntax
HRESULT GetName(
[out] BSTR *pbstrName
);
Parameters
[out] pbstrName
The name.
Return value
This method can return one of these values.
Return code | Description |
---|---|
|
Success. |
|
Out of memory. |
|
One or more of the arguments is not valid. |
|
The state of the type library is not valid for this operation. |
Remarks
The caller must free the BSTR by calling SysFreeString.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | oaidl.h |