没有合适的资源?快使用搜索试试~ 我知道了~
立象 WINCE采集器SDK开发文档
需积分: 9 10 下载量 83 浏览量
2011-05-12
10:31:57
上传
评论
收藏 524KB PDF 举报
温馨提示
试读
79页
立象 WINCE采集器SDK开发文档 里面有操作作PT60内核的函数及源代码
资源推荐
资源详情
资源评论
Programming Manual II
Table of Contents
OVERVIEW....................................................................................................................................................................................................................................1
SDK FUNCTIONS ......................................................................................................................................................................................................................2
SYSAPIAX.DLL............................................................................................................................................................................................................................3
AUDIO RELATED FUNCTIONS......................................................................................................................................................................................5
Audio_GetVolume..............................................................................................................................................................................5
Audio_SetVolume ...............................................................................................................................................................................6
BATTERY RELATED FUNCTION ...................................................................................................................................................................................7
GetBatteryStatus..................................................................................................................................................................................7
DISPLAY RELATED FUNCTIONS ..................................................................................................................................................................................9
BacklightOn..........................................................................................................................................................................................9
Display_QueryBacklightIntensity............................................................................................................................................. 10
GetBacklightStatus.......................................................................................................................................................................... 12
PowerOnLCD.................................................................................................................................................................................. 13
SetBacklightPWM...........................................................................................................................................................................14
KEYPAD RELATED FUNCTIONS............................................................................................................................................................................... 15
EnablePowerButton....................................................................................................................................................................... 15
GetKeypadAlphaMode................................................................................................................................................................ 16
SendKbdVisualKey......................................................................................................................................................................... 17
SetKeypadAlphaMode.................................................................................................................................................................. 18
LED RELATED FUNCTIONS.......................................................................................................................................................................................19
GetKeypadLEDStatus................................................................................................................................................................... 19
GoodReadLEDOn......................................................................................................................................................................... 20
KeypadLEDOn................................................................................................................................................................................ 21
SYSTEM RELATED FUNCTIONS................................................................................................................................................................................ 22
CallSuspend....................................................................................................................................................................................... 22
EnableAutoConnect....................................................................................................................................................................... 23
RegisterAlphaKeyNotification.................................................................................................................................................... 24
ShowChineseIME........................................................................................................................................................................... 25
ShowDesktop .................................................................................................................................................................................... 26
ShowExploreToolbar..................................................................................................................................................................... 27
ShowTaskbar..................................................................................................................................................................................... 28
UnRegisterAlphaKeyNotification............................................................................................................................................. 29
SCANAPIAX.DLL ................................................................................................................................................................................................................... 30
API_SCAN RELATED FUNCTIONS....................................................................................................................................................................... 32
API_Register...................................................................................................................................................................................... 32
API_Unregister ................................................................................................................................................................................33
API_GetBarData............................................................................................................................................................................ 34
API_GetBarDataLength.............................................................................................................................................................. 36
API_GetBarType............................................................................................................................................................................. 37
API_GetError................................................................................................................................................................................... 38
API_GetSysError............................................................................................................................................................................ 39
API_GoodRead............................................................................................................................................................................... 40
API_LoadSettingsFromFile........................................................................................................................................................ 41
API_Reset........................................................................................................................................................................................... 42
API_ResetBarData......................................................................................................................................................................... 43
API_SaveSettingsToFile................................................................................................................................................................ 44
API_SaveSettingsToScanner ......................................................................................................................................................45
S2K_IsLoad....................................................................................................................................................................................... 46
S2K_Load........................................................................................................................................................................................... 47
SCAN_QueryStatus........................................................................................................................................................................ 48
SCAN_SendCommand................................................................................................................................................................ 49
SCAN2KEY RELATED FUNCTIONS......................................................................................................................................................................... 50
PT_OpenScan2Key....................................................................................................................................................................... 50
PT_CloseScan2Key....................................................................................................................................................................... 51
PT_SetToDefault.............................................................................................................................................................................. 52
SCANNER RELATED FUNCTIONS............................................................................................................................................................................. 53
PT_EnableScanner........................................................................................................................................................................ 53
PT_DisableScanner....................................................................................................................................................................... 54
PT_CheckBarcodeData............................................................................................................................................................... 55
PT_GetBarcodeData.................................................................................................................................................................... 56
PT_SetDefault................................................................................................................................................................................... 58
SCAN KEY RELATED FUNCTIONS........................................................................................................................................................................... 59
EnableTriggerKey........................................................................................................................................................................... 59
GetLibraryVersion........................................................................................................................................................................... 60
GetTriggerKeyStatus...................................................................................................................................................................... 61
PressTriggerKey............................................................................................................................................................................... 62
TriggerKeyStatus.............................................................................................................................................................................. 63
VIBRATOR RELATED FUNCTIONS ........................................................................................................................................................................... 64
VibratorOn .........................................................................................................................................................................................64
SCAN COMMAND TABLE............................................................................................................................................................................................. 65
FUNCTION RETURN VALUES................................................................................................................................................................................... 76
Programming Manual III
Overview
The Argox Mobile Computer Software Developer Kit (SDK) Help is intended to assist
programmers with the creation of applications for Argox Mobile Computers running a Microsoft®
Windows® .NET CE5.0 Operating System. It gives all of the details necessary for calling
functions which control the devices on the Argox Mobile Computer or access the Value-added
device module, such as Scanning and Wireless.
The help file is organized into two sections, one is the system related, and the other one is the
value-added scanning functions providing the following information:
• Argox Mobile Computer standard Application Programming Interface (API) Definitions
for system related.
Audio
Display
Keypad
Led and Vibrator Indicators
Battery Status
System Settings
• Argox Scanning device Application Programming Interface (API) Definitions
API definitions illustrate how to call a given function. The API definitions are structed with some
information including prototypes, parameters, return values, examples and requirements for each
API. The “Requirements” section gives the information on whether or not a device supports a
specific API function and the files to be included.
Programming Manual 1
SDK Functions
When user wants to use SDK to develop their own program, they should link DLL file or LIB file,
and include header file SYSAPIAX.H.
There are two examples to show how to use LIB file and DLL file on their project. We will use
Visual Studio 2005 to explain.
Example 1: Using LIB file.
At first you should include sysapiax.lib in your project.
#include "Sysapiax.h"
main()
{
. . . . .
SetBacklightPWM(100, 100);
. . . . .
}
Example 2: Using DLL file.
HINSTANCE dllHandle = NULL;
typedef DWORD (_stdcall *pfnSetBacklightPWM)(int nACPowerPercent, int
nBatteryPercent);
pfnSetBacklightPWM m_SetBacklightPWM;
main()
{
dllHandle = LoadLibrary(L"SYSAPIAX.dll");
m_SetBacklightPWM = (pfnSetBacklightPWM) ::GetProcAddress(dllHandle,
_T("SetBacklightPWM"));
m_SetBacklightPWM(0, 0);
FreeLibrary(dllHandle);
}
Programming Manual 2
剩余78页未读,继续阅读
资源评论
comtechXIAOZHANG
- 粉丝: 0
- 资源: 6
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功