summaryrefslogtreecommitdiffstats
path: root/server/mpm/winnt/Win9xConHook.h
diff options
context:
space:
mode:
authorWilliam A. Rowe Jr <wrowe@apache.org>2000-11-30 02:39:32 +0100
committerWilliam A. Rowe Jr <wrowe@apache.org>2000-11-30 02:39:32 +0100
commit84993db25a350eee4bd63480848eec64f4fcb555 (patch)
tree8f53d052c53792b088eeb85af4b2244963865903 /server/mpm/winnt/Win9xConHook.h
parentEnable logging a cookie with mod_log_config (diff)
downloadapache2-84993db25a350eee4bd63480848eec64f4fcb555.tar.xz
apache2-84993db25a350eee4bd63480848eec64f4fcb555.zip
This is the Win9x console hook handler ... much code to be pulled now
from the src/os/win32/services.c for Win9x. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87137 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--server/mpm/winnt/Win9xConHook.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/server/mpm/winnt/Win9xConHook.h b/server/mpm/winnt/Win9xConHook.h
new file mode 100644
index 0000000000..107cdbe2f5
--- /dev/null
+++ b/server/mpm/winnt/Win9xConHook.h
@@ -0,0 +1,24 @@
+
+
+
+/*
+ * FixConsoleControlHandler will register a handler routine with the
+ * Win9xConHook.dll, creating a hidden window and forwarding the
+ * WM_ENDSESSION and WM_CLOSE messages to the registered handler
+ * as CTRL_SHUTDOWN_EVENT, CTRL_LOGOFF_EVENT and CTRL_CLOSE_EVENT.
+ */
+BOOL WINAPI FixConsoleCtrlHandler(
+ PHANDLER_ROUTINE phandler,
+ BOOL add);
+
+/*
+ * PostMessage Hook:
+ */
+LRESULT CALLBACK GetMsgProc(INT hc, WPARAM wParam, LPARAM lParam);
+
+
+/*
+ * SendMessage Hook:
+ */
+LRESULT CALLBACK CallWndProc(INT hc, WPARAM wParam, LPARAM lParam);
+