mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 21:03:00 +00:00
- Export and hackplement NdisSetTimerEx
- Implementation is #ifed out currently but I may enable it later - Hopefully somebody can think of a better way to do it than the current code svn path=/trunk/; revision=41213
This commit is contained in:
parent
f52414693c
commit
2c542da5fb
2 changed files with 22 additions and 0 deletions
|
@ -257,6 +257,7 @@ NdisSetPacketCancelId@8
|
|||
NdisSetPacketPoolProtocolId@8
|
||||
;NdisSetProtocolFilter ?
|
||||
NdisSetTimer@8
|
||||
NdisSetTimerEx@12
|
||||
NdisSetupDmaTransfer@24
|
||||
NdisSystemProcessorCount@0
|
||||
NdisTerminateWrapper@8
|
||||
|
|
|
@ -243,5 +243,26 @@ NdisSetTimer(
|
|||
KeSetTimer (&Timer->Timer, Timeout, &Timer->Dpc);
|
||||
}
|
||||
|
||||
VOID
|
||||
EXPORT
|
||||
NdisSetTimerEx(
|
||||
IN PNDIS_TIMER Timer,
|
||||
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
|
||||
*/
|
||||
|
||||
Timer->Dpc.DeferredContext = FunctionContext;
|
||||
|
||||
NdisSetTimer(Timer, MillisecondsToDelay);
|
||||
#else
|
||||
UNIMPLEMENTED
|
||||
#endif
|
||||
}
|
||||
|
||||
/* EOF */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue