fix code formatting under modules/dml

This commit is contained in:
Seunghoon Lee
2024-02-05 22:43:10 +09:00
parent ef29f1a238
commit ff2c1db1cc
19 changed files with 91 additions and 46 deletions
+6 -2
View File
@@ -1,9 +1,11 @@
from ctypes import *
from ctypes.wintypes import *
from ctypes import Union, c_double, c_longlong, Structure, POINTER
from ctypes.wintypes import HANDLE, LONG, LPCSTR, LPCWSTR, DWORD, LPWSTR
PDH_HQUERY = HANDLE
PDH_HCOUNTER = HANDLE
class PDH_FMT_COUNTERVALUE_U(Union):
_fields_ = [
("longValue", LONG),
@@ -19,6 +21,7 @@ class PDH_FMT_COUNTERVALUE_U(Union):
AnsiStringValue: LPCSTR
WideStringValue: LPCWSTR
class PDH_FMT_COUNTERVALUE(Structure):
_anonymous_ = ("u",)
_fields_ = [
@@ -30,6 +33,7 @@ class PDH_FMT_COUNTERVALUE(Structure):
u: PDH_FMT_COUNTERVALUE_U
PPDH_FMT_COUNTERVALUE = POINTER(PDH_FMT_COUNTERVALUE)
class PDH_FMT_COUNTERVALUE_ITEM_W(Structure):
_fields_ = [
("szName", LPWSTR),