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
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);
37 case DLL_WINE_PREATTACH:
38 return FALSE; /* prefer native version */
39 case DLL_PROCESS_ATTACH:
40 DisableThreadLibraryCalls(hinstDLL);
42 case DLL_PROCESS_DETACH:
49 BOOL WINAPI EvtGetChannelConfigProperty(EVT_HANDLE ChannelConfig,
50 EVT_CHANNEL_CONFIG_PROPERTY_ID PropertyId,
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);
61 BOOL WINAPI EvtSetChannelConfigProperty(EVT_HANDLE ChannelConfig,
62 EVT_CHANNEL_CONFIG_PROPERTY_ID PropertyId,
64 PEVT_VARIANT PropertyValue)
66 FIXME("(%p %i %u %p) stub\n", ChannelConfig, PropertyId, Flags, PropertyValue);
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);
79 EVT_HANDLE WINAPI EvtOpenChannelConfig(EVT_HANDLE Session, LPCWSTR ChannelPath, DWORD Flags)
81 FIXME("(%p %s %u) stub\n", Session, debugstr_w(ChannelPath), Flags);