-
Notifications
You must be signed in to change notification settings - Fork 6
/
missing_structures_h.py
3702 lines (2917 loc) · 86.6 KB
/
missing_structures_h.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
import ctypes
from pyWinAPI.shared.wtypes_h import *
class _KDPC(ctypes.Structure):
pass
KDPC = _KDPC
PKDPC = POINTER(_KDPC)
class _POWER_CHANNEL_SUMMARY(ctypes.Structure):
pass
POWER_CHANNEL_SUMMARY = _POWER_CHANNEL_SUMMARY
PPOWER_CHANNEL_SUMMARY = POINTER(_POWER_CHANNEL_SUMMARY)
class _DEVICE_OBJECT_POWER_EXTENSION(ctypes.Structure):
pass
DEVICE_OBJECT_POWER_EXTENSION = _DEVICE_OBJECT_POWER_EXTENSION
PDEVICE_OBJECT_POWER_EXTENSION = POINTER(_DEVICE_OBJECT_POWER_EXTENSION)
class _DEVOBJ_EXTENSION(ctypes.Structure):
pass
DEVOBJ_EXTENSION = _DEVOBJ_EXTENSION
PDEVOBJ_EXTENSION = POINTER(_DEVOBJ_EXTENSION)
class _IO_STATUS_BLOCK(ctypes.Structure):
pass
IO_STATUS_BLOCK = _IO_STATUS_BLOCK
PIO_STATUS_BLOCK = POINTER(_IO_STATUS_BLOCK)
class _MDL(ctypes.Structure):
pass
MDL = _MDL
PMDL = POINTER(_MDL)
class _IRP(ctypes.Structure):
pass
IRP = _IRP
PIRP = POINTER(_IRP)
class _FAST_IO_DISPATCH(ctypes.Structure):
pass
FAST_IO_DISPATCH = _FAST_IO_DISPATCH
PFAST_IO_DISPATCH = POINTER(_FAST_IO_DISPATCH)
class _FS_FILTER_CALLBACKS(ctypes.Structure):
pass
FS_FILTER_CALLBACKS = _FS_FILTER_CALLBACKS
PFS_FILTER_CALLBACKS = POINTER(_FS_FILTER_CALLBACKS)
class _IO_CLIENT_EXTENSION(ctypes.Structure):
pass
IO_CLIENT_EXTENSION = _IO_CLIENT_EXTENSION
PIO_CLIENT_EXTENSION = POINTER(_IO_CLIENT_EXTENSION)
class _DRIVER_EXTENSION(ctypes.Structure):
pass
DRIVER_EXTENSION = _DRIVER_EXTENSION
PDRIVER_EXTENSION = POINTER(_DRIVER_EXTENSION)
class _DRIVER_OBJECT(ctypes.Structure):
pass
DRIVER_OBJECT = _DRIVER_OBJECT
PDRIVER_OBJECT = POINTER(_DRIVER_OBJECT)
class _VPB(ctypes.Structure):
pass
VPB = _VPB
PVPB = POINTER(_VPB)
class _KDEVICE_QUEUE(ctypes.Structure):
pass
KDEVICE_QUEUE = _KDEVICE_QUEUE
PKDEVICE_QUEUE = POINTER(_KDEVICE_QUEUE)
class _DEVICE_OBJECT(ctypes.Structure):
pass
DEVICE_OBJECT = _DEVICE_OBJECT
PDEVICE_OBJECT = POINTER(_DEVICE_OBJECT)
class _IO_TIMER(ctypes.Structure):
pass
IO_TIMER = _IO_TIMER
PIO_TIMER = POINTER(_IO_TIMER)
class _KINTERRUPT(ctypes.Structure):
pass
KINTERRUPT = _KINTERRUPT
PKINTERRUPT = POINTER(_KINTERRUPT)
class _DISPATCHER_HEADER(ctypes.Structure):
pass
DISPATCHER_HEADER = _DISPATCHER_HEADER
PDISPATCHER_HEADER = POINTER(_DISPATCHER_HEADER)
class _KAPC_STATE(ctypes.Structure):
pass
KAPC_STATE = _KAPC_STATE
PKAPC_STATE = POINTER(_KAPC_STATE)
class _KWAIT_BLOCK(ctypes.Structure):
pass
KWAIT_BLOCK = _KWAIT_BLOCK
PKWAIT_BLOCK = POINTER(_KWAIT_BLOCK)
class _KGATE(ctypes.Structure):
pass
KGATE = _KGATE
PKGATE = POINTER(_KGATE)
class _KQUEUE(ctypes.Structure):
pass
KQUEUE = _KQUEUE
PKQUEUE = POINTER(_KQUEUE)
class _KTIMER(ctypes.Structure):
pass
KTIMER = _KTIMER
PKTIMER = POINTER(_KTIMER)
class _EXCEPTION_REGISTRATION_RECORD(ctypes.Structure):
pass
EXCEPTION_REGISTRATION_RECORD = _EXCEPTION_REGISTRATION_RECORD
PEXCEPTION_REGISTRATION_RECORD = POINTER(_EXCEPTION_REGISTRATION_RECORD)
class _KTRAP_FRAME(ctypes.Structure):
pass
KTRAP_FRAME = _KTRAP_FRAME
PKTRAP_FRAME = POINTER(_KTRAP_FRAME)
class _KAPC(ctypes.Structure):
pass
KAPC = _KAPC
PKAPC = POINTER(_KAPC)
class _FLOATING_SAVE_AREA(ctypes.Structure):
pass
FLOATING_SAVE_AREA = _FLOATING_SAVE_AREA
PFLOATING_SAVE_AREA = POINTER(_FLOATING_SAVE_AREA)
class _DESCRIPTOR(ctypes.Structure):
pass
DESCRIPTOR = _DESCRIPTOR
PDESCRIPTOR = POINTER(_DESCRIPTOR)
class _KSPECIAL_REGISTERS(ctypes.Structure):
pass
KSPECIAL_REGISTERS = _KSPECIAL_REGISTERS
PKSPECIAL_REGISTERS = POINTER(_KSPECIAL_REGISTERS)
class _CONTEXT(ctypes.Structure):
pass
CONTEXT = _CONTEXT
PCONTEXT = POINTER(_CONTEXT)
class _KPROCESSOR_STATE(ctypes.Structure):
pass
KPROCESSOR_STATE = _KPROCESSOR_STATE
PKPROCESSOR_STATE = POINTER(_KPROCESSOR_STATE)
class _KSPIN_LOCK_QUEUE(ctypes.Structure):
pass
KSPIN_LOCK_QUEUE = _KSPIN_LOCK_QUEUE
PKSPIN_LOCK_QUEUE = POINTER(_KSPIN_LOCK_QUEUE)
class _SLIST_HEADER(ctypes.Structure):
pass
SLIST_HEADER = _SLIST_HEADER
PSLIST_HEADER = POINTER(_SLIST_HEADER)
class _CACHED_KSTACK_LIST(ctypes.Structure):
pass
CACHED_KSTACK_LIST = _CACHED_KSTACK_LIST
PCACHED_KSTACK_LIST = POINTER(_CACHED_KSTACK_LIST)
class _KNODE(ctypes.Structure):
pass
KNODE = _KNODE
PKNODE = POINTER(_KNODE)
class _GENERAL_LOOKASIDE(ctypes.Structure):
pass
GENERAL_LOOKASIDE = _GENERAL_LOOKASIDE
PGENERAL_LOOKASIDE = POINTER(_GENERAL_LOOKASIDE)
class _PP_LOOKASIDE_LIST(ctypes.Structure):
pass
PP_LOOKASIDE_LIST = _PP_LOOKASIDE_LIST
PPP_LOOKASIDE_LIST = POINTER(_PP_LOOKASIDE_LIST)
class _GENERAL_LOOKASIDE_POOL(ctypes.Structure):
pass
GENERAL_LOOKASIDE_POOL = _GENERAL_LOOKASIDE_POOL
PGENERAL_LOOKASIDE_POOL = POINTER(_GENERAL_LOOKASIDE_POOL)
class _KDPC_DATA(ctypes.Structure):
pass
KDPC_DATA = _KDPC_DATA
PKDPC_DATA = POINTER(_KDPC_DATA)
class _KEVENT(ctypes.Structure):
pass
KEVENT = _KEVENT
PKEVENT = POINTER(_KEVENT)
class PPM_IDLE_STATE(ctypes.Structure):
pass
PPPM_IDLE_STATE = POINTER(PPM_IDLE_STATE)
class PPM_IDLE_STATES(ctypes.Structure):
pass
PPPM_IDLE_STATES = POINTER(PPM_IDLE_STATES)
class PROCESSOR_IDLE_TIMES(ctypes.Structure):
pass
PPROCESSOR_IDLE_TIMES = POINTER(PROCESSOR_IDLE_TIMES)
class PPM_IDLE_STATE_ACCOUNTING(ctypes.Structure):
pass
PPPM_IDLE_STATE_ACCOUNTING = POINTER(PPM_IDLE_STATE_ACCOUNTING)
class PPM_IDLE_ACCOUNTING(ctypes.Structure):
pass
PPPM_IDLE_ACCOUNTING = POINTER(PPM_IDLE_ACCOUNTING)
class PPM_PERF_STATE(ctypes.Structure):
pass
PPPM_PERF_STATE = POINTER(PPM_PERF_STATE)
class PPM_PERF_STATES(ctypes.Structure):
pass
PPPM_PERF_STATES = POINTER(PPM_PERF_STATES)
class _PROCESSOR_POWER_STATE(ctypes.Structure):
pass
PROCESSOR_POWER_STATE = _PROCESSOR_POWER_STATE
PPROCESSOR_POWER_STATE = POINTER(_PROCESSOR_POWER_STATE)
class _CACHE_DESCRIPTOR(ctypes.Structure):
pass
CACHE_DESCRIPTOR = _CACHE_DESCRIPTOR
PCACHE_DESCRIPTOR = POINTER(_CACHE_DESCRIPTOR)
class _FX_SAVE_AREA(ctypes.Structure):
pass
FX_SAVE_AREA = _FX_SAVE_AREA
PFX_SAVE_AREA = POINTER(_FX_SAVE_AREA)
class _KPRCB(ctypes.Structure):
pass
KPRCB = _KPRCB
PKPRCB = POINTER(_KPRCB)
class _KSEMAPHORE(ctypes.Structure):
pass
KSEMAPHORE = _KSEMAPHORE
PKSEMAPHORE = POINTER(_KSEMAPHORE)
class _KTHREAD(ctypes.Structure):
pass
KTHREAD = _KTHREAD
PKTHREAD = POINTER(_KTHREAD)
class _KGDTENTRY(ctypes.Structure):
pass
KGDTENTRY = _KGDTENTRY
PKGDTENTRY = POINTER(_KGDTENTRY)
class _KIDTENTRY(ctypes.Structure):
pass
KIDTENTRY = _KIDTENTRY
PKIDTENTRY = POINTER(_KIDTENTRY)
class _KEXECUTE_OPTIONS(ctypes.Structure):
pass
KEXECUTE_OPTIONS = _KEXECUTE_OPTIONS
PKEXECUTE_OPTIONS = POINTER(_KEXECUTE_OPTIONS)
class _KPROCESS(ctypes.Structure):
pass
KPROCESS = _KPROCESS
PKPROCESS = POINTER(_KPROCESS)
class _OWNER_ENTRY(ctypes.Structure):
pass
OWNER_ENTRY = _OWNER_ENTRY
POWNER_ENTRY = POINTER(_OWNER_ENTRY)
class _ERESOURCE(ctypes.Structure):
pass
ERESOURCE = _ERESOURCE
PERESOURCE = POINTER(_ERESOURCE)
class _GENERIC_MAPPING(ctypes.Structure):
pass
GENERIC_MAPPING = _GENERIC_MAPPING
PGENERIC_MAPPING = POINTER(_GENERIC_MAPPING)
class _OBJECT_TYPE_INITIALIZER(ctypes.Structure):
pass
OBJECT_TYPE_INITIALIZER = _OBJECT_TYPE_INITIALIZER
POBJECT_TYPE_INITIALIZER = POINTER(_OBJECT_TYPE_INITIALIZER)
class _EX_PUSH_LOCK(ctypes.Structure):
pass
EX_PUSH_LOCK = _EX_PUSH_LOCK
PEX_PUSH_LOCK = POINTER(_EX_PUSH_LOCK)
class _OBJECT_TYPE(ctypes.Structure):
pass
OBJECT_TYPE = _OBJECT_TYPE
POBJECT_TYPE = POINTER(_OBJECT_TYPE)
class _SECURITY_QUALITY_OF_SERVICE(ctypes.Structure):
pass
SECURITY_QUALITY_OF_SERVICE = _SECURITY_QUALITY_OF_SERVICE
PSECURITY_QUALITY_OF_SERVICE = POINTER(_SECURITY_QUALITY_OF_SERVICE)
class _IO_STACK_LOCATION(ctypes.Structure):
pass
IO_STACK_LOCATION = _IO_STACK_LOCATION
PIO_STACK_LOCATION = POINTER(_IO_STACK_LOCATION)
class _FILE_GET_QUOTA_INFORMATION(ctypes.Structure):
pass
FILE_GET_QUOTA_INFORMATION = _FILE_GET_QUOTA_INFORMATION
PFILE_GET_QUOTA_INFORMATION = POINTER(_FILE_GET_QUOTA_INFORMATION)
class _TERMINATION_PORT(ctypes.Structure):
pass
TERMINATION_PORT = _TERMINATION_PORT
PTERMINATION_PORT = POINTER(_TERMINATION_PORT)
class _CLIENT_ID(ctypes.Structure):
pass
CLIENT_ID = _CLIENT_ID
PCLIENT_ID = POINTER(_CLIENT_ID)
class _PS_CLIENT_SECURITY_CONTEXT(ctypes.Structure):
pass
PS_CLIENT_SECURITY_CONTEXT = _PS_CLIENT_SECURITY_CONTEXT
PPS_CLIENT_SECURITY_CONTEXT = POINTER(_PS_CLIENT_SECURITY_CONTEXT)
class _EX_RUNDOWN_REF(ctypes.Structure):
pass
EX_RUNDOWN_REF = _EX_RUNDOWN_REF
PEX_RUNDOWN_REF = POINTER(_EX_RUNDOWN_REF)
class _PSP_RATE_APC(ctypes.Structure):
pass
PSP_RATE_APC = _PSP_RATE_APC
PPSP_RATE_APC = POINTER(_PSP_RATE_APC)
class _JOB_ACCESS_STATE(ctypes.Structure):
pass
JOB_ACCESS_STATE = _JOB_ACCESS_STATE
PJOB_ACCESS_STATE = POINTER(_JOB_ACCESS_STATE)
class _ETHREAD(ctypes.Structure):
pass
ETHREAD = _ETHREAD
PETHREAD = POINTER(_ETHREAD)
class _FAST_MUTEX(ctypes.Structure):
pass
FAST_MUTEX = _FAST_MUTEX
PFAST_MUTEX = POINTER(_FAST_MUTEX)
class _HANDLE_TRACE_DB_ENTRY(ctypes.Structure):
pass
HANDLE_TRACE_DB_ENTRY = _HANDLE_TRACE_DB_ENTRY
PHANDLE_TRACE_DB_ENTRY = POINTER(_HANDLE_TRACE_DB_ENTRY)
class _HANDLE_TRACE_DEBUG_INFO(ctypes.Structure):
pass
HANDLE_TRACE_DEBUG_INFO = _HANDLE_TRACE_DEBUG_INFO
PHANDLE_TRACE_DEBUG_INFO = POINTER(_HANDLE_TRACE_DEBUG_INFO)
class _HANDLE_TABLE_ENTRY_INFO(ctypes.Structure):
pass
HANDLE_TABLE_ENTRY_INFO = _HANDLE_TABLE_ENTRY_INFO
PHANDLE_TABLE_ENTRY_INFO = POINTER(_HANDLE_TABLE_ENTRY_INFO)
class _HANDLE_TABLE_ENTRY(ctypes.Structure):
pass
HANDLE_TABLE_ENTRY = _HANDLE_TABLE_ENTRY
PHANDLE_TABLE_ENTRY = POINTER(_HANDLE_TABLE_ENTRY)
class _HANDLE_TABLE(ctypes.Structure):
pass
HANDLE_TABLE = _HANDLE_TABLE
PHANDLE_TABLE = POINTER(_HANDLE_TABLE)
class _EX_FAST_REF(ctypes.Structure):
pass
EX_FAST_REF = _EX_FAST_REF
PEX_FAST_REF = POINTER(_EX_FAST_REF)
class _MMADDRESS_NODE(ctypes.Structure):
pass
MMADDRESS_NODE = _MMADDRESS_NODE
PMMADDRESS_NODE = POINTER(_MMADDRESS_NODE)
class _MM_AVL_TABLE(ctypes.Structure):
pass
MM_AVL_TABLE = _MM_AVL_TABLE
PMM_AVL_TABLE = POINTER(_MM_AVL_TABLE)
class _EJOB(ctypes.Structure):
pass
EJOB = _EJOB
PEJOB = POINTER(_EJOB)
class _HARDWARE_PTE(ctypes.Structure):
pass
HARDWARE_PTE = _HARDWARE_PTE
PHARDWARE_PTE = POINTER(_HARDWARE_PTE)
class _PEB_LDR_DATA(ctypes.Structure):
pass
PEB_LDR_DATA = _PEB_LDR_DATA
PPEB_LDR_DATA = POINTER(_PEB_LDR_DATA)
class _CURDIR(ctypes.Structure):
pass
CURDIR = _CURDIR
PCURDIR = POINTER(_CURDIR)
class _RTL_DRIVE_LETTER_CURDIR(ctypes.Structure):
pass
RTL_DRIVE_LETTER_CURDIR = _RTL_DRIVE_LETTER_CURDIR
PRTL_DRIVE_LETTER_CURDIR = POINTER(_RTL_DRIVE_LETTER_CURDIR)
class _RTL_USER_PROCESS_PARAMETERS(ctypes.Structure):
pass
RTL_USER_PROCESS_PARAMETERS = _RTL_USER_PROCESS_PARAMETERS
PRTL_USER_PROCESS_PARAMETERS = POINTER(_RTL_USER_PROCESS_PARAMETERS)
class _RTL_CRITICAL_SECTION_DEBUG(ctypes.Structure):
pass
RTL_CRITICAL_SECTION_DEBUG = _RTL_CRITICAL_SECTION_DEBUG
PRTL_CRITICAL_SECTION_DEBUG = POINTER(_RTL_CRITICAL_SECTION_DEBUG)
class _RTL_CRITICAL_SECTION(ctypes.Structure):
pass
RTL_CRITICAL_SECTION = _RTL_CRITICAL_SECTION
PRTL_CRITICAL_SECTION = POINTER(_RTL_CRITICAL_SECTION)
class _PEB_FREE_BLOCK(ctypes.Structure):
pass
PEB_FREE_BLOCK = _PEB_FREE_BLOCK
PPEB_FREE_BLOCK = POINTER(_PEB_FREE_BLOCK)
class _ACTIVATION_CONTEXT_DATA(ctypes.Structure):
pass
ACTIVATION_CONTEXT_DATA = _ACTIVATION_CONTEXT_DATA
PACTIVATION_CONTEXT_DATA = POINTER(_ACTIVATION_CONTEXT_DATA)
class _ASSEMBLY_STORAGE_MAP(ctypes.Structure):
pass
ASSEMBLY_STORAGE_MAP = _ASSEMBLY_STORAGE_MAP
PASSEMBLY_STORAGE_MAP = POINTER(_ASSEMBLY_STORAGE_MAP)
class _FLS_CALLBACK_INFO(ctypes.Structure):
pass
FLS_CALLBACK_INFO = _FLS_CALLBACK_INFO
PFLS_CALLBACK_INFO = POINTER(_FLS_CALLBACK_INFO)
class _PEB(ctypes.Structure):
pass
PEB = _PEB
PPEB = POINTER(_PEB)
class _ALPC_PROCESS_CONTEXT(ctypes.Structure):
pass
ALPC_PROCESS_CONTEXT = _ALPC_PROCESS_CONTEXT
PALPC_PROCESS_CONTEXT = POINTER(_ALPC_PROCESS_CONTEXT)
class _OBJECT_NAME_INFORMATION(ctypes.Structure):
pass
OBJECT_NAME_INFORMATION = _OBJECT_NAME_INFORMATION
POBJECT_NAME_INFORMATION = POINTER(_OBJECT_NAME_INFORMATION)
class _SE_AUDIT_PROCESS_CREATION_INFO(ctypes.Structure):
pass
SE_AUDIT_PROCESS_CREATION_INFO = _SE_AUDIT_PROCESS_CREATION_INFO
PSE_AUDIT_PROCESS_CREATION_INFO = POINTER(_SE_AUDIT_PROCESS_CREATION_INFO)
class _MMSUPPORT_FLAGS(ctypes.Structure):
pass
MMSUPPORT_FLAGS = _MMSUPPORT_FLAGS
PMMSUPPORT_FLAGS = POINTER(_MMSUPPORT_FLAGS)
class _MMWSLE_HASH(ctypes.Structure):
pass
MMWSLE_HASH = _MMWSLE_HASH
PMMWSLE_HASH = POINTER(_MMWSLE_HASH)
class _MMWSLE_NONDIRECT_HASH(ctypes.Structure):
pass
MMWSLE_NONDIRECT_HASH = _MMWSLE_NONDIRECT_HASH
PMMWSLE_NONDIRECT_HASH = POINTER(_MMWSLE_NONDIRECT_HASH)
class _MMWSLENTRY(ctypes.Structure):
pass
MMWSLENTRY = _MMWSLENTRY
PMMWSLENTRY = POINTER(_MMWSLENTRY)
class _MMWSLE_FREE_ENTRY(ctypes.Structure):
pass
MMWSLE_FREE_ENTRY = _MMWSLE_FREE_ENTRY
PMMWSLE_FREE_ENTRY = POINTER(_MMWSLE_FREE_ENTRY)
class _MMWSLE(ctypes.Structure):
pass
MMWSLE = _MMWSLE
PMMWSLE = POINTER(_MMWSLE)
class _MMWSL(ctypes.Structure):
pass
MMWSL = _MMWSL
PMMWSL = POINTER(_MMWSL)
class _MMSUPPORT(ctypes.Structure):
pass
MMSUPPORT = _MMSUPPORT
PMMSUPPORT = POINTER(_MMSUPPORT)
class _EPROCESS_QUOTA_BLOCK(ctypes.Structure):
pass
EPROCESS_QUOTA_BLOCK = _EPROCESS_QUOTA_BLOCK
PEPROCESS_QUOTA_BLOCK = POINTER(_EPROCESS_QUOTA_BLOCK)
class _PAGEFAULT_HISTORY(ctypes.Structure):
pass
PAGEFAULT_HISTORY = _PAGEFAULT_HISTORY
PPAGEFAULT_HISTORY = POINTER(_PAGEFAULT_HISTORY)
class _EPROCESS(ctypes.Structure):
pass
EPROCESS = _EPROCESS
PEPROCESS = POINTER(_EPROCESS)
class _SECTION_OBJECT_POINTERS(ctypes.Structure):
pass
SECTION_OBJECT_POINTERS = _SECTION_OBJECT_POINTERS
PSECTION_OBJECT_POINTERS = POINTER(_SECTION_OBJECT_POINTERS)
class _IO_COMPLETION_CONTEXT(ctypes.Structure):
pass
IO_COMPLETION_CONTEXT = _IO_COMPLETION_CONTEXT
PIO_COMPLETION_CONTEXT = POINTER(_IO_COMPLETION_CONTEXT)
class _FILE_OBJECT(ctypes.Structure):
pass
FILE_OBJECT = _FILE_OBJECT
PFILE_OBJECT = POINTER(_FILE_OBJECT)
class _KINTERRUPT_MODE(ENUM):
LevelSensitive = 0
Latched = 1
KINTERRUPT_MODE = _KINTERRUPT_MODE
class _KINTERRUPT_POLARITY(ENUM):
InterruptPolarityUnknown = 0
InterruptActiveHigh = 1
InterruptActiveLow = 2
KINTERRUPT_POLARITY = _KINTERRUPT_POLARITY
class _DEVICE_POWER_STATE(ENUM):
PowerDeviceUnspecified = 0
PowerDeviceD0 = 1
PowerDeviceD1 = 2
PowerDeviceD2 = 3
PowerDeviceD3 = 4
PowerDeviceMaximum = 5
DEVICE_POWER_STATE = _DEVICE_POWER_STATE
class _EXCEPTION_DISPOSITION(ENUM):
ExceptionContinueExecution = 0
ExceptionContinueSearch = 1
ExceptionNestedException = 2
ExceptionCollidedUnwind = 3
EXCEPTION_DISPOSITION = _EXCEPTION_DISPOSITION
PEXCEPTION_DISPOSITION = POINTER(_EXCEPTION_DISPOSITION)
class _POOL_TYPE(ENUM):
NonPagedPool = 0
PagedPool = 1
NonPagedPoolMustSucceed = 2
DontUseThisType = 3
NonPagedPoolCacheAligned = 4
PagedPoolCacheAligned = 5
NonPagedPoolCacheAlignedMustS = 6
MaxPoolType = 7
NonPagedPoolSession = 32
PagedPoolSession = 33
NonPagedPoolMustSucceedSession = 34
DontUseThisTypeSession = 35
NonPagedPoolCacheAlignedSession = 36
PagedPoolCacheAlignedSession = 37
NonPagedPoolCacheAlignedMustSSession = 38
POOL_TYPE = _POOL_TYPE
class _PROCESSOR_CACHE_TYPE(ENUM):
CacheUnified = 0
CacheInstruction = 1
CacheData = 2
CacheTrace = 3
PROCESSOR_CACHE_TYPE = _PROCESSOR_CACHE_TYPE
class _SECURITY_IMPERSONATION_LEVEL(ENUM):
SecurityAnonymous = 0
SecurityIdentification = 1
SecurityImpersonation = 2
SecurityDelegation = 3
SECURITY_IMPERSONATION_LEVEL = _SECURITY_IMPERSONATION_LEVEL
_KDPC._fields_ = [
('Type', UCHAR),
('Importance', UCHAR),
('Number', WORD),
('DpcListEntry', LIST_ENTRY),
('DeferredRoutine', PVOID),
('DeferredContext', PVOID),
('SystemArgument1', PVOID),
('SystemArgument2', PVOID),
('DpcData', PVOID),
]
_KEVENT._fields_ = [
('Header', DISPATCHER_HEADER),
]
_POWER_CHANNEL_SUMMARY._fields_ = [
('Signature', ULONG),
('TotalCount', ULONG),
('D0Count', ULONG),
('NotifyList', LIST_ENTRY),
]
_DEVICE_OBJECT_POWER_EXTENSION._fields_ = [
('IdleCount', LONG),
('ConservationIdleTime', ULONG),
('PerformanceIdleTime', ULONG),
('DeviceObject', PDEVICE_OBJECT),