ICondition::Clone Method

Creates a deep copy of this ICondition.

Syntax


HRESULT Clone(          ICondition **ppc
);

Parameters

ppc
[out, retval]  Returns 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 a given ICondition, there will be 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.

Show: