ASSERT((RunRef->Count & EX_RUNDOWN_ACTIVE) != 0);
/* Reset the count */
- ExpSetRundown(&RunRef->Count, 0);
+ ExpSetRundown(RunRef, 0);
}
/*++
ASSERT((RunRef->Count & EX_RUNDOWN_ACTIVE) != 0);
/* Mark the counter as active */
- ExpSetRundown(&RunRef->Count, EX_RUNDOWN_ACTIVE);
+ ExpSetRundown(RunRef, EX_RUNDOWN_ACTIVE);
}
/*++
WaitBlock.Count = Count;
/* Now set the pointer */
- NewValue = ExpChangeRundown(RunRef, PtrToUlong(WaitBlockPointer), Value);
+ NewValue = ExpChangeRundown(RunRef, (ULONG_PTR)WaitBlockPointer, Value);
if (NewValue == Value) break;
/* Loop again */