mirror of
https://github.com/reactos/reactos.git
synced 2024-10-08 02:13:56 +00:00
Fix definition of IoSetCancelRoutine.
svn path=/trunk/; revision=39505
This commit is contained in:
parent
81afdb2e7d
commit
6399747995
|
@ -9429,11 +9429,12 @@ IoReuseIrp(
|
|||
* IN PIRP Irp,
|
||||
* IN PDRIVER_CANCEL CancelRoutine)
|
||||
*/
|
||||
#define IoSetCancelRoutine( Irp, NewCancelRoutine ) ( \
|
||||
(PDRIVER_CANCEL)InterlockedExchange( (PLONG)&(Irp)->CancelRoutine, (LONG)(NewCancelRoutine) ) )
|
||||
#define IoSetCancelRoutine(_Irp, \
|
||||
_CancelRoutine) \
|
||||
((PDRIVER_CANCEL) InterlockedExchangePointer( \
|
||||
(PVOID *) &(_Irp)->CancelRoutine, (PVOID) (_CancelRoutine)))
|
||||
|
||||
|
||||
/*
|
||||
/*
|
||||
* VOID
|
||||
* IoSetCompletionRoutine(
|
||||
* IN PIRP Irp,
|
||||
|
|
Loading…
Reference in a new issue