mirror of
https://github.com/reactos/reactos.git
synced 2025-05-19 00:54:18 +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);
|
||||
}
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
*/
|
||||
VOID
|
||||
EXPORT
|
||||
NdisSetTimerEx(
|
||||
|
@ -250,18 +253,12 @@ NdisSetTimerEx(
|
|||
IN UINT MillisecondsToDelay,
|
||||
IN PVOID FunctionContext)
|
||||
{
|
||||
#if 0
|
||||
/* FIXME: I'm not sure how to this in a nice way
|
||||
* We can't store the function context anywhere in NDIS_TIMER
|
||||
* so I'm forced to do this
|
||||
*/
|
||||
NDIS_DbgPrint(MAX_TRACE, ("Called. Timer is: 0x%x, Timeout is: %ld, FunctionContext is: 0x%x\n",
|
||||
Timer, MillisecondsToDelay, FunctionContext));
|
||||
|
||||
Timer->Dpc.DeferredContext = FunctionContext;
|
||||
|
||||
NdisSetTimer(Timer, MillisecondsToDelay);
|
||||
#else
|
||||
UNIMPLEMENTED
|
||||
#endif
|
||||
}
|
||||
|
||||
/* EOF */
|
||||
|
|
Loading…
Reference in a new issue