VideoPortSetEvent function (video.h)

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] IN PVOID  HwDeviceExtension,
  [in] IN PEVENT pEvent
);

Parameters

[in] HwDeviceExtension

Pointer to the miniport driver's device extension.

[in] 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

Requirement Value
Minimum supported client 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