[STORPORT] Fix x64 build
[reactos.git] / ntoskrnl / include / sysfuncs64.h
1 SVC_(MapUserPhysicalPagesScatter, 3)
2 SVC_(WaitForSingleObject, 4)
3 SVC_(CallbackReturn, 3)
4 SVC_(ReadFile, 9)
5 SVC_(DeviceIoControlFile, 10)
6 SVC_(WriteFile, 9)
7 SVC_(RemoveIoCompletion, 5)
8 SVC_(ReleaseSemaphore, 3)
9 SVC_(ReplyWaitReceivePort, 4)
10 SVC_(ReplyPort, 2)
11 SVC_(SetInformationThread, 4)
12 SVC_(SetEvent, 2)
13 SVC_(Close, 1)
14 SVC_(QueryObject, 5)
15 SVC_(QueryInformationFile, 5)
16 SVC_(OpenKey, 3)
17 SVC_(EnumerateValueKey, 6)
18 SVC_(FindAtom, 3)
19 SVC_(QueryDefaultLocale, 2)
20 SVC_(QueryKey, 5)
21 SVC_(QueryValueKey, 6)
22 SVC_(AllocateVirtualMemory, 6)
23 SVC_(QueryInformationProcess, 5)
24 SVC_(WaitForMultipleObjects32, 5)
25 SVC_(WriteFileGather, 9)
26 SVC_(SetInformationProcess, 4)
27 SVC_(CreateKey, 7)
28 SVC_(FreeVirtualMemory, 4)
29 SVC_(ImpersonateClientOfPort, 2)
30 SVC_(ReleaseMutant, 2)
31 SVC_(QueryInformationToken, 5)
32 SVC_(RequestWaitReplyPort, 3)
33 SVC_(QueryVirtualMemory, 6)
34 SVC_(OpenThreadToken, 4)
35 SVC_(QueryInformationThread
36 SVC_(OpenProcess, 5)
37 SVC_(SetInformationFile, 5)
38 SVC_(MapViewOfSection, 10)
39 SVC_(AccessCheckAndAuditAlarm, 11)
40 SVC_(UnmapViewOfSection, 2)
41 SVC_(ReplyWaitReceivePortEx, 5)
42 SVC_(TerminateProcess, 2)
43 SVC_(SetEventBoostPriority, 1)
44 SVC_(ReadFileScatter, 9)
45 SVC_(OpenThreadTokenEx, 5)
46 SVC_(OpenProcessTokenEx, 4)
47 SVC_(QueryPerformanceCounter
48 SVC_(EnumerateKey, 2)
49 SVC_(OpenFile, 6)
50 SVC_(DelayExecution, 2)
51 SVC_(QueryDirectoryFile, 11)
52 SVC_(QuerySystemInformation, 4)
53 SVC_(OpenSection, 3)
54 SVC_(QueryTimer, 5)
55 SVC_(FsControlFile, 10)
56 SVC_(WriteVirtualMemory, 5)
57 SVC_(CloseObjectAuditAlarm, 3)
58 SVC_(DuplicateObject, 7)
59 SVC_(QueryAttributesFile, 2)
60 SVC_(ClearEvent, 1)
61 SVC_(ReadVirtualMemory, 5)
62 SVC_(OpenEvent, 3)
63 SVC_(AdjustPrivilegesToken, 6)
64 SVC_(DuplicateToken, 6)
65 SVC_(Continue, 2)
66 SVC_(QueryDefaultUILanguage, 1)
67 SVC_(QueueApcThread, 5)
68 SVC_(YieldExecution, 0)
69 SVC_(AddAtom, 3)
70 SVC_(CreateEvent, 5)
71 SVC_(QueryVolumeInformationFile, 5)
72 SVC_(CreateSection, 7)
73 SVC_(FlushBuffersFile, 2)
74 SVC2_(ApphelpCacheControl, 2)
75 SVC_(CreateProcessEx, 9)
76 SVC_(CreateThread, 8)
77 SVC_(IsProcessInJob, 2)
78 SVC_(ProtectVirtualMemory, 5)
79 SVC_(QuerySection, 5)
80 SVC_(ResumeThread, 2)
81 SVC_(TerminateThread, 2)
82 SVC_(ReadRequestData, 6)
83 SVC_(CreateFile, 11)
84 SVC_(QueryEvent, 5)
85 SVC_(WriteRequestData, 6)
86 SVC_(OpenDirectoryObject, 3)
87 SVC_(AccessCheckByTypeAndAuditAlarm, 16)
88 SVC_(QuerySystemTime, 1)
89 SVC_(WaitForMultipleObjects, 5)
90 SVC_(SetInformationObject, 4)
91 SVC_(CancelIoFile, 2)
92 SVC_(TraceEvent, 4)
93 SVC_(PowerInformation, 5)
94 SVC_(SetValueKey, 6)
95 SVC_(CancelTimer, 2)
96 SVC_(SetTimer, 7)
97 SVC_(AcceptConnectPort, 6)
98 SVC_(AccessCheck, 8)
99 SVC_(AccessCheckByType, 11)
100 SVC_(AccessCheckByTypeResultList, 11)
101 SVC_(AccessCheckByTypeResultListAndAuditAlarm, 16)
102 SVC_(AccessCheckByTypeResultListAndAuditAlarmByHandle, 17)
103 #if (NTDDI_VERSION >= NTDDI_WIN8)
104 SVC_(AddAtomEx, 0) // FIXME
105 #endif
106 #if (NTDDI_VERSION >= NTDDI_VISTA)
107 #if (NTDDI_VERSION < NTDDI_WIN7)
108 SVC_(AcquireCMFViewOwnership, 3)
109 #endif
110 SVC_(AddBootEntry, 2)
111 SVC_(AddDriverEntry, 2)
112 #endif
113 SVC_(AdjustGroupsToken, 6)
114 SVC_(AlertResumeThread, 2)
115 SVC_(AlertThread, 1)
116 #if (NTDDI_VERSION >= NTDDI_WIN8)
117 SVC_(AlertThreadByThreadId, 0) // FIXME
118 #endif
119 SVC_(AllocateLocallyUniqueId, 1)
120 #if (NTDDI_VERSION >= NTDDI_WIN7)
121 SVC_(AllocateReserveObject, 3)
122 #endif
123 SVC_(AllocateUserPhysicalPages, 3)
124 SVC_(AllocateUuids, 4)
125 #if (NTDDI_VERSION >= NTDDI_VISTA)
126 SVC_(AlpcAcceptConnectPort, 9)
127 SVC_(AlpcCancelMessage, 3)
128 SVC_(AlpcConnectPort, 11)
129 #if (NTDDI_VERSION >= NTDDI_WIN8)
130 SVC_(AlpcConnectPortEx, 0) // FIXME
131 #endif // (NTDDI_VERSION >= NTDDI_WIN8)
132 SVC_(AlpcCreatePort, 3)
133 SVC_(AlpcCreatePortSection, 6)
134 SVC_(AlpcCreateResourceReserve, 4)
135 SVC_(AlpcCreateSectionView, 3)
136 SVC_(AlpcCreateSecurityContext, 3)
137 SVC_(AlpcDeletePortSection,3)
138 SVC_(AlpcDeleteResourceReserve, 3)
139 SVC_(AlpcDeleteSectionView, 3)
140 SVC_(AlpcDeleteSecurityContext, 3)
141 SVC_(AlpcDisconnectPort, 2)
142 SVC_(AlpcImpersonateClientOfPort, 3)
143 SVC_(AlpcOpenSenderProcess, 6)
144 SVC_(AlpcOpenSenderThread, 6)
145 SVC_(AlpcQueryInformation, 5)
146 SVC_(AlpcQueryInformationMessage, 6)
147 SVC_(AlpcRevokeSecurityContext, 3)
148 SVC_(AlpcSendWaitReceivePort, 8)
149 SVC_(AlpcSetInformation, 4)
150 #endif // (NTDDI_VERSION >= NTDDI_VISTA)
151 SVC_(AreMappedFilesTheSame, 2)
152 SVC_(AssignProcessToJobObject, 2)
153 #if (NTDDI_VERSION >= NTDDI_SERVER08 && NTDDI_VERSION < NTDDI_WIN7)
154 SVC_(RequestDeviceWakeup, 0) // FIXME
155 #endif
156 #if (NTDDI_VERSION == NTDDI_VISTA)
157 SVC_(SavepointTransaction, 0) // FIXME
158 #endif
159 #if (NTDDI_VERSION >= NTDDI_WIN8)
160 SVC_(AssociateWaitCompletionPacket, 0) // FIXME
161 #endif
162 #if (NTDDI_VERSION >= NTDDI_VISTASP1 && NTDDI_VERSION <= NTDDI_VISTASP2)
163 SVC2_(xHalPostMicrocodeUpdate, 0) // FIXME
164 #endif
165 #if (NTDDI_VERSION >= NTDDI_VISTA)
166 SVC_(CancelIoFileEx, 3)
167 SVC_(CancelSynchronousIoFile, 3)
168 #if (NTDDI_VERSION >= NTDDI_WIN8)
169 SVC_(CancelWaitCompletionPacket, 0) // FIXME
170 #endif // (NTDDI_VERSION >= NTDDI_WIN8)
171 SVC_(CommitComplete, 2)
172 SVC_(CommitEnlistment, 2)
173 SVC_(CommitTransaction, 2)
174 #endif // (NTDDI_VERSION == NTDDI_VISTA)
175 SVC_(CompactKeys, 2)
176 SVC_(CompareTokens, 3)
177 #if (NTDDI_VERSION >= NTDDI_WIN7)
178 SVC2_(xHalGetInterruptTranslator, 7)
179 #endif
180 #if (NTDDI_VERSION >= NTDDI_VISTASP1 && NTDDI_VERSION <= NTDDI_VISTASP2)
181 SVC2_(ArbPreprocessEntry, 0) // FIXME
182 #elif (NTDDI_VERSION < NTDDI_WIN7)
183 SVC_(CompleteConnectPort, 1)
184 #endif
185 SVC_(CompressKey, 1)
186 SVC_(ConnectPort, 8)
187 SVC_(CreateDebugObject, 4)
188 SVC_(CreateDirectoryObject, 3)
189 #if (NTDDI_VERSION >= NTDDI_WIN8)
190 SVC_(CreateDirectoryObjectEx, 0) // FIXME
191 #endif // (NTDDI_VERSION >= NTDDI_WIN8)
192 #if (NTDDI_VERSION >= NTDDI_VISTA)
193 SVC_(CreateEnlistment
194 #endif // (NTDDI_VERSION >= NTDDI_VISTA)
195 SVC_(CreateEventPair, 3)
196 SVC_(CreateIoCompletion, 4)
197 SVC_(CreateJobObject, 3)
198 #if (NTDDI_VERSION >= NTDDI_WIN8)
199 SVC2_(xHalAllocatePmcCounterSet, 0) // FIXME
200 #else
201 SVC_(CreateJobSet, 3)
202 #endif
203 #if (NTDDI_VERSION >= NTDDI_VISTA)
204 SVC_(CreateKeyTransacted, 8)
205 #endif
206 SVC_(CreateKeyedEvent, 4)
207 #if (NTDDI_VERSION >= NTDDI_WIN8)
208 SVC_(CreateLowBoxToken, 0) // FIXME
209 #endif // (NTDDI_VERSION >= NTDDI_WIN8)
210 SVC_(CreateMailslotFile, 8)
211 SVC_(CreateMutant, 4)
212 SVC_(CreateNamedPipeFile, 14)
213 SVC_(CreatePagingFile 4)
214 SVC_(CreatePort, 5)
215 #if (NTDDI_VERSION >= NTDDI_VISTA)
216 SVC_(CreatePrivateNamespace, 4)
217 #endif // (NTDDI_VERSION >= NTDDI_VISTA)
218 SVC_(CreateProcess, 8)
219 SVC_(CreateProfile, 9)
220 #if (NTDDI_VERSION >= NTDDI_WIN7)
221 SVC_(CreateProfileEx, 10)
222 #endif
223 #if (NTDDI_VERSION >= NTDDI_VISTA)
224 SVC_(CreateResourceManager, 7)
225 #endif
226 SVC_(CreateSemaphore, 5)
227 SVC_(CreateSymbolicLinkObject, 4)
228 #if (NTDDI_VERSION >= NTDDI_VISTA)
229 SVC_(CreateThreadEx, 11)
230 #endif
231 SVC_(CreateTimer, 4)
232 SVC_(CreateToken, 13)
233 #if (NTDDI_VERSION >= NTDDI_WIN8)
234 SVC_(CreateTokenEx, 0) // FIXME
235 #endif // (NTDDI_VERSION >= NTDDI_WIN8)
236 #if (NTDDI_VERSION >= NTDDI_VISTA)
237 SVC_(CreateTransaction, 10)
238 SVC_(CreateTransactionManager, 6)
239 SVC_(CreateUserProcess, 11)
240 #endif
241 #if (NTDDI_VERSION >= NTDDI_WIN8)
242 SVC_(CreateWaitCompletionPacket, 0) // FIXME
243 #endif
244 SVC_(CreateWaitablePort, 5)
245 #if (NTDDI_VERSION >= NTDDI_WIN8)
246 SVC_(CreateWnfStateName, 0) // FIXME
247 #endif
248 #if (NTDDI_VERSION >= NTDDI_VISTA)
249 SVC_(CreateWorkerFactory, 10)
250 #endif
251 SVC_(DebugActiveProcess, 2)
252 SVC_(DebugContinue, 3)
253 SVC_(DeleteAtom, 1)
254 #if (NTDDI_VERSION >= NTDDI_VISTA)
255 SVC_(DeleteBootEntry, 1)
256 SVC_(DeleteDriverEntry, 1)
257 #endif
258 SVC_(DeleteFile, 1)
259 SVC_(DeleteKey, 1)
260 SVC_(DeleteObjectAuditAlarm, 3)
261 #if (NTDDI_VERSION >= NTDDI_VISTA)
262 SVC_(DeletePrivateNamespace, 1)
263 #endif
264 SVC_(DeleteValueKey, 2)
265 #if (NTDDI_VERSION >= NTDDI_WIN8)
266 SVC_(DeleteWnfStateData, 0) // FIXME
267 SVC_(DeleteWnfStateName, 0) // FIXME
268 #endif
269 #if (NTDDI_VERSION >= NTDDI_WIN7)
270 SVC_(DisableLastKnownGood, 0)
271 #endif
272 SVC_(DisplayString, 1)
273 #if (NTDDI_VERSION >= NTDDI_WIN7)
274 SVC_(DrawText, 1)
275 SVC_(EnableLastKnownGood, 0)
276 #endif
277 #if (NTDDI_VERSION >= NTDDI_VISTA)
278 SVC_(EnumerateBootEntries, 2)
279 SVC_(EnumerateDriverEntries, 2)
280 SVC_(EnumerateSystemEnvironmentValuesEx, 3)
281 SVC_(EnumerateTransactionObject, 5)
282 #endif
283 SVC_(ExtendSection, 2)
284 SVC_(FilterToken, 6)
285 #if (NTDDI_VERSION >= NTDDI_WIN8)
286 SVC_(FlushBuffersFileEx, 3)
287 #endif
288 #if (NTDDI_VERSION >= NTDDI_VISTA)
289 SVC_(FlushInstallUILanguage, 2)
290 #endif
291 #if (NTDDI_VERSION < NTDDI_WIN8)
292 SVC_(FlushInstructionCache, 3)
293 #endif
294 SVC_(FlushKey, 1)
295 #if (NTDDI_VERSION >= NTDDI_VISTA)
296 SVC_(FlushProcessWriteBuffers, 0)
297 #endif
298 SVC_(FlushVirtualMemory, 4)
299 SVC_(FlushWriteBuffer, 0)
300 SVC_(FreeUserPhysicalPages, 3)
301 #if (NTDDI_VERSION >= NTDDI_VISTA)
302 SVC_(FreezeRegistry
303 SVC_(FreezeTransactions, 2)
304 #endif
305 SVC_(GetContextThread, 2)
306 SVC_(GetCurrentProcessorNumber, 0)
307 SVC_(GetDevicePowerState
308 #if (NTDDI_VERSION >= NTDDI_VISTA)
309 SVC_(GetMUIRegistryInfo, 3)
310 SVC_(GetNextProcess, 5)
311 SVC_(GetNextThread, 6)
312 SVC_(GetNlsSectionPtr, 5)
313 SVC_(GetNotificationResourceManager, 7)
314 #endif
315 #if (NTDDI_VERSION < NTDDI_WIN8)
316 SVC_(GetPlugPlayEvent, 4)
317 #endif
318 SVC_(GetWriteWatch, 7)
319 SVC_(ImpersonateAnonymousToken, 1)
320 SVC_(ImpersonateThread, 3)
321 #if (NTDDI_VERSION >= NTDDI_VISTA)
322 SVC_(InitializeNlsFiles
323 #endif
324 SVC_(InitializeRegistry, 1)
325 SVC_(InitiatePowerAction, 4)
326 SVC_(IsSystemResumeAutomatic, 0)
327 #if (NTDDI_VERSION >= NTDDI_VISTA)
328 SVC_(IsUILanguageComitted, 0)
329 #endif
330 SVC_(ListenPort, 2)
331 SVC_(LoadDriver, 1)
332 SVC_(LoadKey, 2)
333 SVC_(LoadKey2, 3)
334 SVC_(LoadKeyEx, 4)
335 SVC_(LockFile, 10)
336 SVC_(LockProductActivationKeys, 2)
337 SVC_(LockRegistryKey, 1)
338 SVC_(LockVirtualMemory, 4)
339 SVC_(MakePermanentObject, 1)
340 SVC_(MakeTemporaryObject, 1)
341 #if (NTDDI_VERSION >= NTDDI_VISTA)
342 SVC_(MapCMFModule
343 #endif
344 SVC_(MapUserPhysicalPages, 3)
345 #if (NTDDI_VERSION >= NTDDI_VISTA)
346 SVC_(ModifyBootEntry, 1)
347 SVC_(ModifyDriverEntry, 1)
348 #endif
349 SVC_(NotifyChangeDirectoryFile, 9)
350 SVC_(NotifyChangeKey, 10)
351 SVC_(NotifyChangeMultipleKeys, 12)
352 #if (NTDDI_VERSION >= NTDDI_WIN7)
353 SVC_(NotifyChangeSession, 8)
354 #endif
355 #if (NTDDI_VERSION >= NTDDI_VISTA)
356 SVC_(OpenEnlistment, 5)
357 #endif
358 SVC_(OpenEventPair, 3)
359 SVC_(OpenIoCompletion, 3)
360 SVC_(OpenJobObject, 3)
361 #if (NTDDI_VERSION >= NTDDI_WIN7)
362 SVC_(OpenKeyEx, 4)
363 #endif
364 #if (NTDDI_VERSION >= NTDDI_VISTA)
365 SVC_(OpenKeyTransacted, 4)
366 #endif
367 #if (NTDDI_VERSION >= NTDDI_WIN7)
368 SVC_(OpenKeyTransactedEx, 5)
369 #endif
370 SVC_(OpenKeyedEvent, 3)
371 SVC_(OpenMutant, 3)
372 SVC_(OpenObjectAuditAlarm, 12)
373 #if (NTDDI_VERSION >= NTDDI_VISTA)
374 SVC_(OpenPrivateNamespace, 4)
375 #endif
376 SVC_(OpenProcessToken, 3)
377 #if (NTDDI_VERSION >= NTDDI_VISTA)
378 SVC_(OpenResourceManager, 5)
379 #endif
380 SVC_(OpenSemaphore, 3)
381 #if (NTDDI_VERSION >= NTDDI_VISTA)
382 SVC_(OpenSession, 3)
383 #endif
384 SVC_(OpenSymbolicLinkObject, 3)
385 SVC_(OpenThread, 4)
386 SVC_(OpenTimer, 3)
387 #if (NTDDI_VERSION >= NTDDI_VISTA)
388 SVC_(OpenTransaction, 5)
389 SVC_(OpenTransactionManager, 6)
390 #endif
391 SVC_(PlugPlayControl, 3)
392 #if (NTDDI_VERSION >= NTDDI_VISTA)
393 SVC_(PrePrepareComplete, 2)
394 SVC_(PrePrepareEnlistment, 2)
395 #if (NTDDI_VERSION >= NTDDI_WIN8)
396 SVC_(PrefetchVirtualMemory, 0) // FIXME
397 #endif // (NTDDI_VERSION >= NTDDI_WIN8)
398 SVC_(PrepareComplete, 2)
399 SVC_(PrepareEnlistment, 2)
400 #endif // (NTDDI_VERSION >= NTDDI_VISTA)
401 SVC_(PrivilegeCheck, 3)
402 SVC_(PrivilegeObjectAuditAlarm, 6)
403 SVC_(PrivilegedServiceAuditAlarm, 5)
404 #if (NTDDI_VERSION >= NTDDI_VISTASP1)
405 SVC_(PropagationComplete, 4)
406 SVC_(PropagationFailed, 3)
407 #endif
408 SVC_(PulseEvent, 2)
409 #if (NTDDI_VERSION >= NTDDI_VISTA)
410 SVC_(QueryBootEntryOrder, 2)
411 #endif
412 SVC_(QueryBootOptions, 2)
413 SVC_(QueryDebugFilterState, 2)
414 SVC_(QueryDirectoryObject, 7)
415 #if (NTDDI_VERSION >= NTDDI_VISTA)
416 SVC_(QueryDriverEntryOrder, 2)
417 #endif
418 SVC_(QueryEaFile, 9)
419 SVC_(QueryFullAttributesFile, 2)
420 SVC_(QueryInformationAtom, 5)
421 #if (NTDDI_VERSION >= NTDDI_VISTA)
422 SVC_(QueryInformationEnlistment, 5)
423 #endif
424 SVC_(QueryInformationJobObject, 5)
425 SVC_(QueryInformationPort, 5)
426 #if (NTDDI_VERSION >= NTDDI_VISTA)
427 SVC_(QueryInformationResourceManager, 5)
428 SVC_(QueryInformationTransaction, 5)
429 SVC_(QueryInformationTransactionManager, 5)
430 SVC_(QueryInformationWorkerFactory, 5)
431 #endif
432 SVC_(QueryInstallUILanguage, 1)
433 SVC_(QueryIntervalProfile, 2)
434 SVC_(QueryIoCompletion, 5)
435 #if (NTDDI_VERSION >= NTDDI_VISTA)
436 SVC_(QueryLicenseValue, 5)
437 #endif
438 SVC_(QueryMultipleValueKey, 6)
439 SVC_(QueryMutant, 5)
440 SVC_(QueryOpenSubKeys, 2)
441 SVC_(QueryOpenSubKeysEx, 4)
442 #if (NTDDI_VERSION >= NTDDI_VISTA)
443 SVC_(QueryPortInformationProcess, 0)
444 #endif
445 #if (NTDDI_VERSION < NTDDI_VISTA)
446 SVC2_(ShimExceptionHandler, 0) // FIXME
447 #endif
448 SVC_(QueryQuotaInformationFile, 9)
449 #if (NTDDI_VERSION >= NTDDI_WIN7)
450 SVC_(QuerySecurityAttributesToken, 6)
451 #endif
452 SVC_(QuerySecurityObject, 5)
453 SVC_(QuerySemaphore, 5)
454 SVC_(QuerySymbolicLinkObject, 3)
455 SVC_(QuerySystemEnvironmentValue, 4)
456 #if (NTDDI_VERSION >= NTDDI_VISTA)
457 SVC_(QuerySystemEnvironmentValueEx, 5)
458 #endif
459 #if (NTDDI_VERSION >= NTDDI_WIN7)
460 SVC_(QuerySystemInformationEx, 6)
461 #endif
462 SVC_(QueryTimerResolution, 3)
463 #if (NTDDI_VERSION >= NTDDI_WIN8)
464 SVC_(QueryWnfStateData, 0) // FIXME
465 SVC_(QueryWnfStateNameInformation, 0) // FIXME
466 #endif
467 #if (NTDDI_VERSION >= NTDDI_WIN7)
468 SVC_(QueueApcThreadEx, 6)
469 #endif
470 SVC_(RaiseException, 3)
471 SVC_(RaiseHardError, 6)
472 #if (NTDDI_VERSION >= NTDDI_VISTA)
473 SVC_(ReadOnlyEnlistment, 2)
474 SVC_(RecoverEnlistment, 2)
475 SVC_(RecoverResourceManager, 1)
476 SVC_(RecoverTransactionManager, 1)
477 #endif
478 #if (NTDDI_VERSION >= NTDDI_VISTASP1)
479 SVC_(RegisterProtocolAddressInformation, 5)
480 #endif
481 #if (NTDDI_VERSION == NTDDI_VISTA)
482 SVC_(KeRestoreFloatingPointState, 0) // FIXME
483 #endif
484 SVC_(RegisterThreadTerminatePort, 1)
485 #if (NTDDI_VERSION >= NTDDI_VISTA)
486 SVC_(ReleaseCMFViewOwnership, 0)
487 #endif
488 SVC_(ReleaseKeyedEvent, 4)
489 #if (NTDDI_VERSION >= NTDDI_VISTA)
490 SVC_(ReleaseWorkerFactoryWorker, 1)
491 SVC_(RemoveIoCompletionEx, 6)
492 #endif
493 SVC_(RemoveProcessDebug, 2)
494 SVC_(RenameKey, 2)
495 #if (NTDDI_VERSION >= NTDDI_VISTASP1)
496 SVC_(RenameTransactionManager, 2)
497 #endif
498 SVC_(ReplaceKey, 3)
499 #if (NTDDI_VERSION >= NTDDI_VISTASP1)
500 SVC_(ReplacePartitionUnit, 3)
501 #endif
502 SVC_(ReplyWaitReplyPort, 2)
503 SVC_(RequestPort, 2)
504 #if (NTDDI_VERSION < NTDDI_WIN7)
505 SVC_(RequestWakeupLatency, 1)
506 #endif
507 SVC_(ResetEvent, 2)
508 SVC_(ResetWriteWatch, 3)
509 SVC_(RestoreKey, 3)
510 SVC_(ResumeProcess, 1)
511 #if (NTDDI_VERSION >= NTDDI_VISTA)
512 SVC_(RollbackComplete, 2)
513 SVC_(RollbackEnlistment, 2)
514 SVC_(RollbackTransaction, 2)
515 SVC_(RollforwardTransactionManager, 2)
516 #endif
517 SVC_(SaveKey, 2)
518 SVC_(SaveKeyEx, 3)
519 SVC_(SaveMergedKeys, 3)
520 SVC_(SecureConnectPort, 9)
521 #if (NTDDI_VERSION >= NTDDI_WIN7)
522 SVC_(SerializeBoot, 0)
523 #endif
524 #if (NTDDI_VERSION >= NTDDI_VISTA)
525 SVC_(SetBootEntryOrder, 2)
526 SVC_(SetBootOptions, 2)
527 #endif
528 SVC_(SetContextThread, 2)
529 SVC_(SetDebugFilterState, 3)
530 SVC_(SetDefaultHardErrorPort, 1)
531 SVC_(SetDefaultLocale, 2)
532 SVC_(SetDefaultUILanguage, 1)
533 #if (NTDDI_VERSION >= NTDDI_VISTA)
534 SVC_(SetDriverEntryOrder, 2)
535 #endif
536 SVC_(SetEaFile, 4)
537 SVC_(SetHighEventPair, 1)
538 SVC_(SetHighWaitLowEventPair, 1)
539 SVC_(SetInformationDebugObject, 5)
540 #if (NTDDI_VERSION >= NTDDI_VISTA)
541 SVC_(SetInformationEnlistment, 4)
542 #endif
543 SVC_(SetInformationJobObject, 4)
544 SVC_(SetInformationKey, 4)
545 #if (NTDDI_VERSION >= NTDDI_VISTA)
546 SVC_(SetInformationResourceManager, 4)
547 #endif
548 SVC_(SetInformationToken, 4)
549 #if (NTDDI_VERSION >= NTDDI_VISTA)
550 SVC_(SetInformationTransaction, 4)
551 SVC_(SetInformationTransactionManager, 4)
552 SVC_(SetInformationWorkerFactory, 4)
553 #endif
554 SVC_(SetIntervalProfile, 2)
555 SVC_(SetIoCompletion, 5)
556 #if (NTDDI_VERSION >= NTDDI_WIN7)
557 SVC_(SetIoCompletionEx, 6)
558 #endif
559 #if (NTDDI_VERSION >= NTDDI_WIN8)
560 SVC2_(xKdReleaseIntegratedDeviceForDebugging, 0) // FIXME
561 #endif
562 #if (NTDDI_VERSION >= NTDDI_SERVER08 && NTDDI_VERSION < NTDDI_WIN7)
563 SVC_(SetLdtEntries, 6)
564 #elif (NTDDI_VERSION < NTDDI_WIN8)
565 SVC2_(xKdSetupPciDeviceForDebugging, 2)
566 #endif
567 SVC_(SetLowEventPair, 1)
568 SVC_(SetLowWaitHighEventPair, 1)
569 SVC_(SetQuotaInformationFile, 4)
570 SVC_(SetSecurityObject, 3)
571 #if (NTDDI_VERSION >= NTDDI_WIN8)
572 SVC_(SetSystemCodeIntegrityRoots, 0) // FIXME
573 #endif
574 SVC_(SetSystemEnvironmentValue, 2)
575 #if (NTDDI_VERSION >= NTDDI_VISTA)
576 SVC_(SetSystemEnvironmentValueEx, 5)
577 #endif
578 SVC_(SetSystemInformation, 3)
579 SVC_(SetSystemPowerState, 3)
580 SVC_(SetSystemTime, 2)
581 SVC_(SetThreadExecutionState, 2)
582 #if (NTDDI_VERSION >= NTDDI_WIN7)
583 SVC_(SetTimerEx
584 #endif
585 SVC_(SetTimerResolution, 3)
586 SVC_(SetUuidSeed, 1)
587 SVC_(SetVolumeInformationFile, 5)
588 SVC_(ShutdownSystem, 1)
589 #if (NTDDI_VERSION >= NTDDI_VISTA)
590 SVC_(ShutdownWorkerFactory, 2)
591 #endif
592 SVC_(SignalAndWaitForSingleObject, 4)
593 #if (NTDDI_VERSION >= NTDDI_VISTA)
594 SVC_(SinglePhaseReject, 2)
595 #endif
596 SVC_(StartProfile, 1)
597 #if (NTDDI_VERSION == NTDDI_VISTA)
598 SVC2_(xHalGetInterruptTranslator, 0) // FIXME
599 #endif
600 SVC_(StopProfile, 1)
601 #if (NTDDI_VERSION >= NTDDI_WIN8)
602 SVC_(SubscribeWnfStateChange, 0) // FIXME
603 #endif
604 SVC_(SuspendProcess, 1)
605 SVC_(SuspendThread, 2)
606 SVC_(SystemDebugControl, 6)
607 SVC_(TerminateJobObject, 2)
608 SVC_(TestAlert, 0)
609 #if (NTDDI_VERSION == NTDDI_VISTA)
610 SVC_(ThawRegistry, 0)
611 SVC_(ThawTransactions, 0)
612 SVC_(TraceControl, 6)
613 SVC_(TranslateFilePath, 4)
614 #endif
615 #if (NTDDI_VERSION >= NTDDI_WIN7)
616 SVC_(UmsThreadYield, 1)
617 #endif
618 SVC_(UnloadDriver, 1)
619 SVC_(UnloadKey, 1)
620 SVC_(UnloadKey2, 2)
621 SVC_(UnloadKeyEx, 2)
622 SVC_(UnlockFile, 5)
623 SVC_(UnlockVirtualMemory, 4)
624 #if (NTDDI_VERSION >= NTDDI_WIN8)
625 SVC_(UnmapViewOfSectionEx, 0) // FIXME
626 SVC_(UnsubscribeWnfStateChange, 0) // FIXME
627 SVC_(UpdateWnfStateData, 0) // FIXME
628 SVC_(WaitForAlertByThreadId, 0) // FIXME
629 #endif
630 SVC_(VdmControl, 2)
631 SVC_(WaitForDebugEvent, 4)
632 SVC_(WaitForKeyedEvent, 4)
633 #if (NTDDI_VERSION >= NTDDI_WIN8)
634 SVC_(WaitForWnfNotifications, 0) // FIXME
635 #endif
636 #if (NTDDI_VERSION >= NTDDI_VISTA)
637 SVC_(WaitForWorkViaWorkerFactory, 2)
638 #endif
639 SVC_(WaitHighEventPair, 1)
640 SVC_(WaitLowEventPair, 1)
641 #if (NTDDI_VERSION >= NTDDI_VISTA)
642 SVC_(WorkerFactoryWorkerReady, 1)
643 #endif
644
645