mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-31 19:26:42 +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:
@@ -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 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user