?/TD>
Microsoft DirectX 9.0

ID3DXEffect::GetAnnotationByName Method


Gets the handle of an annotation by looking up its name.

Syntax

D3DXHANDLE GetAnnotationByName(      

    D3DXHANDLE hObject,     LPCSTR pName );

Parameters

hObject
[in] Handle of a technique, pass, or top-level parameter. See Handles.
pName
[in] String containing the annotation name.

Return Value

Returns the handle of the specified annotation, or NULL if the name was not found. See Handles.



© 2002 Microsoft Corporation. All rights reserved.