include: Assorted spelling fixes.
[wine] / dlls / wevtapi / main.c
1 /*
2  * Copyright 2012 Austin English
3  * Copyright 2012 AndrĂ© Hentschel
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Lesser General Public
7  * License as published by the Free Software Foundation; either
8  * version 2.1 of the License, or (at your option) any later version.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13  * Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public
16  * License along with this library; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
18  */
19
20 #include "config.h"
21
22 #include <stdarg.h>
23
24 #include "windef.h"
25 #include "winbase.h"
26 #include "winevt.h"
27 #include "wine/debug.h"
28
29 WINE_DEFAULT_DEBUG_CHANNEL(wevtapi);
30
31 BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
32 {
33     TRACE("(0x%p, %d, %p)\n", hinstDLL, fdwReason, lpvReserved);
34
35     switch (fdwReason)
36     {
37         case DLL_WINE_PREATTACH:
38             return FALSE;    /* prefer native version */
39         case DLL_PROCESS_ATTACH:
40             DisableThreadLibraryCalls(hinstDLL);
41             break;
42         case DLL_PROCESS_DETACH:
43             break;
44     }
45
46     return TRUE;
47 }
48
49 BOOL WINAPI EvtGetChannelConfigProperty(EVT_HANDLE ChannelConfig,
50                                         EVT_CHANNEL_CONFIG_PROPERTY_ID PropertyId,
51                                         DWORD Flags,
52                                         DWORD PropertyValueBufferSize,
53                                         PEVT_VARIANT PropertyValueBuffer,
54                                         DWORD *PropertyValueBufferUsed)
55 {
56     FIXME("(%p %i %u %u %p %p) stub\n", ChannelConfig, PropertyId, Flags, PropertyValueBufferSize,
57           PropertyValueBuffer, PropertyValueBufferUsed);
58     return FALSE;
59 }
60
61 BOOL WINAPI EvtSetChannelConfigProperty(EVT_HANDLE ChannelConfig,
62                                         EVT_CHANNEL_CONFIG_PROPERTY_ID PropertyId,
63                                         DWORD Flags,
64                                         PEVT_VARIANT PropertyValue)
65 {
66     FIXME("(%p %i %u %p) stub\n", ChannelConfig, PropertyId, Flags, PropertyValue);
67     return FALSE;
68 }
69
70 EVT_HANDLE WINAPI EvtSubscribe(EVT_HANDLE Session, HANDLE SignalEvent, LPCWSTR ChannelPath,
71                                LPCWSTR Query, EVT_HANDLE Bookmark, PVOID context,
72                                EVT_SUBSCRIBE_CALLBACK Callback, DWORD Flags)
73 {
74     FIXME("(%p %p %s %s %p %p %p %u) stub\n", Session, SignalEvent, debugstr_w(ChannelPath),
75           debugstr_w(Query), Bookmark, context, Callback, Flags);
76     return NULL;
77 }
78
79 EVT_HANDLE WINAPI EvtOpenChannelConfig(EVT_HANDLE Session, LPCWSTR ChannelPath, DWORD Flags)
80 {
81     FIXME("(%p %s %u) stub\n", Session, debugstr_w(ChannelPath), Flags);
82     return NULL;
83 }