mirror of
https://github.com/reactos/reactos.git
synced 2025-05-20 01:24:11 +00:00
- Enable the code in NdisSetTimerEx
- Add a debug print svn path=/trunk/; revision=41258
This commit is contained in:
parent
65fa28b9de
commit
70a581c537
1 changed files with 5 additions and 8 deletions
|
@ -243,6 +243,9 @@ NdisSetTimer(
|
||||||
KeSetTimer (&Timer->Timer, Timeout, &Timer->Dpc);
|
KeSetTimer (&Timer->Timer, Timeout, &Timer->Dpc);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
VOID
|
VOID
|
||||||
EXPORT
|
EXPORT
|
||||||
NdisSetTimerEx(
|
NdisSetTimerEx(
|
||||||
|
@ -250,18 +253,12 @@ NdisSetTimerEx(
|
||||||
IN UINT MillisecondsToDelay,
|
IN UINT MillisecondsToDelay,
|
||||||
IN PVOID FunctionContext)
|
IN PVOID FunctionContext)
|
||||||
{
|
{
|
||||||
#if 0
|
NDIS_DbgPrint(MAX_TRACE, ("Called. Timer is: 0x%x, Timeout is: %ld, FunctionContext is: 0x%x\n",
|
||||||
/* FIXME: I'm not sure how to this in a nice way
|
Timer, MillisecondsToDelay, FunctionContext));
|
||||||
* We can't store the function context anywhere in NDIS_TIMER
|
|
||||||
* so I'm forced to do this
|
|
||||||
*/
|
|
||||||
|
|
||||||
Timer->Dpc.DeferredContext = FunctionContext;
|
Timer->Dpc.DeferredContext = FunctionContext;
|
||||||
|
|
||||||
NdisSetTimer(Timer, MillisecondsToDelay);
|
NdisSetTimer(Timer, MillisecondsToDelay);
|
||||||
#else
|
|
||||||
UNIMPLEMENTED
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* EOF */
|
/* EOF */
|
||||||
|
|
Loading…
Reference in a new issue