d3d9.dllGetConstantByName
Microsoft DirectX 9.0 SDK Update (October 2004)

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.



© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.