B&B Electronics TPC-1261H user manual Parameters

Page 69

C.1.1 Parameters

• hDevice

[in] Handle to the device that is to perform the operation. Call the Cre- ateFile 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 dwIoControlCode 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 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. This parameter can be NULL if the dwIoControlCode parameter speci- fies an operation that does not produce output data.

• nOutBufferSize

[in] Size, in bytes, of the buffer pointed to by lpOutBuffer.

• lpBytesReturned

[out] Long pointer to a variable that receives the size, in bytes, of the data stored into the buffer pointed to by lpOutBuffer. The lpBytesRe- turned parameter cannot be NULL. Even when an operation produces no output data, and lpOutBuffer can be NULL, the DeviceIoControl function makes use of the variable pointed to bylpBytesReturned. After such an operation, the value of the variable is without meaning.

• lpOverlapped

[in] Ignored; set to NULL.

• Return Values

Nonzero indicates success. Zero indicates failure. To get extended error information, call GetLastError.

59

AppendixC

Image 69
Contents TPC-1261H This Manual Covers the Following Models Copyright AcknowledgementsProduct Warranty 1 year FCC Class a Technical Support and Assistance Packing List Safety InstructionsPage Contents Chapter Features in Windows XP Embedded Appendix D Accessory Kit Assembly Procedure Appendix G Fuse Specifications General Information Introduction Powerful Communication CapabilityFanless Bright DisplaySafety SpecificationsTouchscreen Specifications LCD SpecificationsEnvironment Operating Temperature 0 ~ 50 C 32 ~ 122 F Backlight 2 Ccfl Backlight Life Time 50,000 hoursPower I/O Ports ArrangementPanel Mounting Panel Mounting Dimensions and CutoutDimensions Page System Setup Unpack the Package Install CompactFlash Memory Card Touchscreen Icon System Engine Mainboard Connectors & Jumper Settings Main Board Connectors Page Software Configuration Device Manager VGA Driver InstallationUpdate Driver Update Wizard-2 Update Wizard-4 Update Wizard-6 10 Pciicom Setup Advantech COM Driver Install12 PCI Icom Installation 14 Update Driver 16 Update Driver 18 PCI-1602 Device Manager 19 PCI Serial port Device Manager 21 Update Driver 23 PCI-1602 Master Installation 25 PCI Serial Port Installation 27 PCI Serial Port Installation 29 PCI Serial Port Installation Entertainment Encryption/Decryption Driver 31 Installation Complete33 Install Wizard 35 Install Wizard Features Windows XP Embedded EWF Features in Windows XP EmbeddedAdvantech Utilities HormVersion Information Page Page Serial Port Settings COM1/ COM2/ COM3 Connector Definition Appendix a Serial Port SettingsCOM4 Setting RS-232 RS-422 RS-485 Watchdog Timer Programming Overview Appendix B Watchdog Timer ProgrammingFigure B.1 Watchdog timer programming procedure Watchdog Timer ProgrammingTable B.1 Watchdog Timer Registers Example Programs Enable watchdog timer and set 10 sec. as timeout intervalEnable watchdog timer and set 5 minutes as timeout interval Enable watchdog timer to be reset by mouse Enable watchdog timer to be reset by keyboard Generate a time-out signal without timer counting Page Watchdog Timer Programming on WinCE Appendix C Watchdog Timer Program- ming on WinCE DeviceIOControlLpvoid lpOutBuffer Parameters Ioctl Wdtenable How to Use the Control CodeIoctlwdtgettimeout Examples CTLCODEFILEDEVICEUNKNOWN,ID, METHODBUFFERED, FileanyaccessAppendixC Page Accessory Kit Assembly Procedure CompactFlash to IDE Transfer Kit Appendix D Accessory Kit Assembly ProcedureFigure D.3 CompactFlash Slot Figure D.6 Connect the CD-ROM via the IDE Cable HDD Kit Assembly Ruggedized HDD Kit Appendix E HDD Kit AssemblyFigure E.2 Required Parts Figure E.3 Opening the Top Figure E.5 Connectting the FPC with the HDD Figure E.7 Reverse side of the HDD holder Figure E.9 Mounting the cushions Figure E.11 Placing the HDD holder Figure E.13 Fastening the HDD holder Internal HDD Kit AssemblyFigure E.15 Placing a screw into its rubber casing Figure E.17 Connecting the FPC cable Figure E.19 Laying in the HDD insulator Figure E.21 Re-fastening the cover Figure E.23 Fastening the PCI/104 bracket Touchscreen Installation Configuration Driver Installation Appendix F Touchscreen Installation & ConfigurationFigure F.3 Install Wizard Figure F.5 Uninstall Uninstall the DriverCalibrate Touchscreen CalibrationFigure F.8 Standard Calibration Figure F.10 Advanced Calibration Figure F.11 Advanced Calibration Figure F.13 Draw DrawOption Figure F.14 Clear ScreenFigure F.15 Option Page Fuse Specifications Appendix G Fuse Specifications Fuse SpecificationsFuse Replacement