Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

37 lines
547 B

/*++
Copyright (c) 1997-1999 Microsoft Corporation
Module Name:
MSPutils.cpp
Abstract:
data for msputils.h
--*/
#include "precomp.h"
#pragma hdrstop
#include "mspbase.h"
#include "msputils.h"
CMSPCritSection CMSPObjectSafetyImpl::s_CritSection;
BOOL IsNodeOnList(PLIST_ENTRY ListHead, PLIST_ENTRY Entry)
{
PLIST_ENTRY pCurrent = ListHead;
while(pCurrent->Flink != Entry)
{
pCurrent = pCurrent->Flink;
if(pCurrent == 0)
{
return FALSE;
}
}
return TRUE;
}
// eof