wined3d: Pass a wined3d_device_context to wined3d_cs_emit_blt_sub_resource().
[wine/zf.git] / dlls / advapi32 / wmi.c
blob0215fbe97dd278c3d749694f8b3841b6cceaff09
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/debug.h"
34 #include "advapi32_misc.h"
36 WINE_DEFAULT_DEBUG_CHANNEL(wmi);
38 /******************************************************************************
39 * WmiExecuteMethodA [ADVAPI32.@]
41 ULONG WMIAPI WmiExecuteMethodA(WMIHANDLE handle, const char *name, ULONG method, ULONG inputsize,
42 void *inputbuffer, ULONG *outputsize, void *outputbuffer)
44 FIXME(" %p %s %u %u %p %p %p: stub\n", handle, debugstr_a(name), method, inputsize, inputbuffer,
45 outputsize, outputbuffer);
46 return ERROR_CALL_NOT_IMPLEMENTED;
49 /******************************************************************************
50 * WmiExecuteMethodW [ADVAPI32.@]
52 ULONG WMIAPI WmiExecuteMethodW(WMIHANDLE handle, const WCHAR *name, ULONG method, ULONG inputsize,
53 void *inputbuffer, ULONG *outputsize, void *outputbuffer)
55 FIXME("%p %s %u %u %p %p %p: stub\n", handle, debugstr_w(name), method, inputsize, inputbuffer,
56 outputsize, outputbuffer);
57 return ERROR_CALL_NOT_IMPLEMENTED;
60 /******************************************************************************
61 * WmiFreeBuffer [ADVAPI32.@]
63 void WMIAPI WmiFreeBuffer(void *buffer)
65 FIXME("%p: stub\n", buffer);
68 /******************************************************************************
69 * WmiMofEnumerateResourcesA [ADVAPI32.@]
71 ULONG WMIAPI WmiMofEnumerateResourcesA(MOFHANDLE handle, ULONG *count, MOFRESOURCEINFOA **resource)
73 FIXME("%p %p %p: stub\n", handle, count, resource);
74 return ERROR_CALL_NOT_IMPLEMENTED;
77 /******************************************************************************
78 * WmiMofEnumerateResourcesW [ADVAPI32.@]
80 ULONG WMIAPI WmiMofEnumerateResourcesW(MOFHANDLE handle, ULONG *count, MOFRESOURCEINFOW **resource)
82 FIXME("%p %p %p: stub\n", handle, count, resource);
83 return ERROR_CALL_NOT_IMPLEMENTED;
86 /******************************************************************************
87 * WmiNotificationRegistrationA [ADVAPI32.@]
89 ULONG WMIAPI WmiNotificationRegistrationA(GUID *guid, BOOLEAN enable, void *info,
90 ULONG_PTR context, ULONG flags)
92 FIXME("%s %u %p 0x%lx 0x%08x: stub\n", debugstr_guid(guid), enable, info, context, flags);
93 return ERROR_CALL_NOT_IMPLEMENTED;
96 /******************************************************************************
97 * WmiNotificationRegistrationW [ADVAPI32.@]
99 ULONG WMIAPI WmiNotificationRegistrationW(GUID *guid, BOOLEAN enable, void *info,
100 ULONG_PTR context, ULONG flags)
102 FIXME("%s %u %p 0x%lx 0x%08x: stub\n", debugstr_guid(guid), enable, info, context, flags);
103 return ERROR_CALL_NOT_IMPLEMENTED;
106 /******************************************************************************
107 * WmiOpenBlock [ADVAPI32.@]
109 ULONG WINAPI WmiOpenBlock(GUID *guid, ULONG access, WMIHANDLE *handle)
111 FIXME("%s %u %p: stub\n", debugstr_guid(guid), access, handle);
112 return ERROR_SUCCESS;
115 /******************************************************************************
116 * WmiQueryAllDataA [ADVAPI32.@]
118 ULONG WMIAPI WmiQueryAllDataA(WMIHANDLE handle, ULONG *size, void *buffer)
120 FIXME("%p %p %p: stub\n", handle, size, buffer);
121 return ERROR_CALL_NOT_IMPLEMENTED;
124 /******************************************************************************
125 * WmiQueryAllDataW [ADVAPI32.@]
127 ULONG WMIAPI WmiQueryAllDataW(WMIHANDLE handle, ULONG *size, void *buffer)
129 FIXME("%p %p %p: stub\n", handle, size, buffer);
130 return ERROR_CALL_NOT_IMPLEMENTED;
133 /******************************************************************************
134 * WmiQueryGuidInformation [ADVAPI32.@]
136 ULONG WMIAPI WmiQueryGuidInformation(WMIHANDLE handle, WMIGUIDINFORMATION *info)
138 FIXME("%p %p: stub\n", handle, info);
139 return ERROR_CALL_NOT_IMPLEMENTED;
142 /******************************************************************************
143 * WmiSetSingleInstanceA [ADVAPI32.@]
145 ULONG WMIAPI WmiSetSingleInstanceA(WMIHANDLE handle, const char *name, ULONG reserved,
146 ULONG size, void *buffer)
148 FIXME("%p %s %u %u %p: stub\n", handle, debugstr_a(name), reserved, size, buffer);
149 return ERROR_CALL_NOT_IMPLEMENTED;
152 /******************************************************************************
153 * WmiSetSingleInstanceW [ADVAPI32.@]
155 ULONG WMIAPI WmiSetSingleInstanceW(WMIHANDLE handle, const WCHAR *name, ULONG reserved,
156 ULONG size, void *buffer)
158 FIXME("%p %s %u %u %p: stub\n", handle, debugstr_w(name), reserved, size, buffer);
159 return ERROR_CALL_NOT_IMPLEMENTED;
162 /******************************************************************************
163 * WmiSetSingleItemA [ADVAPI32.@]
165 ULONG WMIAPI WmiSetSingleItemA(WMIHANDLE handle, const char *name, ULONG id, ULONG reserved,
166 ULONG size, void *buffer)
168 FIXME("%p %s %u %u %u %p: stub\n", handle, debugstr_a(name), id, reserved, size, buffer);
169 return ERROR_CALL_NOT_IMPLEMENTED;
172 /******************************************************************************
173 * WmiSetSingleItemW [ADVAPI32.@]
175 ULONG WMIAPI WmiSetSingleItemW(WMIHANDLE handle, const WCHAR *name, ULONG id, ULONG reserved,
176 ULONG size, void *buffer)
178 FIXME("%p %s %u %u %u %p: stub\n", handle, debugstr_w(name), id, reserved, size, buffer);
179 return ERROR_CALL_NOT_IMPLEMENTED;