VideoPortDeleteEvent function (video.h)

The VideoPortDeleteEvent function deletes the specified event object.

Syntax

VIDEOPORT_API VP_STATUS VideoPortDeleteEvent(
  [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 to be deleted.

Return value

VideoPortDeleteEvent returns NO_ERROR if the event object is successfully deleted.

Remarks

This function should not be used to delete a mapped user event. To delete a mapped user event, use EngUnmapEvent.

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

EngUnmapEvent

VideoPortCreateEvent