GPIO_CLIENT_CONTROLLER_SPECIFIC_FUNCTION_PARAMETERS structure (gpioclx.h)

The GPIO_CLIENT_CONTROLLER_SPECIFIC_FUNCTION_PARAMETERS structure describes the input and output buffers for a controller-specific operation.

Syntax

typedef struct _GPIO_CLIENT_CONTROLLER_SPECIFIC_FUNCTION_PARAMETERS {
  PVOID  InputBuffer;
  SIZE_T InputBufferLength;
  PVOID  OutputBuffer;
  SIZE_T OutputBufferLength;
  ULONG  BytesWritten;
} GPIO_CLIENT_CONTROLLER_SPECIFIC_FUNCTION_PARAMETERS, *PGPIO_CLIENT_CONTROLLER_SPECIFIC_FUNCTION_PARAMETERS;

Members

InputBuffer

A pointer to an input buffer from which the general-purpose I/O (GPIO) controller driver reads the input parameters for the controller-specific operation. This member can be NULL if the operation does not require input parameters.

InputBufferLength

The size, in bytes, of the input buffer pointed to by InputBuffer.

OutputBuffer

A pointer to an output buffer to which the GPIO controller driver writes the results for the controller-specific operation. This member can be NULL if the operation does not require output parameters.

OutputBufferLength

The size, in bytes, of the output buffer pointed to by OutputBuffer.

BytesWritten

The number of bytes written to the output buffer. The GPIO controller driver sets the value of this member to indicate how much data was written to the output buffer. If no data was written to the output buffer, or if OutputBuffer = NULL, the driver should set BytesWritten = 0.

Remarks

The Parameters parameter to the CLIENT_ControllerSpecificFunction function is a pointer to a GPIO_CLIENT_CONTROLLER_SPECIFIC_FUNCTION_PARAMETERS structure. This structure describes the input and output buffers from a custom I/O control request (IOCTL) for a hardware-specific operation that is implemented by the GPIO controller and supported by the GPIO controller driver.

The GPIO framework extension (GpioClx) fills in the first four members of the structure before the call to the CLIENT_ControllerSpecificFunction function. This function fills in the last member, BytesWritten.

Requirements

Requirement Value
Minimum supported client Supported starting with Windows 8.
Header gpioclx.h

See also

CLIENT_ControllerSpecificFunction