HRESULT GetMops(
MEMBERID memid,
BSTR FAR* pBstrMops
);
Retrieves marshaling information.
The return value obtained from the returned HRESULT is one of the following:
Return value | 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 older format. |
TYPE_E_INVALIDSTATE | The type library could not be opened. |
TYPE_E_ELEMENTNOTFOUND | The element was not found. |
TYPE_E_WRONGTYPEKIND | Type mismatch. |
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.