Share via


ITransformProperties::CloneTo

The CloneTo method copies the current ITransformProperties interface into a submitted ITransformProperties interface.

Syntax

HRESULT CloneTo(
  ITransformProperties*  pDestProps
);

Parameters

pDestProps

[in, out]  Pointer to the properties collection where the current values should be copied to. The caller must allocate and release this interface.

Return Values

The method returns an HRESULT of S_OK for success, or a standard COM error code for failure.

Remarks

This method does not clear any existing properties in the destination collection, but adds the new values to them. If the destination collection has properties with identical names to the source collection, the identically named properties will still be copied to the destination. How identically named properties are retrieved from a collection is undefined.

Requirements

Client: Windows Vista

Header: Include gputransformplugin.h and GPUPipelineTime.h.

Library: Use GPUPipelineVC7.lib (for Visual Studio .NET) or GPUPipelineVC8.lib (for Visual Studio 2005).

See Also