Programming Manual
25
RegisterAlphaKeyNotification
Register the application to SYSAPIAX.dll, so that SYSAPIAX.dll will send a windows message to the application when the
alpha key pressed.
DWORD RegisterAlphaKeyNotification
{
HANDLE
hWnd
,
UINT
uMsg
}
Parameters
hWnd
[in] The window handle of the application that is to receive the message.
uMsg
[in] The message value that is to be sent when alpha key pressed.
Return Values
Return 0 if the operation is successful, otherwise return 1.
Remarks
The application should call UnregisterAlphaKeyNotification function to unregister message from the dll.
Example
if(RegisterAlphaKeyNotification(this->m_hWnd,0x0001))
AfxMessageBox(_T("RegisterAlphaKeyNotification FAIL!!"));
Requirements
OS Versions:
Windows CE 5.0 and later.
Header:
sysapiax.h
Link Library:
sysapiax.lib
Link DLL:
sysapiax.dll
Device:
PT61