Startstillcapture – Argox PT-9130 User Manual
Page 93

PT-90 Mobile Computer SDK Programming Manual 86
StartStillCapture
To Start with still picture capture and save to file path.
DWORD StartStillCapture
{
LPTSTR
lpPathName
BOOL
bSound
}
Parameters
lpPathName
[in] Pointer to the file save path after capture still picture. Max size of 256.
bSound
[in] Flag that indicates whether to ENABLE(TRUE) or DISABLE(FALSE) shutter sound.
Returned Values
If the action succeeds, the returned value is
. If the action fails, possible returned values are
Example
WCHAR szPictureName[256];
wcscpy(szPictureName, L”\\My Documents\\Img_01.jpg”);
if(StartStillCapture(szPictureName, TRUE) != E_FUNC_SUCCEED)
AfxMessageBox(_T("Still capture fail"));
Requirements
OS Versions: Windows CE 6.0 or beyond.
Header: sysapiax.h
Link Library: sysapiax.lib
Link DLL: sysapiax.dll
Device: PT90