them big_tasks.md (roadmap G0-G4, danh dau G1.1-G1.5 hoan thanh) + debug scripts/probes cua phien lam viec G0.1-G1.5 (test_g13/test_g12/test_g15_stress, patch_g1x, deploy/build bridge, probe_g0x)
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
import ctypes, ctypes.wintypes as w
|
||||
k32 = ctypes.WinDLL('kernel32', use_last_error=True)
|
||||
k32.OpenFileMappingA.argtypes = [ctypes.wintypes.DWORD, w.BOOL, ctypes.c_char_p]
|
||||
k32.OpenFileMappingA.restype = ctypes.c_void_p
|
||||
cands = [
|
||||
b'SonicForge_DAW_IPC',
|
||||
b'SonicForge_DAW_IPC_22264',
|
||||
b'SonicForge_DAW_IPC_16140',
|
||||
b'SonicForge_DAW_IPC_26328',
|
||||
b'Global\\SonicForge_DAW_IPC_22264',
|
||||
b'Local\\SonicForge_DAW_IPC_22264',
|
||||
]
|
||||
for n in cands:
|
||||
h = k32.OpenFileMappingA(0xF001F, False, n)
|
||||
e = ctypes.get_last_error()
|
||||
print(n, '->', hex(h) if h else 'NULL', 'err=', e)
|
||||
if h:
|
||||
ctypes.windll.kernel32.CloseHandle(ctypes.c_void_p(h))
|
||||
Reference in New Issue
Block a user