Registeralphakeynotification – Argox PT-9130 User Manual
Page 40

PT-90 Mobile Computer SDK Programming Manual 33
RegisterAlphaKeyNotification
To Register the application to SYSAPIAX.dll, so that SYSAPIAX.dll will send a window message to the application when the
Alpha Key is pressed.
DWORD RegisterAlphaKeyNotification
{
HANDLE
hWnd
,
UINT
uMsg
}
Parameters
hWnd
[in] The handling window of the application to receive the message.
uMsg
[in] The message value to be sent when Alpha Key is pressed.
Returned Values
Return 0 if the operation is successful, otherwise return 1.
Remarks
The application should call UnregisterAlphaKeyNotification function to unregister the prompt message from the
dll.
Example
if(RegisterAlphaKeyNotification(this->m_hWnd,WM_USER+0x0001))
AfxMessageBox(_T("RegisterAlphaKeyNotification FAIL!!"));
Requirements
OS Versions: Windows CE 6.0 or beyond.
Header: sysapiax.h
Link Library: sysapiax.lib
Link DLL: sysapiax.dll
Device: PT90