Add AppDefaults app selection to control panel
[wine/gsoc-2012-control.git] / dlls / wevtapi / main.c
blobfb673bb07f838f0ba7655e3e0f780784d00ba85b
1 /*
2 * Copyright 2012 Austin English
3 * Copyright 2012 André Hentschel
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.
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.
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
20 #include "config.h"
22 #include <stdarg.h>
24 #include "windef.h"
25 #include "winbase.h"
26 #include "winevt.h"
27 #include "wine/debug.h"
29 WINE_DEFAULT_DEBUG_CHANNEL(wevtapi);
31 BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
33 TRACE("(0x%p, %d, %p)\n", hinstDLL, fdwReason, lpvReserved);
35 switch (fdwReason)
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;
46 return TRUE;
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)
56 FIXME("(%p %i %u %u %p %p) stub\n", ChannelConfig, PropertyId, Flags, PropertyValueBufferSize,
57 PropertyValueBuffer, PropertyValueBufferUsed);
58 return FALSE;
61 BOOL WINAPI EvtSetChannelConfigProperty(EVT_HANDLE ChannelConfig,
62 EVT_CHANNEL_CONFIG_PROPERTY_ID PropertyId,
63 DWORD Flags,
64 PEVT_VARIANT PropertyValue)
66 FIXME("(%p %i %u %p) stub\n", ChannelConfig, PropertyId, Flags, PropertyValue);
67 return FALSE;
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)
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;
79 EVT_HANDLE WINAPI EvtOpenChannelConfig(EVT_HANDLE Session, LPCWSTR ChannelPath, DWORD Flags)
81 FIXME("(%p %s %u) stub\n", Session, debugstr_w(ChannelPath), Flags);
82 return NULL;