Expand Minimize

VideoPortReadStateEvent function

The VideoPortReadStateEvent function returns the current state of a given event object: signaled or nonsignaled.

Syntax


LONG VideoPortReadStateEvent(
  _In_  PVOID HwDeviceExtension,
  _In_  PEVENT pEvent
);

Parameters

HwDeviceExtension [in]

Pointer to the miniport driver's device extension.

pEvent [in]

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

Return value

VideoPortReadStateEvent returns a nonzero value if the event object is currently in the signaled state. If the event object is in the nonsignaled state, this function returns zero.

Remarks

This function is available in Windows XP and later.

Requirements

Version

Available in Windows 2000 and later versions of the Windows operating systems.

Header

Video.h (include Video.h)

Library

Videoprt.lib

DLL

Videoprt.sys

IRQL

<= DISPATCH_LEVEL

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft