ICondition2::Clone Method

Creates a deep copy of this ICondition object.

Syntax

HRESULT Clone(      
    ICondition **ppc
);

Parameters

  • ppc
    [out, retval]  Receives a pointer to the clone of this ICondition.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

Because there are no methods for modifying an ICondition, there are few occasions when this method is necessary. In many cases it is adequate to call the IUnknown::QueryInterface method on the ICondition to obtain an additional reference to the same object.

See Also

ICondition, CONDITION_TYPE, CONDITION_OPERATION, ICondition2