75
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
DeviceIoControl to perform the driver-specific functions.
lpInBuffer
[in] Long pointer to a buffer that contains the data required to perform the operation.
This parameter can be NULL if the dwIoControlCode parameter specifies an operation that does not
require input data.
nInBufferSize
[in] Size, in bytes, of the buffer pointed to by lpInBuffer.
lpOutBuffer
[out] Long pointer to a buffer that receives the operation's output data.
Summary of Contents for SPC-57
Page 6: ...disclaims all responsibility for the accuracy of any statements contained herein...
Page 15: ...1 7 Mounting...
Page 16: ......
Page 17: ...1 8 Dimension and cutout...
Page 18: ...CHAPTER 2 Getting Start This chapter provides brief instructions for operating the SPC 57...
Page 20: ...Vcc GND 4 Plug the male power connector into female power connector in SPC...
Page 21: ......
Page 28: ......
Page 29: ......
Page 30: ...Figure 3 1 The PCM 7230 for SPC 57 Block Diagram...
Page 72: ...72 Figure 4 22 Step 5 Tap Install button to install SDK Figure 4 23...
Page 73: ...73 Install SDK Figure 4 24 Step6 Finish installing...
Page 85: ...85...