MI_OperationOptions_Clone function (mi.h)

Creates a copy of a MI_OperationOptions structure.

Syntax

MI_INLINE MI_Result MI_INLINE_CALL MI_OperationOptions_Clone(
  [in]  const MI_OperationOptions *self,
  [out] MI_OperationOptions       *newOperationOptions
);

Parameters

[in] self

MI_OperationOptions structure to be cloned.

[out] newOperationOptions

Returned MI_OperationOptions clone. When it is no longer needed, the clone needs to be deleted using the MI_OperationOptions_Delete function.

Return value

This function returns MI_INLINE MI_Result MI_INLINE_CALL.

Requirements

   
Minimum supported client Windows 8
Minimum supported server Windows Server 2012
Target Platform Windows
Header mi.h
Redistributable Windows Management Framework 3.0 on Windows Server 2008 R2 with SP1, Windows 7 with SP1, and Windows Server 2008 with SP2

See also

MI_OperationOptions_Delete