ICreateTypeInfo::SetMops method (oaidl.h)
Sets the marshaling opcode string associated with the type description or the function.
HRESULT SetMops(
[in] UINT index,
[in] BSTR bstrMops
);
[in] index
The index of the member for which to set the opcode string. If index is –1, sets the opcode string for the type description.
[in] bstrMops
The marshaling opcode string.
This method can return one of these values.
Return code | Description |
---|---|
|
Success. |
|
One or more of the arguments is not valid. |
|
Insufficient memory to complete the operation. |
|
Cannot write to the destination. |
|
Insufficient memory to complete the operation. |
Requirement | Value |
---|---|
Target Platform | Windows |
Header | oaidl.h |