Compartir a través de


ITransformProperties::CloneTo method

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

Syntax

HRESULT CloneTo(
  [in, out] 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 value

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

Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
Header
GPUPipelineTime.h
Library
GPUPipelineVC8.lib (Visual Studio 2005);
GPUPipelineVC7.lib (Visual Studio .NET)

See also

ITransformProperties Interface