+#include "BaseLibInternals.h"\r
+\r
+/**\r
+ Worker function that locates the Node in the List.\r
+\r
+ By searching the List, finds the location of the Node in List. At the same time,\r
+ verifies the validity of this list.\r
+\r
+ If List is NULL, then ASSERT().\r
+ If List->ForwardLink is NULL, then ASSERT().\r
+ If List->backLink is NULL, then ASSERT().\r
+ If Node is NULL, then ASSERT().\r
+ If PcdVerifyNodeInList is TRUE and DoMembershipCheck is TRUE and Node \r
+ is in not a member of List, then return FALSE\r
+ If PcdMaximumLinkedListLength is not zero, and List contains more than\r
+ PcdMaximumLinkedListLength nodes, then ASSERT().\r
+\r
+ @param List A pointer to a node in a linked list.\r
+ @param Node A pointer to a node in a linked list.\r
+ @param VerifyNodeInList TRUE if a check should be made to see if Node is a \r
+ member of List. FALSE if no membership test should \r
+ be performed.\r
+\r
+ @retval TRUE if PcdVerifyNodeInList is FALSE\r
+ @retval TRUE if DoMembershipCheck is FALSE\r
+ @retval TRUE if PcdVerifyNodeInList is TRUE and DoMembershipCheck is TRUE \r
+ and Node is a member of List.\r
+ @retval FALSE if PcdVerifyNodeInList is TRUE and DoMembershipCheck is TRUE \r
+ and Node is in not a member of List.\r
+\r
+**/\r