次の方法で共有


ITransformProperties::get_Name method

The get_Name method gets the name of the current property holding the collection of child properties. This is equivalent to ITransformProperty::get_Name.

Syntax

HRESULT get_Name(
  [in]      LPTSTR szBuffer,
  [in, out] long   *plSizeBufferChars
);

Parameters

szBuffer [in]

A caller-allocated buffer holding the name of the property. To learn 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, this is the size allocated by the caller. On output, this is 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

ITransformProperties Interface