IOCTL_KS_DISABLE_EVENT IOCTL (ks.h)

An application can use IOCTL_KS_DISABLE_EVENT to rescind a previous request notification. The application specifies IOCTL_KS_DISABLE_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 KSEVENTDATA in the InBuffer parameter. This is the location of the original KSEVENTDATA structure that the application instantiated at the enabling of the event. To disable all active events, a client specifies a NULL pointer and length of zero in the InBuffer and InLength parameters.

Input buffer length

Length of KSEVENTDATA.

Output buffer

None.

Output buffer length

None.

Status block

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

Requirements

Requirement Value
Header ks.h (include Ks.h)

See also

IOCTL_KS_DISABLE_EVENT

KSDPC_ITEM

KSEVENT

KSEVENTDATA

KSEVENT_ENTRY

KSEVENT_ITEM

KSEVENT_SET

KsDisableEvent