// video.h
VIDEOPORT_DEPRECATED BOOLEAN VIDEOPORT_API VideoPortSynchronizeExecution(
PVOID HwDeviceExtension,
VIDEO_SYNCHRONIZE_PRIORITY Priority,
PMINIPORT_SYNCHRONIZE_ROUTINE SynchronizeRoutine,
PVOID Context
);
View the official Windows Driver Kit DDI referenceNo description available.
The VideoPortSynchronizeExecution function synchronizes the execution of a miniport driver-supplied HwVidSynchronizeExecutionCallback function with the miniport driver's HwVidInterrupt function, if any. Otherwise, it runs HwVidSynchronizeExecutionCallback at a raised priority.
HwDeviceExtensionPointer to the miniport driver's device extension.
PrioritySpecifies the type of priority at which the given SynchronizeRoutine must be run, as one of the following:
SynchronizeRoutinePointer to the miniport driver's HwVidSynchronizeExecutionCallback function.
ContextPointer to a caller-supplied context to be passed to the miniport driver's HwVidSynchronizeExecutionCallback function. This pointer can be NULL.
If the operation succeeds, VideoPortSynchronizeExecution returns TRUE.
Miniport drivers seldom call this routine unless either of the following conditions hold:
A caller should specify the lowest practical Priority value for the work HwVidSynchronizeExecutionCallback must do. Any CallbackRoutine that is run at a high hardware priority (VpMediumPriority or VpHighPriority) should return control as quickly as possible. A driver with such a high-priority HwVidSynchronizeExecutionCallback function should be designed to do as much work as possible in every other driver function except one of both of its HwVidSynchronizeExecutionCallback and HwVidInterrupt functions.
Callers of VideoPortSynchronizeExecution must be running at IRQL
HwVidSynchronizeExecutionCallback