wbemprox: Implement more properties of Win32_DiskDrive.
[wine/wine-gecko.git] / dlls / wevtapi / main.c
blobecb84276244f680df70546405e6a46f612aea3c0
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;
44 return TRUE;
47 BOOL WINAPI EvtGetChannelConfigProperty(EVT_HANDLE ChannelConfig,
48 EVT_CHANNEL_CONFIG_PROPERTY_ID PropertyId,
49 DWORD Flags,
50 DWORD PropertyValueBufferSize,
51 PEVT_VARIANT PropertyValueBuffer,
52 DWORD *PropertyValueBufferUsed)
54 FIXME("(%p %i %u %u %p %p) stub\n", ChannelConfig, PropertyId, Flags, PropertyValueBufferSize,
55 PropertyValueBuffer, PropertyValueBufferUsed);
56 return FALSE;
59 BOOL WINAPI EvtSetChannelConfigProperty(EVT_HANDLE ChannelConfig,
60 EVT_CHANNEL_CONFIG_PROPERTY_ID PropertyId,
61 DWORD Flags,
62 PEVT_VARIANT PropertyValue)
64 FIXME("(%p %i %u %p) stub\n", ChannelConfig, PropertyId, Flags, PropertyValue);
65 return FALSE;
68 EVT_HANDLE WINAPI EvtSubscribe(EVT_HANDLE Session, HANDLE SignalEvent, LPCWSTR ChannelPath,
69 LPCWSTR Query, EVT_HANDLE Bookmark, PVOID context,
70 EVT_SUBSCRIBE_CALLBACK Callback, DWORD Flags)
72 FIXME("(%p %p %s %s %p %p %p %u) stub\n", Session, SignalEvent, debugstr_w(ChannelPath),
73 debugstr_w(Query), Bookmark, context, Callback, Flags);
74 return NULL;
77 EVT_HANDLE WINAPI EvtOpenChannelConfig(EVT_HANDLE Session, LPCWSTR ChannelPath, DWORD Flags)
79 FIXME("(%p %s %u) stub\n", Session, debugstr_w(ChannelPath), Flags);
80 return NULL;