Advantech RISC SOM-A2558 Información técnica Pagina 30

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 42
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 29
Your ePlatform Partner
Advantech SOM-A200 series Software Manual
- DeviceIoControl
This function sends a control code directly to a specified device driver, causing the
corresponding device to perform the specified operation.
BOOL DeviceIoControl(
HANDLE hDevice,
DWORD dwIoControlCode,
LPVOID lpInBuffer,
DWORD nInBufferSize,
LPVOID lpOutBuffer,
DWORD nOutBufferSize,
LPDWORD lpBytesReturned,
LPOVERLAPPED lpOverlapped);
- Parameters
hDevice
[in] Handle to the device that is to perform the operation. Call the Create- File function to obtain a
device handle.
dwIoControlCode
[in] Specifies the control code for the operation. This value identifies the specific operation to be
performed and the type of device on which the operation is to be performed. No specific values are
defined for the dwIo- ControlCode parameter. However, the writer of a custom device driver can define
IOCTL_XXXX control codes, per the CTL_CODE macro.
These control codes can then be advertised, and an application can use these control codes with
Vista de pagina 29
1 2 ... 25 26 27 28 29 30 31 32 33 34 35 ... 41 42

Comentarios a estos manuales

Sin comentarios