Keybd_event in Notes 9

Calls to keybd_event, declared like

Declare Sub keybd_event Lib “user32.dll” (Byval bVk As Integer, Byval bScan As Integer, Byval dwFlags As Integer, Byval dwExtraInfo As Integer)

doesn’t work for me in Notes 9 - neither standard client, nor basic client - under Windows 7 Pro.

Any experiences with this api call in Notes 9?