/usr/src/redhat/BUILD/httpd-2.2.3/server/mpm/winnt/Win9xConHook.h

説明を見る。
00001 /* Licensed to the Apache Software Foundation (ASF) under one or more
00002  * contributor license agreements.  See the NOTICE file distributed with
00003  * this work for additional information regarding copyright ownership.
00004  * The ASF licenses this file to You under the Apache License, Version 2.0
00005  * (the "License"); you may not use this file except in compliance with
00006  * the License.  You may obtain a copy of the License at
00007  *
00008  *     http://www.apache.org/licenses/LICENSE-2.0
00009  *
00010  * Unless required by applicable law or agreed to in writing, software
00011  * distributed under the License is distributed on an "AS IS" BASIS,
00012  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00013  * See the License for the specific language governing permissions and
00014  * limitations under the License.
00015  */
00016 
00025 #ifndef AP_WIN9XCONHOOK_H
00026 #define AP_WIN9XCONHOOK_H
00027 
00028 #ifdef WIN32
00029 
00030 /* Windows9xServiceCtrlHandler registers a handler routine, frees the
00031  * console window, and registers this process as a service in Win9x.
00032  * It creats a hidden window of class "ApacheWin95ServiceMonitor"
00033  * and titled by the name passed, which passes the WM_SHUTDOWN message 
00034  * through the given HandlerRoutine's CTRL_SHUTDOWN event.
00035  * Call with name of NULL to remove the Service handler.
00036  */
00037 BOOL WINAPI Windows9xServiceCtrlHandler(PHANDLER_ROUTINE phandler, LPCSTR name);
00038 
00039 
00040 /* FixConsoleControlHandler registers a handler routine with the
00041  * Win9xConHook.dll, creating a hidden window and forwarding the
00042  * WM_ENDSESSION and WM_CLOSE messages to the given HandlerRoutine
00043  * as CTRL_SHUTDOWN_EVENT, CTRL_LOGOFF_EVENT and CTRL_CLOSE_EVENT. 
00044  * The application should still use SetConsoleCtrlHandler to grab
00045  * the CTRL_BREAK_EVENT and CTRL_C_EVENT, if desired.
00046  */
00047 BOOL WINAPI FixConsoleCtrlHandler(PHANDLER_ROUTINE phandler, BOOL add);
00048 
00049 
00050 /*
00051  * Exported PostMessage Hook, never use this directly:
00052  *
00053  * LRESULT CALLBACK GetMsgProc(INT hc, WPARAM wParam, LPARAM lParam);
00054  */
00055 
00056 
00057 /*
00058  * Exported SendMessage Hook, never use this directly:
00059  *
00060  * LRESULT CALLBACK CallWndProc(INT hc, WPARAM wParam, LPARAM lParam);
00061  */
00062 
00063 #endif /* WIN32 */
00064 
00065 #endif AP_WIN9XCONHOOK_H
00066 

Apacheに対してSun Jul 19 22:05:23 2009に生成されました。  doxygen 1.4.7