Removed temp/debug ctypes structure in ctypes_generation

This commit is contained in:
clement rouault
2021-06-23 11:51:12 +02:00
parent fb9ff96a11
commit 5a07f6a444
4 changed files with 230 additions and 33 deletions
@@ -54,18 +54,3 @@ typedef struct _SYSTEM_BASIC_INFORMATION {
PVOID Reserved2[4];
CHAR NumberOfProcessors;
} SYSTEM_BASIC_INFORMATION, *PSYSTEM_BASIC_INFORMATION;
typedef struct _SYSTEM_PROCESS_INFORMATION_ORIG {
ULONG NextEntryOffset;
BYTE Reserved1[52];
PVOID Reserved2[3];
HANDLE UniqueProcessId;
PVOID Reserved3;
ULONG HandleCount;
BYTE Reserved4[4];
PVOID Reserved5[11];
SIZE_T PeakPagefileUsage;
SIZE_T PrivatePageCount;
LARGE_INTEGER Reserved6[6];
} SYSTEM_PROCESS_INFORMATION_ORIG, *PSYSTEM_PROCESS_INFORMATION_ORIG;
+229
View File
@@ -14383,6 +14383,235 @@ _tagSTACKFRAME_EX
:class:`DWORD`
_SYSTEM_PROCESS_INFORMATION
'''''''''''''''''''''''''''
.. class:: SYSTEM_PROCESS_INFORMATION
Alias for :class:`_SYSTEM_PROCESS_INFORMATION`
.. class:: PSYSTEM_PROCESS_INFORMATION
Pointer to :class:`_SYSTEM_PROCESS_INFORMATION`
.. class:: _SYSTEM_PROCESS_INFORMATION
.. attribute:: NextEntryOffset
:class:`ULONG`
.. attribute:: NumberOfThreads
:class:`ULONG`
.. attribute:: Reserved1
:class:`BYTE` ``[24]``
.. attribute:: CreateTime
:class:`LARGE_INTEGER`
.. attribute:: UserTime
:class:`LARGE_INTEGER`
.. attribute:: KernelTime
:class:`LARGE_INTEGER`
.. attribute:: ImageName
:class:`UNICODE_STRING`
.. attribute:: BasePriority
:class:`LONG`
.. attribute:: UniqueProcessId
:class:`HANDLE`
.. attribute:: InheritedFromUniqueProcessId
:class:`PVOID`
.. attribute:: HandleCount
:class:`ULONG`
.. attribute:: Reserved4
:class:`BYTE` ``[4]``
.. attribute:: Reserved5
:class:`PVOID`
.. attribute:: PeakVirtualSize
:class:`PVOID`
.. attribute:: VirtualSize
:class:`PVOID`
.. attribute:: PageFaultCount
:class:`PVOID`
.. attribute:: PeakWorkingSetSize
:class:`PVOID`
.. attribute:: WorkingSetSize
:class:`PVOID`
.. attribute:: QuotaPeakPagedPoolUsage
:class:`PVOID`
.. attribute:: QuotaPagedPoolUsage
:class:`PVOID`
.. attribute:: QuotaPeakNonPagedPoolUsage
:class:`PVOID`
.. attribute:: QuotaNonPagedPoolUsage
:class:`PVOID`
.. attribute:: PagefileUsage
:class:`PVOID`
.. attribute:: PeakPagefileUsage
:class:`SIZE_T`
.. attribute:: PrivatePageCount
:class:`SIZE_T`
.. attribute:: Reserved6
:class:`LARGE_INTEGER` ``[6]``
_SYSTEM_PROCESSOR_PERFORMANCE_INFORMATION
'''''''''''''''''''''''''''''''''''''''''
.. class:: SYSTEM_PROCESSOR_PERFORMANCE_INFORMATION
Alias for :class:`_SYSTEM_PROCESSOR_PERFORMANCE_INFORMATION`
.. class:: PSYSTEM_PROCESSOR_PERFORMANCE_INFORMATION
Pointer to :class:`_SYSTEM_PROCESSOR_PERFORMANCE_INFORMATION`
.. class:: _SYSTEM_PROCESSOR_PERFORMANCE_INFORMATION
.. attribute:: IdleTime
:class:`LARGE_INTEGER`
.. attribute:: KernelTime
:class:`LARGE_INTEGER`
.. attribute:: UserTime
:class:`LARGE_INTEGER`
.. attribute:: Reserved1
:class:`LARGE_INTEGER` ``[2]``
.. attribute:: Reserved2
:class:`ULONG`
_SYSTEM_REGISTRY_QUOTA_INFORMATION
''''''''''''''''''''''''''''''''''
.. class:: SYSTEM_REGISTRY_QUOTA_INFORMATION
Alias for :class:`_SYSTEM_REGISTRY_QUOTA_INFORMATION`
.. class:: PSYSTEM_REGISTRY_QUOTA_INFORMATION
Pointer to :class:`_SYSTEM_REGISTRY_QUOTA_INFORMATION`
.. class:: _SYSTEM_REGISTRY_QUOTA_INFORMATION
.. attribute:: RegistryQuotaAllowed
:class:`ULONG`
.. attribute:: RegistryQuotaUsed
:class:`ULONG`
.. attribute:: Reserved1
:class:`PVOID`
_SYSTEM_BASIC_INFORMATION
'''''''''''''''''''''''''
.. class:: PSYSTEM_BASIC_INFORMATION
Pointer to :class:`_SYSTEM_BASIC_INFORMATION`
.. class:: SYSTEM_BASIC_INFORMATION
Alias for :class:`_SYSTEM_BASIC_INFORMATION`
.. class:: _SYSTEM_BASIC_INFORMATION
.. attribute:: Reserved1
:class:`BYTE` ``[24]``
.. attribute:: Reserved2
:class:`PVOID` ``[4]``
.. attribute:: NumberOfProcessors
:class:`CHAR`
_TIME_ZONE_INFORMATION
''''''''''''''''''''''
.. class:: LPTIME_ZONE_INFORMATION
File diff suppressed because one or more lines are too long
-17
View File
@@ -9392,23 +9392,6 @@ class _SYSTEM_BASIC_INFORMATION(Structure):
PSYSTEM_BASIC_INFORMATION = POINTER(_SYSTEM_BASIC_INFORMATION)
SYSTEM_BASIC_INFORMATION = _SYSTEM_BASIC_INFORMATION
class _SYSTEM_PROCESS_INFORMATION_ORIG(Structure):
_fields_ = [
("NextEntryOffset", ULONG),
("Reserved1", BYTE * (52)),
("Reserved2", PVOID * (3)),
("UniqueProcessId", HANDLE),
("Reserved3", PVOID),
("HandleCount", ULONG),
("Reserved4", BYTE * (4)),
("Reserved5", PVOID * (11)),
("PeakPagefileUsage", SIZE_T),
("PrivatePageCount", SIZE_T),
("Reserved6", LARGE_INTEGER * (6)),
]
SYSTEM_PROCESS_INFORMATION_ORIG = _SYSTEM_PROCESS_INFORMATION_ORIG
PSYSTEM_PROCESS_INFORMATION_ORIG = POINTER(_SYSTEM_PROCESS_INFORMATION_ORIG)
class _TIME_ZONE_INFORMATION(Structure):
_fields_ = [
("Bias", LONG),