mirror of
https://github.com/reactos/reactos.git
synced 2024-10-19 07:28:18 +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 PIRP Irp,
|
||||||
* IN PDRIVER_CANCEL CancelRoutine)
|
* IN PDRIVER_CANCEL CancelRoutine)
|
||||||
*/
|
*/
|
||||||
#define IoSetCancelRoutine( Irp, NewCancelRoutine ) ( \
|
#define IoSetCancelRoutine(_Irp, \
|
||||||
(PDRIVER_CANCEL)InterlockedExchange( (PLONG)&(Irp)->CancelRoutine, (LONG)(NewCancelRoutine) ) )
|
_CancelRoutine) \
|
||||||
|
((PDRIVER_CANCEL) InterlockedExchangePointer( \
|
||||||
|
(PVOID *) &(_Irp)->CancelRoutine, (PVOID) (_CancelRoutine)))
|
||||||
|
|
||||||
|
/*
|
||||||
/*
|
|
||||||
* VOID
|
* VOID
|
||||||
* IoSetCompletionRoutine(
|
* IoSetCompletionRoutine(
|
||||||
* IN PIRP Irp,
|
* IN PIRP Irp,
|
||||||
|
|
Loading…
Reference in a new issue