ICreateTypeInfo::SetMops

HRESULT SetMops(
  unsigned int  index  
  BSTR  bstrMops       
);
 

Sets the marshaling opcode string associated with the type description or the function.

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
The marshaling opcode string.

Return Value

The return value of the returned HRESULT is one of the following:

Return value Meaning
S_OK Success.
STG_E_INSUFFICIENTMEMORY Out of memory.
E_OUTOFMEMORY Out of memory.
E_INVALIDARG One or more of the arguments is invalid.
E_ACCESSDENIED Cannot write to the destination.