ICreateTypeInfo::SetMops method (oaidl.h)
Sets the marshaling opcode string associated with the type description or the function.
Syntax
HRESULT SetMops(
[in] UINT index,
[in] BSTR bstrMops
);
Parameters
[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.
Return value
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. |
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | oaidl.h |