ITypeInfo::GetMops

(memid, lpbstrMops)
MEMBERID memid
BSTR FAR* lpbstrMops

Retrieves marshaling information.

Parameters

memid

Member ID indicating which marshaling information is sought.

lpbstrMops

Upon return, points to a pointer to the opcode string used in marshaling the fields of the structure described by the referenced type description, or NULL if there is no information to return.

Return Value

The SCODE obtained from the returned HRESULT is one of the following:

SCODE
Meaning
S_OK
Success.
E_OUTOFMEMORY
Out of memory.
E_INVALIDARG
One or more of the arguments is invalid.
TYPE_E_IOERROR
The function could not read from the file.
TYPE_E_UNSUPFORMAT
The type library has an old format.
TYPE_E_INVALIDSTATE
The type library could not be opened.
TYPE_E_ELEMENTNOTFOUND
The element was not found.
TYPE_E_WRONGTYPEKIND
Type mismatch.

Comments

If the passed-in member ID is MEMBERID_NIL, the function returns the opcode string for marshaling the fields of the structure described by the type description. Otherwise, it returns the opcode string for marshaling the function specified by the index.

If the type description inherits from another type description, this function recurses on the base type description, if necessary, to find the item with the requested member ID.

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database