Compartir a través de


ITransformProperty::get_Name method

The get_Name method retrieves the name of a property.

Syntax

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

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

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

ITransformProperty Interface