1 | /* $Id: winevent.cpp,v 1.1 2001-08-31 20:31:03 phaller Exp $ */
|
---|
2 |
|
---|
3 | /*
|
---|
4 | * Win32 windows special event handling
|
---|
5 | *
|
---|
6 | * Copyright 2001 Patrick Haller
|
---|
7 | *
|
---|
8 | *
|
---|
9 | * Project Odin Software License can be found in LICENSE.TXT
|
---|
10 | *
|
---|
11 | */
|
---|
12 |
|
---|
13 | //Attention: many functions belong to other subsystems, move them to their
|
---|
14 | // right place!
|
---|
15 |
|
---|
16 | #include <odin.h>
|
---|
17 | #include <odinwrap.h>
|
---|
18 | #include <os2sel.h>
|
---|
19 |
|
---|
20 | #include <os2win.h>
|
---|
21 | #include <misc.h>
|
---|
22 | #include <winuser32.h>
|
---|
23 |
|
---|
24 | #include "user32.h"
|
---|
25 | #include <winicon.h>
|
---|
26 | #include "syscolor.h"
|
---|
27 | #include "pmwindow.h"
|
---|
28 | #include "oslibgdi.h"
|
---|
29 | #include "oslibwin.h"
|
---|
30 | #include "oslibprf.h"
|
---|
31 |
|
---|
32 | #include <wchar.h>
|
---|
33 | #include <stdlib.h>
|
---|
34 | #include <string.h>
|
---|
35 | //#include <oslibwin.h>
|
---|
36 | #include <win32wnd.h>
|
---|
37 | #include <winuser.h>
|
---|
38 | #include "initterm.h"
|
---|
39 |
|
---|
40 | #define DBG_LOCALLOG DBG_user32
|
---|
41 | #include "dbglocal.h"
|
---|
42 |
|
---|
43 | ODINDEBUGCHANNEL(USER32-WINEVENT)
|
---|
44 |
|
---|
45 |
|
---|
46 | /*****************************************************************************
|
---|
47 | * Name : NotifyWinEvent
|
---|
48 | * Purpose : The NotifyWinEvent function signalsthe system that a specific
|
---|
49 | * predefined event occured. If any client applications have
|
---|
50 | * registered a hook function for the event, the system calls
|
---|
51 | * the client's hook function
|
---|
52 | * Parameters: DWORD event
|
---|
53 | * HWND hwnd
|
---|
54 | * LONG idObjectType
|
---|
55 | * LONG idObject
|
---|
56 | * Variables :
|
---|
57 | * Result : void
|
---|
58 | * Remark :
|
---|
59 | * Status : UNTESTED
|
---|
60 | *
|
---|
61 | * Author : Patrick Haller [2001-08-31]
|
---|
62 | *****************************************************************************/
|
---|
63 |
|
---|
64 | ODINPROCEDURE4(NotifyWinEvent,
|
---|
65 | DWORD, event,
|
---|
66 | HWND, hwnd,
|
---|
67 | LONG, idObjectType,
|
---|
68 | LONG, idObject)
|
---|
69 | {
|
---|
70 | /*
|
---|
71 | dprintf(("USER32::NotifyWinEvent not implemented"));
|
---|
72 |
|
---|
73 | switch(event)
|
---|
74 | {
|
---|
75 | // case EVENT_SYSTEM_xxx:
|
---|
76 | // @@@PH call the WinEventProc
|
---|
77 | // break;
|
---|
78 | }
|
---|
79 | */
|
---|
80 | }
|
---|
81 |
|
---|
82 | DWORD WIN32API UnhookWinEvent(DWORD arg1)
|
---|
83 | {
|
---|
84 | dprintf(("USER32: UnhookWinEvent %x - empty stub!!", arg1));
|
---|
85 |
|
---|
86 | return 0;
|
---|
87 | }
|
---|
88 |
|
---|
89 | DWORD WIN32API SetWinEventHook(DWORD arg1, DWORD arg2, DWORD arg3, DWORD arg4, DWORD arg5, DWORD arg6, DWORD arg7)
|
---|
90 | {
|
---|
91 | dprintf(("USER32: SetWinEventHook %x %x %x %x %x %x %x - empty stub!!", arg1, arg2, arg3, arg4, arg5, arg6, arg7));
|
---|
92 |
|
---|
93 | return 0;
|
---|
94 | }
|
---|