?/TD>
Microsoft DirectX 9.0

ID3DXEffect::FindNextValidTechnique Method


Searches for the next valid technique, starting at the technique after the specified technique.

Syntax

HRESULT FindNextValidTechnique(      

    D3DXHANDLE hTechnique,     D3DXHANDLE* pTechnique );

Parameters

hTechnique
[in] Unique identifier to a technique. See Handles. Specify NULL for this parameter to find the first valid technique.
pTechnique
[out] Pointer to an identifier for the next technique. NULL is returned if this is the last technique. See Handles.

Return Value

If the method succeeds, the return value is D3D_OK.

If the method fails, the return value can be D3DERR_INVALIDCALL.



See Also

D3DXTECHNIQUE_DESC, ID3DXEffect::ValidateTechnique


© 2002 Microsoft Corporation. All rights reserved.