ReactOS  0.4.15-dev-4927-gfe8f806
sysfuncs64.h
Go to the documentation of this file.
3 SVC_(CallbackReturn, 3)
4 SVC_(ReadFile, 9)
5 SVC_(DeviceIoControlFile, 10)
6 SVC_(WriteFile, 9)
7 SVC_(RemoveIoCompletion, 5)
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)
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)
35 SVC_(QueryInformationThread
36 SVC_(OpenProcess, 5)
37 SVC_(SetInformationFile, 5)
38 SVC_(MapViewOfSection, 10)
40 SVC_(UnmapViewOfSection, 2)
41 SVC_(ReplyWaitReceivePortEx, 5)
43 SVC_(SetEventBoostPriority, 1)
45 SVC_(OpenThreadTokenEx, 5)
46 SVC_(OpenProcessTokenEx, 4)
48 SVC_(EnumerateKey, 2)
49 SVC_(OpenFile, 6)
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)
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)
78 SVC_(ProtectVirtualMemory, 5)
79 SVC_(QuerySection, 5)
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)
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)
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
120 #if (NTDDI_VERSION >= NTDDI_WIN7)
121 SVC_(AllocateReserveObject, 3)
122 #endif
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)
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)
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)
220 #if (NTDDI_VERSION >= NTDDI_WIN7)
221 SVC_(CreateProfileEx, 10)
222 #endif
223 #if (NTDDI_VERSION >= NTDDI_VISTA)
224 SVC_(CreateResourceManager, 7)
225 #endif
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
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
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
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)
301 #if (NTDDI_VERSION >= NTDDI_VISTA)
302 SVC_(FreezeRegistry
303 SVC_(FreezeTransactions, 2)
304 #endif
305 SVC_(GetContextThread, 2)
306 SVC_(GetCurrentProcessorNumber, 0)
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
316 SVC_(GetPlugPlayEvent, 4)
317 #endif
320 SVC_(ImpersonateThread, 3)
321 #if (NTDDI_VERSION >= NTDDI_VISTA)
322 SVC_(InitializeNlsFiles
323 #endif
324 SVC_(InitializeRegistry, 1)
325 SVC_(InitiatePowerAction, 4)
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
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
377 #if (NTDDI_VERSION >= NTDDI_VISTA)
378 SVC_(OpenResourceManager, 5)
379 #endif
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)
402 SVC_(PrivilegeObjectAuditAlarm, 6)
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
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
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
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
479 SVC_(RegisterProtocolAddressInformation, 5)
480 #endif
481 #if (NTDDI_VERSION == NTDDI_VISTA)
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)
496 SVC_(RenameTransactionManager, 2)
497 #endif
498 SVC_(ReplaceKey, 3)
500 SVC_(ReplacePartitionUnit, 3)
501 #endif
502 SVC_(ReplyWaitReplyPort, 2)
503 SVC_(RequestPort, 2)
506 #endif
507 SVC_(ResetEvent, 2)
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
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)
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)
582 #if (NTDDI_VERSION >= NTDDI_WIN7)
583 SVC_(SetTimerEx
584 #endif
585 SVC_(SetTimerResolution, 3)
586 SVC_(SetUuidSeed, 1)
587 SVC_(SetVolumeInformationFile, 5)
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)
606 SVC_(SystemDebugControl, 6)
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)
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 
#define CreateEvent
Definition: winbase.h:3609
BOOL WINAPI WriteFile(IN HANDLE hFile, IN LPCVOID lpBuffer, IN DWORD nNumberOfBytesToWrite OPTIONAL, OUT LPDWORD lpNumberOfBytesWritten, IN LPOVERLAPPED lpOverlapped OPTIONAL)
Definition: rw.c:24
BOOL WINAPI SetSystemPowerState(IN BOOL fSuspend, IN BOOL fForce)
Definition: power.c:94
#define AddAtom
Definition: winbase.h:3591
bool ShutdownSystem()
Definition: shutdown.cpp:16
BOOL WINAPI AllocateUserPhysicalPages(IN HANDLE hProcess, IN PULONG_PTR NumberOfPages, OUT PULONG_PTR UserPfnArray)
Definition: virtmem.c:347
BOOL WINAPI TerminateThread(IN HANDLE hThread, IN DWORD dwExitCode)
Definition: thread.c:587
BOOL WINAPI AssignProcessToJobObject(IN HANDLE hJob, IN HANDLE hProcess)
Definition: job.c:99
#define NTDDI_VISTASP1
Definition: sdkddkver.h:104
BOOL WINAPI SetSystemTime(IN CONST SYSTEMTIME *lpSystemTime)
Definition: time.c:412
#define PrivilegedServiceAuditAlarm
Definition: winbase.h:3752
#define AccessCheckAndAuditAlarm
Definition: winbase.h:3590
BOOL WINAPI TerminateJobObject(IN HANDLE hJob, IN UINT uExitCode)
Definition: job.c:318
BOOL WINAPI PrivilegeCheck(HANDLE ClientToken, PPRIVILEGE_SET RequiredPrivileges, LPBOOL pfResult)
Definition: security.c:1865
BOOL WINAPI MapUserPhysicalPagesScatter(IN PVOID *VirtualAddresses, IN ULONG_PTR NumberOfPages, OUT PULONG_PTR PageArray OPTIONAL)
Definition: virtmem.c:410
BOOL WINAPI ImpersonateAnonymousToken(IN HANDLE ThreadHandle)
Definition: misc.c:133
BOOL WINAPI DECLSPEC_HOTPATCH SetEvent(IN HANDLE hEvent)
Definition: synch.c:733
BOOL WINAPI FlushInstructionCache(IN HANDLE hProcess, IN LPCVOID lpBaseAddress, IN SIZE_T nSize)
Definition: proc.c:1463
#define DeleteFile
Definition: winbase.h:3625
DWORD WINAPI WaitForMultipleObjects(IN DWORD nCount, IN CONST HANDLE *lpHandles, IN BOOL bWaitAll, IN DWORD dwMilliseconds)
Definition: synch.c:151
#define OpenEvent
Definition: winbase.h:3746
NTSTATUS NTAPI KeRestoreFloatingPointState(_In_ PKFLOATING_SAVE Save)
Restores the original FPU state context that has been saved by a API call of KeSaveFloatingPointState...
Definition: cpu.c:1469
BOOL WINAPI RequestDeviceWakeup(IN HANDLE hDevice)
Definition: power.c:140
#define DrawText
Definition: winuser.h:5751
LONG RenameKey(HKEY hKey, LPCWSTR lpSubKey, LPCWSTR lpNewName)
Definition: edit.c:1489
DWORD WINAPI WaitForSingleObject(IN HANDLE hHandle, IN DWORD dwMilliseconds)
Definition: synch.c:82
return pRequest CreateTimer()
BOOL WINAPI UnlockFile(IN HANDLE hFile, IN DWORD dwFileOffsetLow, IN DWORD dwFileOffsetHigh, IN DWORD nNumberOfBytesToUnlockLow, IN DWORD nNumberOfBytesToUnlockHigh)
Definition: lock.c:142
ATOM WINAPI DeleteAtom(ATOM nAtom)
Definition: atom.c:546
BOOL WINAPI QueryInformationJobObject(IN HANDLE hJob, IN JOBOBJECTINFOCLASS JobObjectInformationClass, IN LPVOID lpJobObjectInformation, IN DWORD cbJobObjectInformationLength, OUT LPDWORD lpReturnLength)
Definition: job.c:119
BOOL WINAPI DECLSPEC_HOTPATCH PulseEvent(IN HANDLE hEvent)
Definition: synch.c:695
HANDLE WINAPI DECLSPEC_HOTPATCH CreateThread(IN LPSECURITY_ATTRIBUTES lpThreadAttributes, IN DWORD dwStackSize, IN LPTHREAD_START_ROUTINE lpStartAddress, IN LPVOID lpParameter, IN DWORD dwCreationFlags, OUT LPDWORD lpThreadId)
Definition: thread.c:137
BOOL WINAPI AccessCheckByType(PSECURITY_DESCRIPTOR pSecurityDescriptor, PSID PrincipalSelfSid, HANDLE ClientToken, DWORD DesiredAccess, POBJECT_TYPE_LIST ObjectTypeList, DWORD ObjectTypeListLength, PGENERIC_MAPPING GenericMapping, PPRIVILEGE_SET PrivilegeSet, LPDWORD PrivilegeSetLength, LPDWORD GrantedAccess, LPBOOL AccessStatus)
Definition: security.c:1702
UINT_PTR WINAPI SetTimer(_In_opt_ HWND, _In_ UINT_PTR, _In_ UINT, _In_opt_ TIMERPROC)
HFILE WINAPI OpenFile(LPCSTR lpFileName, LPOFSTRUCT lpReOpenBuff, UINT uStyle)
Definition: create.c:368
#define NTDDI_VERSION
Definition: k32.h:33
#define FindAtom
Definition: winbase.h:3641
BOOL WINAPI DuplicateToken(IN HANDLE ExistingTokenHandle, IN SECURITY_IMPERSONATION_LEVEL ImpersonationLevel, OUT PHANDLE DuplicateTokenHandle)
Definition: security.c:3662
BOOL WINAPI GetDevicePowerState(IN HANDLE hDevice, OUT BOOL *pfOn)
Definition: power.c:117
BOOL WINAPI AccessCheck(IN PSECURITY_DESCRIPTOR pSecurityDescriptor, IN HANDLE ClientToken, IN DWORD DesiredAccess, IN PGENERIC_MAPPING GenericMapping, OUT PPRIVILEGE_SET PrivilegeSet OPTIONAL, IN OUT LPDWORD PrivilegeSetLength, OUT LPDWORD GrantedAccess, OUT LPBOOL AccessStatus)
Definition: security.c:1652
EXTERN_C ULONG WMIAPI TraceEvent(IN TRACEHANDLE TraceHandle, IN PEVENT_TRACE_HEADER EventTrace)
#define NTDDI_WIN7
Definition: sdkddkver.h:112
#define OpenSemaphore
Definition: winbase.h:3750
BOOL WINAPI IsSystemResumeAutomatic(VOID)
Definition: power.c:197
BOOL WINAPI WaitForDebugEvent(IN LPDEBUG_EVENT lpDebugEvent, IN DWORD dwMilliseconds)
Definition: debugger.c:625
BOOL WINAPI QueryPerformanceCounter(OUT PLARGE_INTEGER lpPerformanceCount)
Definition: perfcnt.c:23
BOOL WINAPI SetInformationJobObject(IN HANDLE hJob, IN JOBOBJECTINFOCLASS JobObjectInformationClass, IN LPVOID lpJobObjectInformation, IN DWORD cbJobObjectInformationLength)
Definition: job.c:212
DWORD WINAPI SuspendThread(IN HANDLE hThread)
Definition: thread.c:642
HANDLE WINAPI OpenThread(IN DWORD dwDesiredAccess, IN BOOL bInheritHandle, IN DWORD dwThreadId)
Definition: thread.c:403
UINT WINAPI GetWriteWatch(IN DWORD dwFlags, IN PVOID lpBaseAddress, IN SIZE_T dwRegionSize, IN PVOID *lpAddresses, OUT PULONG_PTR lpdwCount, OUT PULONG lpdwGranularity)
Definition: virtmem.c:295
MIXER_STATUS OpenKey(IN HANDLE hKey, IN LPWSTR SubKey, IN ULONG DesiredAccess, OUT PHANDLE OutKey)
Definition: mmixer.c:84
#define CreateProcess
Definition: winbase.h:3619
VOID DisplayString(LPWSTR Msg)
Definition: misc.c:211
BOOL WINAPI LockFile(IN HANDLE hFile, IN DWORD dwFileOffsetLow, IN DWORD dwFileOffsetHigh, IN DWORD nNumberOfBytesToLockLow, IN DWORD nNumberOfBytesToLockHigh)
Definition: lock.c:25
BOOL WINAPI RequestWakeupLatency(IN LATENCY_TIME latency)
Definition: power.c:159
HANDLE WINAPI OpenProcess(IN DWORD dwDesiredAccess, IN BOOL bInheritHandle, IN DWORD dwProcessId)
Definition: proc.c:1227
BOOL WINAPI OpenThreadToken(HANDLE ThreadHandle, DWORD DesiredAccess, BOOL OpenAsSelf, HANDLE *TokenHandle)
Definition: security.c:338
VOID WINAPI RaiseException(IN DWORD dwExceptionCode, IN DWORD dwExceptionFlags, IN DWORD nNumberOfArguments, IN CONST ULONG_PTR *lpArguments OPTIONAL)
Definition: except.c:700
#define NTDDI_VISTA
Definition: sdkddkver.h:103
IN OUT PVCB OUT PDIRENT OUT PBCB IN BOOLEAN CreateFile
Definition: fatprocs.h:913
Definition: sacdrv.h:268
BOOL WINAPI TerminateProcess(IN HANDLE hProcess, IN UINT uExitCode)
Definition: proc.c:1532
BOOL WINAPI AllocateLocallyUniqueId(PLUID Luid)
Definition: security.c:1220
BOOL DeleteKey(HWND hwnd, HKEY hKeyRoot, LPCWSTR keyPath)
Definition: edit.c:1456
#define ReadFile(a, b, c, d, e)
Definition: compat.h:601
BOOL WINAPI OpenProcessToken(HANDLE ProcessHandle, DWORD DesiredAccess, PHANDLE TokenHandle)
Definition: security.c:296
NTSTATUS NTAPI ArbPreprocessEntry(_In_ PARBITER_INSTANCE Arbiter, _Inout_ PARBITER_ALLOCATION_STATE ArbState)
Definition: arbiter.c:89
#define SVC_(name, argcount)
Definition: napi.h:14
BOOL WINAPI DECLSPEC_HOTPATCH ResetEvent(IN HANDLE hEvent)
Definition: synch.c:714
NTSTATUS NTAPI xKdSetupPciDeviceForDebugging(IN PVOID LoaderBlock OPTIONAL, IN OUT PDEBUG_DEVICE_DESCRIPTOR PciDevice)
Definition: halstub.c:254
BOOL WINAPI DECLSPEC_HOTPATCH ReleaseSemaphore(IN HANDLE hSemaphore, IN LONG lReleaseCount, IN LPLONG lpPreviousCount)
Definition: synch.c:542
BOOL WINAPI IsProcessInJob(IN HANDLE ProcessHandle, IN HANDLE JobHandle, OUT PBOOL Result)
Definition: job.c:77
DWORD WINAPI ResumeThread(IN HANDLE hThread)
Definition: thread.c:567
NTSTATUS NTAPI xHalGetInterruptTranslator(IN INTERFACE_TYPE ParentInterfaceType, IN ULONG ParentBusNumber, IN INTERFACE_TYPE BridgeInterfaceType, IN USHORT Size, IN USHORT Version, OUT PTRANSLATOR_INTERFACE Translator, OUT PULONG BridgeBusNumber)
Definition: translate.c:156
BOOL WINAPI MapUserPhysicalPages(IN PVOID VirtualAddress, IN ULONG_PTR NumberOfPages, OUT PULONG_PTR PageArray OPTIONAL)
Definition: virtmem.c:389
BOOL WINAPI CreateJobSet(IN ULONG NumJob, IN PJOB_SET_ARRAY UserJobSet, IN ULONG Flags)
Definition: job.c:338
static VOID FilterToken(VOID)
EXECUTION_STATE WINAPI SetThreadExecutionState(EXECUTION_STATE esFlags)
Definition: power.c:220
static LONG WINAPI CreateKey(HANDLE hcKey, LPCWSTR pszSubKey, DWORD dwOptions, REGSAM samDesired, PSECURITY_ATTRIBUTES pSecurityAttributes, PHANDLE phckResult, PDWORD pdwDisposition, HANDLE hSpooler)
Definition: localmon.c:142
BOOL WINAPI ReadFileScatter(HANDLE hFile, FILE_SEGMENT_ELEMENT aSegmentArray[], DWORD nNumberOfBytesToRead, LPDWORD lpReserved, LPOVERLAPPED lpOverlapped)
Definition: rw.c:337
#define CreateSemaphore
Definition: winbase.h:3621
BOOL WINAPI DebugActiveProcess(IN DWORD dwProcessId)
Definition: debugger.c:480
#define NTDDI_WIN8
Definition: sdkddkver.h:113
BOOL WINAPI FreeUserPhysicalPages(IN HANDLE hProcess, IN PULONG_PTR NumberOfPages, IN PULONG_PTR PageArray)
Definition: virtmem.c:368
UINT WINAPI ResetWriteWatch(IN LPVOID lpBaseAddress, IN SIZE_T dwRegionSize)
Definition: virtmem.c:325
BOOL WINAPI WriteFileGather(HANDLE hFile, FILE_SEGMENT_ELEMENT aSegmentArray[], DWORD nNumberOfBytesToWrite, LPDWORD lpReserved, LPOVERLAPPED lpOverlapped)
Definition: rw.c:379
BOOL CreateProfile(IN OUT PGINA_CONTEXT pgContext, IN PWSTR UserName, IN PWSTR Domain, IN PWSTR Password)
Definition: msgina.c:785