PT-90 Mobile Computer SDK Programming Manual
192
API_SaveSettingsToFile
To Save current scanner settings to file. The extension file name is “axs”.
BOOL
API_SaveSettingsToFile
{
LPCTSTR
filename
}
Parameters
filename
[in] file name of the scanner settings.
Returned Values
Returning TRUE if the operation is successful, otherwise, return FALSE.
Example
CString strFile;
CfileDialog dlg(FALSE, _T("axs"), NULL, OFN_CREATEPROMPT, _T("Scanner Settings Files (*.axs) |*.axs ||
"));
if(dlg.DoModal() != IDOK)
return;
strFile = dlg.GetPathName();
if(API_SaveSettingsToFile(strFile))
AfxMessageBox(_T("Save to file Succeed"));
else
AfxMessageBox(_T("Save to file Fail"));
Requirements
OS Versions:
Windows CE 6.0 or beyond.
Header:
scanapiax.h
Link Library:
scanapiax.lib
Link DLL:
scanapiax.dll
Device:
PT90