This method sets the opcode string for a type description.
At a Glance
Header file: | Oaidl.h |
Windows CE versions: | 2.0 and later |
Syntax
HRESULT SetMops( unsigned int index, BSTR bstrMops );
Parameters
index
Index of the member for which to set the opcode string. If index is –1, sets the opcode string for the type description.
bstrMops
Marshaling opcode string.
Return Values
One of the values described in the following table is returned.
Value | Description |
S_OK | Success. |
STG_E_INSUFFICIENTMEMORY | Out of memory. |
E_OUTOFMEMORY | Out of memory. |
E_INVALIDARG | One or more of the parameters is invalid. |
E_ACCESSDENIED | Cannot write to the destination. |