StreamClassScheduleTimer - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// strmini.h

VOID STREAMAPI StreamClassScheduleTimer(
  [in, optional] PHW_STREAM_OBJECT StreamObject,
  [in]           PVOID             HwDeviceExtension,
  [in]           ULONG             NumberOfMicroseconds,
  [in]           PHW_TIMER_ROUTINE TimerRoutine,
  [in]           PVOID             Context
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-strmini-streamclassscheduletimer)

StreamClassScheduleTimer function

Description

The minidriver calls the StreamClassScheduleTimer routine to schedule a timer, and to specify a routine that is called when the timer expires.

Parameters

StreamObject [in, optional]

Specifies the stream that sets the timer, or NULL if the timer is set for the whole driver. The minidriver may only schedule one timer per stream, and one for the driver as a whole. This parameter is optional.

HwDeviceExtension [in]

Pointer to the minidriver's device extension. The minidriver specifies the size of this buffer in the HW_INITIALIZATION_DATA structure it passes when it registers itself via StreamClassRegisterMinidriver. The class driver then passes pointers to the buffer in the HwDeviceExtension member of the HW_STREAM_REQUEST_BLOCK, HW_STREAM_OBJECT, HW_TIME_CONTEXT, and PORT_CONFIGURATION_INFORMATION structures it passes to the minidriver.

NumberOfMicroseconds [in]

Specifies the amount of time, in microseconds, before the timer expires.

TimerRoutine [in]

Specifies the routine called when the timer expires. The routine's prototype must be of the form:

TimerRoutine(PVOID Context);

Context [in]

Pointer to a context that the class driver passes to the callback routine once the timer expires.

Return value

None