ReactOS 0.4.16-dev-106-g10b08aa
winreg.idl
Go to the documentation of this file.
1/*
2 * Directory Service Setup interface definition
3 */
4
5#include <ms-dtyp.idl>
6
7typedef [context_handle] HANDLE RPC_HKEY;
9
11
12typedef struct value_ent
13{
19
20typedef ULONG REGSAM;
21
23{
28
30{
35
36[
37 uuid(338CD001-2244-31F1-AAAA-900038001003),
38 version(1.0),
40 endpoint("ncacn_np:[\\pipe\\winreg]")
41#ifndef __midl
42 ,explicit_handle
43#endif
44]
45interface winreg
46{
47 /* Function 0 */
51 [in, unique] PREGISTRY_SERVER_NAME ServerName,
52 [in] REGSAM samDesired,
53 [out] PRPC_HKEY phKey);
54
55 /* Function 1 */
59 [in, unique] PREGISTRY_SERVER_NAME ServerName,
60 [in] REGSAM samDesired,
61 [out] PRPC_HKEY phKey);
62
63 /* Function 2 */
67 [in, unique] PREGISTRY_SERVER_NAME ServerName,
68 [in] REGSAM samDesired,
69 [out] PRPC_HKEY phKey);
70
71 /* Function 3 */
75 [in, unique] PREGISTRY_SERVER_NAME ServerName,
76 [in] REGSAM samDesired,
77 [out] PRPC_HKEY phKey);
78
79 /* Function 4 */
83 [in, unique] PREGISTRY_SERVER_NAME ServerName,
84 [in] REGSAM samDesired,
85 [out] PRPC_HKEY phKey);
86
87 /* Function 5 */
91 [in, out] PRPC_HKEY hKey);
92
93 /* Function 6 */
98 [in] PRPC_UNICODE_STRING lpSubKey,
99 [in] PRPC_UNICODE_STRING lpClass,
101 [in] REGSAM samDesired,
102 [in, unique] PRPC_SECURITY_ATTRIBUTES lpSecurityAttributes,
103 [out] PRPC_HKEY phkResult,
104 [in, out, unique] LPDWORD lpdwDisposition);
105
106 /* Function 7 */
110 [in] RPC_HKEY hKey,
111 [in] PRPC_UNICODE_STRING lpSubKey);
112
113 /* Function 8 */
117 [in] RPC_HKEY hKey,
118 [in] PRPC_UNICODE_STRING lpValueName);
119
120 /* Function 9 */
124 [in] RPC_HKEY hKey,
125 [in] DWORD dwIndex,
126 [in] PRPC_UNICODE_STRING lpNameIn,
127 [out] PRPC_UNICODE_STRING lpNameOut,
128 [in, unique] PRPC_UNICODE_STRING lpClassIn,
129 [out] PRPC_UNICODE_STRING *lplpClassOut,
130 [in, out, unique] PFILETIME lpftLastWriteTime);
131
132 /* Function 10 */
136 [in] RPC_HKEY hKey,
137 [in] DWORD dwIndex,
138 [in] PRPC_UNICODE_STRING lpValueNameIn,
139 [out] PRPC_UNICODE_STRING lpValueNameOut,
140 [in, out, unique] LPDWORD lpType,
141 [in, out, unique, size_is(lpcbData ? *lpcbData : 0), length_is(lpcbLen ? *lpcbLen : 0)] LPBYTE lpData, /* range(0, 0x4000000) */
142 [in, out, unique] LPDWORD lpcbData,
143 [in, out, unique] LPDWORD lpcbLen);
144
145 /* Function 11 */
149 [in] RPC_HKEY hKey);
150
151 /* Function 12 */
155 [in] RPC_HKEY hKey,
157 [in] PRPC_SECURITY_DESCRIPTOR pRpcSecurityDescriptorIn,
158 [out] PRPC_SECURITY_DESCRIPTOR pRpcSecurityDescriptorOut);
159
160 /* Function 13 */
164 [in] RPC_HKEY hKey,
165 [in] PRPC_UNICODE_STRING lpSubKey,
166 [in] PRPC_UNICODE_STRING lpFile);
167
168 /* Function 14 - Not used on wire */
169 void
172
173 /* Function 15 */
177 [in] RPC_HKEY hKey,
178 [in] PRPC_UNICODE_STRING lpSubKey,
180 [in] REGSAM samDesired,
181 [out] PRPC_HKEY phkResult);
182
183 /* Function 16 */
187 [in] RPC_HKEY hKey,
188 [in] PRPC_UNICODE_STRING lpClassIn,
189 [out] PRPC_UNICODE_STRING lpClassOut,
190 [out] LPDWORD lpcSubKeys,
191 [out] LPDWORD lpcbMaxSubKeyLen,
192 [out] LPDWORD lpcbMaxClassLen,
193 [out] LPDWORD lpcValues,
194 [out] LPDWORD lpcbMaxValueNameLen,
195 [out] LPDWORD lpcbMaxValueLen,
196 [out] LPDWORD lpcbSecurityDescriptor,
197 [out] PFILETIME lpftLastWriteTime);
198
199 /* Function 17 */
203 [in] RPC_HKEY hKey,
204 [in] PRPC_UNICODE_STRING lpValueName,
205 [in, out, unique] LPDWORD lpType,
206 [in, out, unique, size_is(lpcbData ? *lpcbData : 0), length_is(lpcbLen ? *lpcbLen : 0)] LPBYTE lpData, /* range(0, 0x4000000) */
207 [in, out, unique] LPDWORD lpcbData,
208 [in, out, unique] LPDWORD lpcbLen);
209
210 /* Function 18 */
214 [in] RPC_HKEY hKey,
215 [in] PRPC_UNICODE_STRING lpSubKey,
216 [in] PRPC_UNICODE_STRING lpNewFile,
217 [in] PRPC_UNICODE_STRING lpOldFile);
218
219 /* Function 19 */
223 [in] RPC_HKEY hKey,
224 [in] PRPC_UNICODE_STRING lpFile,
225 [in] DWORD Flags);
226
227 /* Function 20 */
231 [in] RPC_HKEY hKey,
232 [in] PRPC_UNICODE_STRING lpFile,
233 [in, unique] PRPC_SECURITY_ATTRIBUTES pSecurityAttributes);
234
235 /* Function 21 */
239 [in] RPC_HKEY hKey,
241 [in] PRPC_SECURITY_DESCRIPTOR pRpcSecurityDescriptor);
242
243 /* Function 22 */
247 [in] RPC_HKEY hKey,
248 [in] PRPC_UNICODE_STRING lpValueName,
249 [in] DWORD dwType,
250 [in, size_is(cbData)] LPBYTE lpData,
251 [in] DWORD cbData);
252
253 /* Function 23 */
257 [in] RPC_HKEY hKey,
258 [in] PRPC_UNICODE_STRING lpSubKey);
259
260 /* Function 24 */
261 ULONG
264 [in, unique] PREGISTRY_SERVER_NAME ServerName,
265 [in, unique] PRPC_UNICODE_STRING lpMessage,
267 [in] BOOLEAN bForceAppsClosed,
268 [in] BOOLEAN bRebootAfterShutdown);
269
270 /* Function 25 */
271 ULONG
274 [in, unique] PREGISTRY_SERVER_NAME ServerName);
275
276 /* Function 26 */
280 [in] RPC_HKEY hKey,
281 [out] LPDWORD lpdwVersion);
282
283 /* Function 27 */
287 [in, unique] PREGISTRY_SERVER_NAME ServerName,
288 [in] REGSAM samDesired,
289 [out] PRPC_HKEY phKey);
290
291 /* Function 28 - Not used on wire */
292 void
295
296 /* Function 29 */
300 [in] RPC_HKEY hKey,
301 [in, size_is(num_vals), length_is(num_vals)] PRVALENT val_listIn,
302 [out, size_is(num_vals), length_is(num_vals)] PRVALENT val_listOut,
303 [in] DWORD num_vals,
304 [in, out, unique, size_is(*ldwTotsize), length_is(*ldwTotsize)] char *lpvalueBuf,
305 [in, out, ref] LPDWORD ldwTotsize);
306
307 /* Function 30 */
308 ULONG
311 [in, unique] PREGISTRY_SERVER_NAME ServerName,
312 [in, unique] PRPC_UNICODE_STRING lpMessage,
314 [in] BOOLEAN bForceAppsClosed,
315 [in] BOOLEAN bRebootAfterShutdown,
316 [in] ULONG dwReason);
317
318 /* Function 31 */
322 [in] RPC_HKEY hKey,
323 [in] PRPC_UNICODE_STRING lpFile,
324 [in, unique] PRPC_SECURITY_ATTRIBUTES pSecurityAttributes,
325 [in] DWORD Flags);
326
327 /* Function 32 */
331 [in, unique] PREGISTRY_SERVER_NAME ServerName,
332 [in] REGSAM samDesired,
333 [out] PRPC_HKEY phKey);
334
335 /* Function 33 */
339 [in, unique] PREGISTRY_SERVER_NAME ServerName,
340 [in] REGSAM samDesired,
341 [out] PRPC_HKEY phKey);
342
343 /* Function 34 */
347 [in] RPC_HKEY hKey,
348 [in, size_is(num_vals), length_is(num_vals)] PRVALENT val_listIn,
349 [out, size_is(num_vals), length_is(num_vals)] PRVALENT val_listOut,
350 [in] DWORD num_vals,
351 [in, out, unique, size_is(*ldwTotsize), length_is(*ldwTotsize)] char *lpvalueBuf,
352 [in] LPDWORD ldwTotsize,
353 [out] LPDWORD ldwRequiredSize);
354
355 /* Function 35 */
359 [in] RPC_HKEY hKey,
360 [in] PRPC_UNICODE_STRING lpSubKey,
362 [in] DWORD Reserved);
363}
unsigned char BOOLEAN
DWORD dwReason
Definition: misc.cpp:141
unsigned long error_status_t
Definition: basetyps.h:83
coclass PSFactoryBuffer pointer_default(unique)] interface ObjectRpcBaseTypes
Definition: dcom.idl:35
static const WCHAR version[]
Definition: asmname.c:66
unsigned long DWORD
Definition: ntddk_ex.h:95
_Must_inspect_result_ _In_ PFILE_OBJECT _In_ SECURITY_INFORMATION SecurityInformation
Definition: fltkernel.h:1340
FxAutoRegKey hKey
GLuint in
Definition: glext.h:9616
Definition: msctf.idl:550
error_status_t __stdcall BaseRegOpenKey([in] RPC_HKEY hKey, [in] PRPC_UNICODE_STRING lpSubKey, [in] DWORD dwOptions, [in] REGSAM samDesired, [out] PRPC_HKEY phkResult)
error_status_t __stdcall BaseRegEnumKey([in] RPC_HKEY hKey, [in] DWORD dwIndex, [in] PRPC_UNICODE_STRING lpNameIn, [out] PRPC_UNICODE_STRING lpNameOut, [in, unique] PRPC_UNICODE_STRING lpClassIn, [out] PRPC_UNICODE_STRING *lplpClassOut, [in, out, unique] PFILETIME lpftLastWriteTime)
error_status_t __stdcall BaseRegSaveKeyEx([in] RPC_HKEY hKey, [in] PRPC_UNICODE_STRING lpFile, [in, unique] PRPC_SECURITY_ATTRIBUTES pSecurityAttributes, [in] DWORD Flags)
error_status_t __stdcall BaseRegCloseKey([in, out] PRPC_HKEY hKey)
error_status_t __stdcall BaseRegCreateKey([in] RPC_HKEY hKey, [in] PRPC_UNICODE_STRING lpSubKey, [in] PRPC_UNICODE_STRING lpClass, [in] DWORD dwOptions, [in] REGSAM samDesired, [in, unique] PRPC_SECURITY_ATTRIBUTES lpSecurityAttributes, [out] PRPC_HKEY phkResult, [in, out, unique] LPDWORD lpdwDisposition)
error_status_t __stdcall BaseRegQueryMultipleValues2([in] RPC_HKEY hKey, [in, size_is(num_vals), length_is(num_vals)] PRVALENT val_listIn, [out, size_is(num_vals), length_is(num_vals)] PRVALENT val_listOut, [in] DWORD num_vals, [in, out, unique, size_is(*ldwTotsize), length_is(*ldwTotsize)] char *lpvalueBuf, [in] LPDWORD ldwTotsize, [out] LPDWORD ldwRequiredSize)
error_status_t __stdcall BaseRegGetVersion([in] RPC_HKEY hKey, [out] LPDWORD lpdwVersion)
error_status_t __stdcall OpenUsers([in, unique] PREGISTRY_SERVER_NAME ServerName, [in] REGSAM samDesired, [out] PRPC_HKEY phKey)
void __stdcall BaseRegNotifyChangeKeyValue(void)
error_status_t __stdcall BaseRegDeleteKeyEx([in] RPC_HKEY hKey, [in] PRPC_UNICODE_STRING lpSubKey, [in] REGSAM AccessMask, [in] DWORD Reserved)
error_status_t __stdcall BaseRegGetKeySecurity([in] RPC_HKEY hKey, [in] SECURITY_INFORMATION SecurityInformation, [in] PRPC_SECURITY_DESCRIPTOR pRpcSecurityDescriptorIn, [out] PRPC_SECURITY_DESCRIPTOR pRpcSecurityDescriptorOut)
error_status_t __stdcall OpenLocalMachine([in, unique] PREGISTRY_SERVER_NAME ServerName, [in] REGSAM samDesired, [out] PRPC_HKEY phKey)
ULONG __stdcall BaseInitiateSystemShutdown([in, unique] PREGISTRY_SERVER_NAME ServerName, [in, unique] PRPC_UNICODE_STRING lpMessage, [in] ULONG dwTimeout, [in] BOOLEAN bForceAppsClosed, [in] BOOLEAN bRebootAfterShutdown)
error_status_t __stdcall BaseRegQueryInfoKey([in] RPC_HKEY hKey, [in] PRPC_UNICODE_STRING lpClassIn, [out] PRPC_UNICODE_STRING lpClassOut, [out] LPDWORD lpcSubKeys, [out] LPDWORD lpcbMaxSubKeyLen, [out] LPDWORD lpcbMaxClassLen, [out] LPDWORD lpcValues, [out] LPDWORD lpcbMaxValueNameLen, [out] LPDWORD lpcbMaxValueLen, [out] LPDWORD lpcbSecurityDescriptor, [out] PFILETIME lpftLastWriteTime)
error_status_t __stdcall OpenClassesRoot([in, unique] PREGISTRY_SERVER_NAME ServerName, [in] REGSAM samDesired, [out] PRPC_HKEY phKey)
ULONG __stdcall BaseAbortSystemShutdown([in, unique] PREGISTRY_SERVER_NAME ServerName)
error_status_t __stdcall BaseRegLoadKey([in] RPC_HKEY hKey, [in] PRPC_UNICODE_STRING lpSubKey, [in] PRPC_UNICODE_STRING lpFile)
error_status_t __stdcall OpenCurrentConfig([in, unique] PREGISTRY_SERVER_NAME ServerName, [in] REGSAM samDesired, [out] PRPC_HKEY phKey)
error_status_t __stdcall BaseRegReplaceKey([in] RPC_HKEY hKey, [in] PRPC_UNICODE_STRING lpSubKey, [in] PRPC_UNICODE_STRING lpNewFile, [in] PRPC_UNICODE_STRING lpOldFile)
error_status_t __stdcall OpenCurrentUser([in, unique] PREGISTRY_SERVER_NAME ServerName, [in] REGSAM samDesired, [out] PRPC_HKEY phKey)
error_status_t __stdcall BaseRegQueryMultipleValues([in] RPC_HKEY hKey, [in, size_is(num_vals), length_is(num_vals)] PRVALENT val_listIn, [out, size_is(num_vals), length_is(num_vals)] PRVALENT val_listOut, [in] DWORD num_vals, [in, out, unique, size_is(*ldwTotsize), length_is(*ldwTotsize)] char *lpvalueBuf, [in, out, ref] LPDWORD ldwTotsize)
error_status_t __stdcall BaseRegEnumValue([in] RPC_HKEY hKey, [in] DWORD dwIndex, [in] PRPC_UNICODE_STRING lpValueNameIn, [out] PRPC_UNICODE_STRING lpValueNameOut, [in, out, unique] LPDWORD lpType, [in, out, unique, size_is(lpcbData ? *lpcbData :0), length_is(lpcbLen ? *lpcbLen :0)] LPBYTE lpData, [in, out, unique] LPDWORD lpcbData, [in, out, unique] LPDWORD lpcbLen)
error_status_t __stdcall BaseRegFlushKey([in] RPC_HKEY hKey)
error_status_t __stdcall OpenPerformanceNlsText([in, unique] PREGISTRY_SERVER_NAME ServerName, [in] REGSAM samDesired, [out] PRPC_HKEY phKey)
error_status_t __stdcall BaseRegSaveKey([in] RPC_HKEY hKey, [in] PRPC_UNICODE_STRING lpFile, [in, unique] PRPC_SECURITY_ATTRIBUTES pSecurityAttributes)
ULONG __stdcall BaseInitiateSystemShutdownEx([in, unique] PREGISTRY_SERVER_NAME ServerName, [in, unique] PRPC_UNICODE_STRING lpMessage, [in] ULONG dwTimeout, [in] BOOLEAN bForceAppsClosed, [in] BOOLEAN bRebootAfterShutdown, [in] ULONG dwReason)
error_status_t __stdcall BaseRegQueryValue([in] RPC_HKEY hKey, [in] PRPC_UNICODE_STRING lpValueName, [in, out, unique] LPDWORD lpType, [in, out, unique, size_is(lpcbData ? *lpcbData :0), length_is(lpcbLen ? *lpcbLen :0)] LPBYTE lpData, [in, out, unique] LPDWORD lpcbData, [in, out, unique] LPDWORD lpcbLen)
error_status_t __stdcall BaseRegSetValue([in] RPC_HKEY hKey, [in] PRPC_UNICODE_STRING lpValueName, [in] DWORD dwType, [in, size_is(cbData)] LPBYTE lpData, [in] DWORD cbData)
error_status_t __stdcall BaseRegDeleteKey([in] RPC_HKEY hKey, [in] PRPC_UNICODE_STRING lpSubKey)
error_status_t __stdcall OpenPerformanceData([in, unique] PREGISTRY_SERVER_NAME ServerName, [in] REGSAM samDesired, [out] PRPC_HKEY phKey)
error_status_t __stdcall BaseRegUnLoadKey([in] RPC_HKEY hKey, [in] PRPC_UNICODE_STRING lpSubKey)
void __stdcall OpenDynData(void)
error_status_t __stdcall BaseRegDeleteValue([in] RPC_HKEY hKey, [in] PRPC_UNICODE_STRING lpValueName)
error_status_t __stdcall OpenPerformanceText([in, unique] PREGISTRY_SERVER_NAME ServerName, [in] REGSAM samDesired, [out] PRPC_HKEY phKey)
error_status_t __stdcall BaseRegSetKeySecurity([in] RPC_HKEY hKey, [in] SECURITY_INFORMATION SecurityInformation, [in] PRPC_SECURITY_DESCRIPTOR pRpcSecurityDescriptor)
error_status_t __stdcall BaseRegRestoreKey([in] RPC_HKEY hKey, [in] PRPC_UNICODE_STRING lpFile, [in] DWORD Flags)
DWORD SECURITY_INFORMATION
Definition: ms-dtyp.idl:311
_In_ ACCESS_MASK AccessMask
Definition: exfuncs.h:186
BYTE * PBYTE
Definition: pedump.c:66
static FILE * out
Definition: regtests2xml.c:44
#define F1(x, y, z)
Definition: md5.c:161
DWORD dwOptions
Definition: solitaire.cpp:25
RPC_SECURITY_DESCRIPTOR RpcSecurityDescriptor
Definition: winreg.idl:32
Definition: nis.h:10
Definition: send.c:48
LPDWORD ve_valueptr
Definition: winreg.idl:16
DWORD ve_type
Definition: winreg.idl:17
PRPC_UNICODE_STRING ve_valuename
Definition: winreg.idl:14
DWORD ve_valuelen
Definition: winreg.idl:15
unsigned char * LPBYTE
Definition: typedefs.h:53
uint32_t * LPDWORD
Definition: typedefs.h:59
#define __stdcall
Definition: typedefs.h:25
uint16_t * PWCHAR
Definition: typedefs.h:56
uint32_t ULONG
Definition: typedefs.h:59
_In_ void _In_ PCCERT_CONTEXT _In_opt_ LPFILETIME _In_ DWORD _In_ DWORD dwTimeout
Definition: wincrypt.h:6081
_Reserved_ PVOID Reserved
Definition: winddi.h:3974
struct _RPC_SECURITY_DESCRIPTOR * PRPC_SECURITY_DESCRIPTOR
PWCHAR PREGISTRY_SERVER_NAME
Definition: winreg.idl:10
struct _RPC_SECURITY_DESCRIPTOR RPC_SECURITY_DESCRIPTOR
struct _RPC_SECURITY_ATTRIBUTES RPC_SECURITY_ATTRIBUTES
struct value_ent RVALENT
HANDLE RPC_HKEY
Definition: winreg.idl:7
struct _RPC_SECURITY_ATTRIBUTES * PRPC_SECURITY_ATTRIBUTES
RPC_HKEY * PRPC_HKEY
Definition: winreg.idl:8
ULONG REGSAM
Definition: winreg.idl:20
struct value_ent * PRVALENT
_Must_inspect_result_ _In_ ULONG Flags
Definition: wsk.h:170