Share via


IBuffer::CopyTo

The CopyTo method copies a buffer to another buffer.

Syntax

HRESULT CopyTo(
  IBuffer*  pBuffer
);

Parameters

pBuffer

[in]  Pointer to the destination buffer.

Return Values

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

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