Skip to content

Latest commit

 

History

History
96 lines (64 loc) · 2.82 KB

ni-ks-ioctl_ks_method.md

File metadata and controls

96 lines (64 loc) · 2.82 KB
UID title description old-location tech.root ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames f1_keywords topic_type api_type api_location api_name
NI:ks.IOCTL_KS_METHOD
IOCTL_KS_METHOD (ks.h)
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.
stream\ioctl_ks_method.htm
stream
04/23/2018
IOCTL_KS_METHOD IOCTL
IOCTL_KS_METHOD, IOCTL_KS_METHOD control, IOCTL_KS_METHOD control code [Streaming Media Devices], ks-ioctl_4e1471f0-3763-4828-9186-7771de6201bd.xml, ks/IOCTL_KS_METHOD, stream.ioctl_ks_method
ks.h
Ks.h
Windows
Windows
IOCTL_KS_METHOD
ks/IOCTL_KS_METHOD
APIRef
kbSyntax
HeaderDef
ks.h
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.

-ioctlparameters

-ioctl-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.

-in-out-buffer

-inout-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