Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

winevent.cpp

Go to the documentation of this file.
00001 /* $Id: winevent.cpp,v 1.1 2001/08/31 20:31:03 phaller Exp $ */
00002 
00003 /*
00004  * Win32 windows special event handling
00005  *
00006  * Copyright 2001 Patrick Haller
00007  *
00008  *
00009  * Project Odin Software License can be found in LICENSE.TXT
00010  *
00011  */
00012 
00013 //Attention: many functions belong to other subsystems, move them to their
00014 //           right place!
00015 
00016 #include <odin.h>
00017 #include <odinwrap.h>
00018 #include <os2sel.h>
00019 
00020 #include <os2win.h>
00021 #include <misc.h>
00022 #include <winuser32.h>
00023 
00024 #include "user32.h"
00025 #include <winicon.h>
00026 #include "syscolor.h"
00027 #include "pmwindow.h"
00028 #include "oslibgdi.h"
00029 #include "oslibwin.h"
00030 #include "oslibprf.h"
00031 
00032 #include <wchar.h>
00033 #include <stdlib.h>
00034 #include <string.h>
00035 //#include <oslibwin.h>
00036 #include <win32wnd.h>
00037 #include <winuser.h>
00038 #include "initterm.h"
00039 
00040 #define DBG_LOCALLOG    DBG_user32
00041 #include "dbglocal.h"
00042 
00043 ODINDEBUGCHANNEL(USER32-WINEVENT)
00044 
00045 
00046 /*****************************************************************************
00047  * Name      : NotifyWinEvent
00048  * Purpose   : The NotifyWinEvent function signalsthe system that a specific
00049  *             predefined event occured. If any client applications have
00050  *             registered a hook function for the event, the system calls
00051  *             the client's hook function
00052  * Parameters: DWORD event
00053  *             HWND  hwnd
00054  *             LONG  idObjectType
00055  *             LONG  idObject
00056  * Variables :
00057  * Result    : void
00058  * Remark    :
00059  * Status    : UNTESTED
00060  *
00061  * Author    : Patrick Haller [2001-08-31]
00062  *****************************************************************************/
00063 
00064 ODINPROCEDURE4(NotifyWinEvent,
00065                DWORD, event,
00066                HWND,  hwnd,
00067                LONG,  idObjectType,
00068                LONG,  idObject)
00069 {
00070   /*
00071   dprintf(("USER32::NotifyWinEvent not implemented"));
00072   
00073   switch(event)
00074   {
00075     // case EVENT_SYSTEM_xxx:
00076     // @@@PH call the WinEventProc
00077     // break;
00078     }
00079     */
00080 }
00081 
00082 DWORD WIN32API UnhookWinEvent(DWORD arg1)
00083 {
00084   dprintf(("USER32: UnhookWinEvent %x - empty stub!!", arg1));
00085 
00086   return 0;
00087 }
00088 
00089 DWORD WIN32API SetWinEventHook(DWORD arg1, DWORD arg2, DWORD arg3, DWORD arg4, DWORD arg5, DWORD arg6, DWORD arg7)
00090 {
00091   dprintf(("USER32: SetWinEventHook %x %x %x %x %x %x %x - empty stub!!", arg1, arg2, arg3, arg4, arg5, arg6, arg7));
00092 
00093   return 0;
00094 }

Generated on Wed Jan 23 23:17:53 2002 for ODIN-user32 by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001