RegisterOnDeviceButtonEx
Declaration
Delphi
procedure RegisterOnDeviceButtonEx(Handler: Pointer);
C/C++
SOPAD_API void SOPAD_registerOnDeviceButtonEx(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 TOnDeviceButtonCallbackEx = procedure(Button, lParam: Cardinal); stdcall;
- Â C/C++:Â typedef void (*TOnDeviceButtonCallbackEx)(ULONG Button, ULONG lParam); stdcall;
Arguments
Handler
Pointer to a procedure of type TOnDeviceButtonCallbackEx.
Â
  Â