IOCTL_KS_DISABLE_EVENT IOCTL

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

   
Header ks.h (include Ks.h)

See Also

IOCTL_KS_DISABLE_EVENT

KSDPC_ITEM

KSEVENT

KSEVENTDATA

KSEVENT_ENTRY

KSEVENT_ITEM

KSEVENT_SET

KsDisableEvent