# Function Reference

# _WinAPI_IOCTL

Create a unique system I/O control code (IOCTL)

#include <WinAPIFiles.au3>
_WinAPI_IOCTL ( $iDeviceType, $iFunction, $iMethod, $iAccess )

## Parameters

$iDeviceType | The type of device.
$iFunction | The action within the device category.
$iMethod | The method codes for how buffers are passed for I/O and file system controls.
$iAccess | The access check value for any access.

## Return Value

Returns the IOCTL (DWORD) value.

## See Also

See Defining I/O Control Codes.