Added the WM_CTRLALTDEL window message that sends CTRL+ALT+DEL to the VM.
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
*
|
*
|
||||||
* Platform support defintions for Win32.
|
* Platform support defintions for Win32.
|
||||||
*
|
*
|
||||||
* Version: @(#)win.h 1.0.20 2018/10/10
|
* Version: @(#)win.h 1.0.21 2018/10/12
|
||||||
*
|
*
|
||||||
* Authors: Sarah Walker, <http://pcem-emulator.co.uk/>
|
* Authors: Sarah Walker, <http://pcem-emulator.co.uk/>
|
||||||
* Miran Grca, <mgrca8@gmail.com>
|
* Miran Grca, <mgrca8@gmail.com>
|
||||||
@@ -52,6 +52,7 @@
|
|||||||
#define WM_SENDHWND 0x8891
|
#define WM_SENDHWND 0x8891
|
||||||
#define WM_HARDRESET 0x8892
|
#define WM_HARDRESET 0x8892
|
||||||
#define WM_SHUTDOWN 0x8893
|
#define WM_SHUTDOWN 0x8893
|
||||||
|
#define WM_CTRLALTDEL 0x8894
|
||||||
|
|
||||||
#ifdef USE_VNC
|
#ifdef USE_VNC
|
||||||
#define RENDERERS_NUM 5
|
#define RENDERERS_NUM 5
|
||||||
|
@@ -8,7 +8,7 @@
|
|||||||
*
|
*
|
||||||
* user Interface module for WinAPI on Windows.
|
* user Interface module for WinAPI on Windows.
|
||||||
*
|
*
|
||||||
* Version: @(#)win_ui.c 1.0.32 2018/10/10
|
* Version: @(#)win_ui.c 1.0.33 2018/10/12
|
||||||
*
|
*
|
||||||
* Authors: Sarah Walker, <http://pcem-emulator.co.uk/>
|
* Authors: Sarah Walker, <http://pcem-emulator.co.uk/>
|
||||||
* Miran Grca, <mgrca8@gmail.com>
|
* Miran Grca, <mgrca8@gmail.com>
|
||||||
@@ -652,6 +652,10 @@ MainWindowProcedure(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
|
|||||||
PostQuitMessage(0);
|
PostQuitMessage(0);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case WM_CTRLALTDEL:
|
||||||
|
pc_reset(0);
|
||||||
|
break;
|
||||||
|
|
||||||
case WM_SYSCOMMAND:
|
case WM_SYSCOMMAND:
|
||||||
/*
|
/*
|
||||||
* Disable ALT key *ALWAYS*,
|
* Disable ALT key *ALWAYS*,
|
||||||
|
Reference in New Issue
Block a user