RegisterOnDeviceButton
Â
Declaration
Delphi
procedure RegisterOnDeviceButton(Handler: Pointer);
C/C++
SOPAD_API void SOPAD_registerOnDeviceButton(LPVOID lpHandler);
Description
Registers a procedure to be called when Button on Device is pressed.
Reference to Button code: OnDeviceButton, OnDeviceButtonEx
Â
The function pointed by lpHandler has the signature
- Â Delphi:Â type TOnDeviceButtonCallback = procedure(Button, lParam: Cardinal);
- Â C/C++:Â typedef void (*TOnDeviceButtonCallback)(ULONG Button, ULONG lParam);
Arguments
Handler
Pointer to a procedure of type TOnDeviceButtonCallback.
Â
 Â