IOCTL_KS_METHOD - NtDoc

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

// CTL_CODE(0x002f, 0x003, METHOD_NEITHER, FILE_ANY_ACCESS)
#define IOCTL_KS_METHOD 0x002F000F

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

IOCTL_KS_METHOD IOCTL

Description

An application can use IOCTL_KS_METHOD to execute a method on a KS object. The application passes IOCTL_KS_METHOD with the parameters described below to the KsSynchronousDeviceControl function.

Parameters

Major code

Input buffer

The application places a pointer to a structure of type KSMETHOD specifying the method to invoke in the InBuffer parameter, and the size of the method structure at InLength.

Input buffer length

The size of the method structure at InLength.

Output buffer

The client allocates and passes an output buffer if the method requires one. (This is determined by the flags set in the KSMETHOD structure.) For example, KSMETHOD_STREAMALLOCATOR_ALLOC provides an output buffer for the newly allocated frame.

Output buffer length

Length of the output buffer.

Input/output buffer

Input/output buffer length

Status block

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

See also

KSFASTMETHOD_ITEM

KSMETHOD

KSMETHOD_ITEM

KSMETHOD_SET

KsMethodHandler