beautypg.com

Scanner_version, Sim_scankey_press – Argox PA-20 Programming Guide User Manual

Page 29

background image

PT-20 Programming Guide

27

1: Load OK.

Scanner_Version

Purpose: Query the scan module version.

Syntax: BOOL Scanner_Version(char* Returnbuf);

Example call: If(Scanner_Version (Returnbuf))

_printf_color(COLOR_

RED, “Query module version OK!”);

Includes:

#include “SDK.h ”

Description: This function can query the scan module version.

Returns: 0:Query module fail.

1: Query module OK.

Sim_ScanKey_Press

Purpose: To simulator the

“Scan” key press or release.

Syntax: void Sim_ScanKey_Press(BOOL bStatus)

Example call: Sim_ScanKey_Press(TRUE);//Set the scan key pressed.

Sim_ScanKey_Press(FALSE);//Set the scan key released.

Includes:

#include “SDK.h ”

Description: This function can simulator the scan key status for pressed or released.

Returns: None