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.