CreateTransformPropertyByName function

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

Syntax

HRESULT CreateTransformPropertyByName(
  _In_  LPCTSTR                                             lpszName,
  _In_  LPCTSTR lpszName PROPVARIANT                        var,
  _Out_ 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 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

Property Management Helper Functions