J
Jogi
hi there,
i try press the hangup key in my application, to hangup outgoing calls.
Can anyone tell my whats wrong with my code:
private const byte VK_HANGUP = 0x73;
private const uint KEYEVENTF_EXTENDEDKEY = 0x0001;
[DllImport("Coredll.dll")]
public static extern void keybd_event(byte bVk, byte bScan, uint
dwFlags, uint dwExtraInfo);
keybd_event(VK_HANGUP, 0, KEYEVENTF_EXTENDEDKEY, null);
The code runs without errors, but also without success. Need help ...
please
Regards
Jogi
i try press the hangup key in my application, to hangup outgoing calls.
Can anyone tell my whats wrong with my code:
private const byte VK_HANGUP = 0x73;
private const uint KEYEVENTF_EXTENDEDKEY = 0x0001;
[DllImport("Coredll.dll")]
public static extern void keybd_event(byte bVk, byte bScan, uint
dwFlags, uint dwExtraInfo);
keybd_event(VK_HANGUP, 0, KEYEVENTF_EXTENDEDKEY, null);
The code runs without errors, but also without success. Need help ...
please
Regards
Jogi