IOCTL_GENERICUSBFN_CONTROL_STATUS_HANDSHAKE_IN - NtDoc

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

// CTL_CODE(0x0022, 0x006, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
#define IOCTL_GENERICUSBFN_CONTROL_STATUS_HANDSHAKE_IN 0x0022C018
View the official Win32 API reference

NtDoc

No description available.

Win32 API reference (ni-genericusbfnioctl-ioctl_genericusbfn_control_status_handshake_in)

IOCTL_GENERICUSBFN_CONTROL_STATUS_HANDSHAKE_IN IOCTL

Description

This I/O control code (IOCTL) is sent by a user mode service or application to request a zero-length control status handshake on endpoint 0 in the IN direction.

Parameters

Input buffer

A USBFNPIPEID that specifies the pipe ID of endpoint 0.

Input buffer length

The size of a USBFNPIPEID.

Output buffer

NULL.

Output buffer length

None.

Input/output buffer

Input/output buffer length

Status block

Irp->IoStatus.Status is set to STATUS_SUCCESS if the request is successful. Otherwise, Status to the appropriate error condition as a NTSTATUS code.

Remarks

If this I/O control code (IOCTL) is being called synchronously, set the lpOverlapped parameter to NULL. If this IOCTL is called asynchronously, assign the lpOverlapped parameter to a pointer to an OVERLAPPED structure that contains a handle to an event object. The event objects signal when the operation is completed.

The return value is a BOOL value that indicates success or failure of the operation. TRUE indicates success, FALSE otherwise.

See also

DeviceIoControl

IOCTL_GENERICUSBFN_CONTROL_STATUS_HANDSHAKE_OUT