IOCTL_KS_ENABLE_EVENT - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ks.h

// CTL_CODE(0x002f, 0x001, METHOD_NEITHER, FILE_ANY_ACCESS)
#define IOCTL_KS_ENABLE_EVENT 0x002F0007

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ni-ks-ioctl_ks_enable_event)

IOCTL_KS_ENABLE_EVENT IOCTL

Description

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.

Parameters

Major code

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.

Input/output buffer

Input/output buffer length

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.

See also

IOCTL_KS_DISABLE_EVENT

KSDPC_ITEM

KSEVENT

KSEVENTDATA

KSEVENT_ENTRY

KSEVENT_ITEM

KSEVENT_SET

KsDisableEvent