?/TD>
Microsoft DirectX 9.0

ID3DXBaseEffect::GetParameterByName Method


Gets the handle of a top-level parameter or a structure member parameter by looking up its name.

Syntax

D3DXHANDLE GetParameterByName(      

    D3DXHANDLE hParent,     LPCSTR pName );

Parameters

hParent
[in] Handle of the parent structure parameter, or NULL for top-level parameters. See Handles.
pName
[in] String containing the parameter name.

Return Value

Returns the handle of the specified parameter, or NULL if the index was invalid. See Handles.



© 2002 Microsoft Corporation. All rights reserved.