Číst v angličtině

Sdílet prostřednictvím


CreateTransformPropertyByName Function

The CreateTransformPropertyByName function creates a new property object with a name and an initial value.

Syntax

HRESULT CreateTransformPropertyByName (
  LPCTSTR  lpszName
  PROPVARIANT  var
  ITransformProperty**  ppProperty
);

Parameters

lpszName

[in]  The name of the new property.

var

[in]  The value of the new property at time zero.

ppProperty

[out]  Address of a pointer to the new property.

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