VideoPortSetEvent function

The VideoPortSetEvent function sets an event object to the signaled state if it was not already in that state, and returns the event object's previous state.

Syntax

VIDEOPORT_API LONG VideoPortSetEvent(
  IN PVOID  HwDeviceExtension,
  IN PEVENT pEvent
);

Parameters

HwDeviceExtension

Pointer to the miniport driver's device extension.

pEvent

Pointer to the event object whose state is to be set.

Return Value

VideoPortSetEvent returns a nonzero value if the event object was previously in the signaled state.

Requirements

   
Windows version Available in Windows XP and later versions of the Windows operating systems.
Target Platform Desktop
Header video.h (include Video.h)
Library Videoprt.lib
DLL Videoprt.sys
IRQL "<= DISPATCH_LEVEL"

See Also

VideoPortClearEvent