?/TD>
Microsoft DirectX 9.0

ID3DXConstantTable::GetConstantByName Method


Gets a constant by looking up its name.

Syntax

D3DXHANDLE GetConstantByName(      

    D3DXHANDLE hConstant,     LPCSTR pName );

Parameters

hConstant
[in] Unique identifier to the parent data structure. If the constant is a top-level parameter (there is no parent data structure), use NULL.
pName
[in] Name of the constant.

Return Value

Returns a unique identifier to the constant.



© 2002 Microsoft Corporation. All rights reserved.