S2k_load – Argox PT-9130 User Manual

Page 202

Advertising
background image

PT-90 Mobile Computer SDK Programming Manual 195

S2K_Load

To Load or Unload the the application program scan.exe.

BOOL S2K_Load

{

BOOL

bLoad

,

DWORD

dwTimeOut

}

Parameters

bLoad

[in] To set TRUE to Load scan.exe and FALSE to Unload scan.exe

dwTimeOut

[in] When Unload scan.exe it will wait until the scan.exe been closed or Timeout by this parameter.

Returned Values

Returning TRUE if the operation is successful, otherwise, return FALSE.

Example

if(S2K_Load(FALSE,1000)){

AfxMessageBox(_T("unload scan.exe success"));

else

AfxMessageBox(_T("unload scan.exe failed"));

Requirements

OS Versions: Windows CE 6.0 or beyond.

Header: scanapiax.h

Link Library: scanapiax.lib

Link DLL: scanapiax.dll
Device: PT90

Advertising