IoAdjustPagingPathCount is a macro.

svn path=/trunk/; revision=11392
This commit is contained in:
Eric Kohl 2004-10-22 20:54:57 +00:00
parent 9fb531fab6
commit 92239abf04

View file

@ -45,11 +45,24 @@ IoReleaseRemoveLockAndWaitEx(
IN PVOID Tag,
IN ULONG RemlockSize);
VOID
STDCALL
IoAdjustPagingPathCount(
IN PLONG Count,
IN BOOLEAN Increment);
/*
* VOID
* STDCALL
* IoAdjustPagingPathCount(
* IN PLONG Count,
* IN BOOLEAN Increment);
*/
#define IoAdjustPagingPathCount(Count, Paging) \
{ \
if (Paging) \
{ \
InterlockedIncrement(Count); \
} \
else \
{ \
InterlockedDecrement(Count); \
} \
}
NTSTATUS
STDCALL