mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
IoAdjustPagingPathCount is a macro.
svn path=/trunk/; revision=11392
This commit is contained in:
parent
9fb531fab6
commit
92239abf04
1 changed files with 18 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue