// 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
No description available.
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.
The application places a pointer to a structure of type KSEVENT in the InBuffer parameter and the size of this structure at InLength.
Length of KSEVENT.
The application places a pointer to a structure of type KSEVENTDATA in the OutBuffer parameter and the size of this structure at OutLength.
Length of KSEVENTDATA.
If the request is successful, the Status member is set to STATUS_SUCCESS.
To determine events supported by a KS object, specify NULL and 0 respectively for InBuffer and InLength.