IOCTL_KS_ENABLE_EVENT IOCTL (ks.h)
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
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
Requirement | Value |
---|---|
Header | ks.h (include Ks.h) |