4 typedef struct _THROTTLING_STATE
6 LARGE_INTEGER NextTime
;
7 volatile ULONG CurrentIncrement
;
9 LARGE_INTEGER Increment
;
10 volatile ULONG NumberOfQueries
;
11 } THROTTLING_STATE
, *PTHROTTLING_STATE
;
13 #define RxInitializeThrottlingState(BP, Inc, MaxDelay) \
17 (BP)->Increment.QuadPart = (Inc) * 10000; \
18 (BP)->MaximumDelay = (MaxDelay) / (Inc); \
19 (BP)->CurrentIncrement = 0; \