IOCTL_KS_ENABLE_EVENT IOCTL

An application can use IOCTL_KS_ENABLE_EVENT to request notification of a KS event type, or to determine the events supported by a KS object. The application specifies IOCTL_KS_ENABLE_EVENT in the IoControl parameter of a call to KsSynchronousDeviceControl.

Major Code

IRP_MJ_DEVICE_CONTROL

Input Buffer

The application places a pointer to a structure of type KSEVENT in the InBuffer parameter and the size of this structure at InLength.

Input Buffer Length

Length of KSEVENT.

Output Buffer

The application places a pointer to a structure of type KSEVENTDATA in the OutBuffer parameter and the size of this structure at OutLength.

Output Buffer Length

Length of KSEVENTDATA.

Status Block

If the request is successful, the Status member is set to STATUS_SUCCESS.

Remarks

To determine events supported by a KS object, specify NULL and 0 respectively for InBuffer and InLength.

Requirements

   
Header ks.h (include Ks.h)

See Also

IOCTL_KS_DISABLE_EVENT

KSDPC_ITEM

KSEVENT

KSEVENTDATA

KSEVENT_ENTRY

KSEVENT_ITEM

KSEVENT_SET

KsDisableEvent