SL_FindNodeUserData


NAME
SL_FindNodeUserData -- finds a node by the userdata field.

SYNOPSIS
nh = SL_FindNodeUserData(lh, userdata, position);
D0 A0 D0 A1

void *SL_FindNodeUserData(LISTHANDLE, SLTAGDATA, ULONG *);

FUNCTION
Finds a node in a list by the userdata field and returns the node. If
the pos argument is non-null then it is filled in with the position
of the node in the list. 0 is the first position.

INPUTS
list - a LISTHANDLE as returned by SL_CreateListA.
userdata - the userdata to search for.
pos - a pointer to a variable that will be filled in with the position
of the node in the list. This may be NULL.

RESULTS
nh - a pointer to the extended data of the node or NULL if the userdata
could not be found.

SEE ALSO
SL_AddNodeAfter, SL_AddNodeBefore, SL_AddNodeHead, SL_AddNodeSorted, SL_AddNodeSortedFunc, SL_AddNodeTail, SL_ClearList, SL_CountNodes, SL_CreateListA, SL_CreateNodeA, SL_FindNodeFunc, SL_FindNodeName, SL_FindNodePos, SL_FindNodeUserData, SL_FirstNode, SL_FreeList, SL_FreeNode, SL_GetListAttr, SL_GetNodeAttr, SL_IsListEmpty, SL_LastNode, SL_NextNode, SL_PrevNode, SL_RemoveNode, SL_RemoveNodeHead, SL_RemoveNodeTail, SL_SetListAttrA, SL_SetNodeAttrA, SL_SortList, SL_SortListField, SL_SortListFieldRange, SL_SortListFunc, SL_SortListFuncRange, SL_SortListRange.

 

SL_FindNodeUserData  Command Section By Type  url:SL_FindNodeUserData
  created:2008-03-01 23:36:27   last updated:2008-03-01 23:36:27
  Copyright © 1985-2024 GrasshopperLLC. All Rights Reserved.

User Contributed Comments For SL_FindNodeUserData
There are no user contributed comments for this page.