wined3d: Drop support for WINED3DFMT_D32_UNORM.
[wine.git] / dlls / advapi32 / wmi.c
blobb615699230ee63bdd950a12d269ce7c0e3b74213
1 /*
2 * Win32 advapi/wmi functions
4 * Copyright 2016 Austin English
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21 #include <stdarg.h>
23 #include "windef.h"
24 #include "winbase.h"
25 #include "winerror.h"
26 #include "winternl.h"
27 #include "wmistr.h"
29 #define _WMI_SOURCE_
30 #include "wmium.h"
32 #include "wine/unicode.h"
33 #include "wine/debug.h"
35 #include "advapi32_misc.h"
37 WINE_DEFAULT_DEBUG_CHANNEL(wmi);
39 /******************************************************************************
40 * WmiExecuteMethodA [ADVAPI32.@]
42 ULONG WMIAPI WmiExecuteMethodA(WMIHANDLE handle, const char *name, ULONG method, ULONG inputsize,
43 void *inputbuffer, ULONG *outputsize, void *outputbuffer)
45 FIXME(" %p %s %u %u %p %p %p: stub\n", handle, debugstr_a(name), method, inputsize, inputbuffer,
46 outputsize, outputbuffer);
47 return ERROR_CALL_NOT_IMPLEMENTED;
50 /******************************************************************************
51 * WmiExecuteMethodW [ADVAPI32.@]
53 ULONG WMIAPI WmiExecuteMethodW(WMIHANDLE handle, const WCHAR *name, ULONG method, ULONG inputsize,
54 void *inputbuffer, ULONG *outputsize, void *outputbuffer)
56 FIXME("%p %s %u %u %p %p %p: stub\n", handle, debugstr_w(name), method, inputsize, inputbuffer,
57 outputsize, outputbuffer);
58 return ERROR_CALL_NOT_IMPLEMENTED;
61 /******************************************************************************
62 * WmiFreeBuffer [ADVAPI32.@]
64 void WMIAPI WmiFreeBuffer(void *buffer)
66 FIXME("%p: stub\n", buffer);
69 /******************************************************************************
70 * WmiMofEnumerateResourcesA [ADVAPI32.@]
72 ULONG WMIAPI WmiMofEnumerateResourcesA(MOFHANDLE handle, ULONG *count, MOFRESOURCEINFOA **resource)
74 FIXME("%p %p %p: stub\n", handle, count, resource);
75 return ERROR_CALL_NOT_IMPLEMENTED;
78 /******************************************************************************
79 * WmiMofEnumerateResourcesW [ADVAPI32.@]
81 ULONG WMIAPI WmiMofEnumerateResourcesW(MOFHANDLE handle, ULONG *count, MOFRESOURCEINFOW **resource)
83 FIXME("%p %p %p: stub\n", handle, count, resource);
84 return ERROR_CALL_NOT_IMPLEMENTED;
87 /******************************************************************************
88 * WmiNotificationRegistrationA [ADVAPI32.@]
90 ULONG WMIAPI WmiNotificationRegistrationA(GUID *guid, BOOLEAN enable, void *info,
91 ULONG_PTR context, ULONG flags)
93 FIXME("%s %u %p 0x%lx 0x%08x: stub\n", debugstr_guid(guid), enable, info, context, flags);
94 return ERROR_CALL_NOT_IMPLEMENTED;
97 /******************************************************************************
98 * WmiNotificationRegistrationW [ADVAPI32.@]
100 ULONG WMIAPI WmiNotificationRegistrationW(GUID *guid, BOOLEAN enable, void *info,
101 ULONG_PTR context, ULONG flags)
103 FIXME("%s %u %p 0x%lx 0x%08x: stub\n", debugstr_guid(guid), enable, info, context, flags);
104 return ERROR_CALL_NOT_IMPLEMENTED;
107 /******************************************************************************
108 * WmiOpenBlock [ADVAPI32.@]
110 ULONG WINAPI WmiOpenBlock(GUID *guid, ULONG access, WMIHANDLE *handle)
112 FIXME("%s %u %p: stub\n", debugstr_guid(guid), access, handle);
113 return ERROR_SUCCESS;
116 /******************************************************************************
117 * WmiQueryAllDataA [ADVAPI32.@]
119 ULONG WMIAPI WmiQueryAllDataA(WMIHANDLE handle, ULONG *size, void *buffer)
121 FIXME("%p %p %p: stub\n", handle, size, buffer);
122 return ERROR_CALL_NOT_IMPLEMENTED;
125 /******************************************************************************
126 * WmiQueryAllDataW [ADVAPI32.@]
128 ULONG WMIAPI WmiQueryAllDataW(WMIHANDLE handle, ULONG *size, void *buffer)
130 FIXME("%p %p %p: stub\n", handle, size, buffer);
131 return ERROR_CALL_NOT_IMPLEMENTED;
134 /******************************************************************************
135 * WmiQueryGuidInformation [ADVAPI32.@]
137 ULONG WMIAPI WmiQueryGuidInformation(WMIHANDLE handle, WMIGUIDINFORMATION *info)
139 FIXME("%p %p: stub\n", handle, info);
140 return ERROR_CALL_NOT_IMPLEMENTED;
143 /******************************************************************************
144 * WmiSetSingleInstanceA [ADVAPI32.@]
146 ULONG WMIAPI WmiSetSingleInstanceA(WMIHANDLE handle, const char *name, ULONG reserved,
147 ULONG size, void *buffer)
149 FIXME("%p %s %u %u %p: stub\n", handle, debugstr_a(name), reserved, size, buffer);
150 return ERROR_CALL_NOT_IMPLEMENTED;
153 /******************************************************************************
154 * WmiSetSingleInstanceW [ADVAPI32.@]
156 ULONG WMIAPI WmiSetSingleInstanceW(WMIHANDLE handle, const WCHAR *name, ULONG reserved,
157 ULONG size, void *buffer)
159 FIXME("%p %s %u %u %p: stub\n", handle, debugstr_w(name), reserved, size, buffer);
160 return ERROR_CALL_NOT_IMPLEMENTED;
163 /******************************************************************************
164 * WmiSetSingleItemA [ADVAPI32.@]
166 ULONG WMIAPI WmiSetSingleItemA(WMIHANDLE handle, const char *name, ULONG id, ULONG reserved,
167 ULONG size, void *buffer)
169 FIXME("%p %s %u %u %u %p: stub\n", handle, debugstr_a(name), id, reserved, size, buffer);
170 return ERROR_CALL_NOT_IMPLEMENTED;
173 /******************************************************************************
174 * WmiSetSingleItemW [ADVAPI32.@]
176 ULONG WMIAPI WmiSetSingleItemW(WMIHANDLE handle, const WCHAR *name, ULONG id, ULONG reserved,
177 ULONG size, void *buffer)
179 FIXME("%p %s %u %u %u %p: stub\n", handle, debugstr_w(name), id, reserved, size, buffer);
180 return ERROR_CALL_NOT_IMPLEMENTED;