AMD TPC-660G manual Parameters

Page 59

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.

49

AppendixC

Image 59
Contents TPC-660G 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 F Fuse Specifications Page General Information Bright Display Powerful Communication CapabilityIntroduction FanlessEnvironment Operating Temperature 0 ~ 50 C 32 ~ 122 F SpecificationsSafety Backlight 1 Ccfl Backlight Life Time 20,000 hours LCD SpecificationsTouchscreen Specifications PowerPanel Mounting I/O Ports ArrangementPanel Mounting Exploded DiagramDimensions & Cutout Dimensions and CutoutPage System Setup Unpack the Package Power Connector and Power Lines Plugging in the Power Line Bootup Screen Page 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 Device Manager Entertainment Encryption/Decryption Driver12 Install Wizard 14 Driver Installation Complete Page Features Windows XP Embedded EWF Features in Windows XP EmbeddedAdvantech Utilities HormVersion Information Serial Port Settings Jumper Setting Appendix a Serial Port SettingsData Format Control Setting SW2 Baud Rate Setting SW3 Watchdog Timer Programming Overview Appendix B Watchdog Timer ProgrammingFigure B.1 Watchdog Timer Programming 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 Lpvoid lpOutBuffer Appendix C Watchdog Timer Program- ming on WinCEDeviceIOControl 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 Touchscreen Installation Configuration Driver Installation Appendix E Touchscreen Installation & ConfigurationFigure E.3 Install Wizard Figure E.5 Uninstall Uninstall the DriverCalibrate Touchscreen CalibrationFigure E.8 Standard Calibration Figure E.10 Advanced Calibration Figure E.11 Advanced Calibration Figure E.13 Draw DrawOption Figure E.14 Clear ScreenFuse Specifications Fuse Replacement Appendix F Fuse SpecificationsFuse Specifications