Share via


ITransformProperty::get_Name

The get_Name method retrieves the name of a property.

Syntax

HRESULT get_Name(
  LPTSTR  szBuffer,
  long*  plSizeBufferChars
);

Parameters

szBuffer

[out]  A caller-allocated buffer holding the name of the property. To get the size that is required, call this method with this parameter set to NULL and the required size will be returned in plSizeBufferChars.

plSizeBufferChars

[in, out]  Pointer to the size of the buffer in characters, including the termination character. On input, the size allocated by the caller. On output, the size required (if szBuffer is NULL) or the size of the returned 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