mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2024-11-14 17:40:24 -08:00
10 lines
252 B
Python
10 lines
252 B
Python
import ctypes.wintypes
|
|
|
|
GetModuleFileName = ctypes.windll.kernel32.GetModuleFileNameW
|
|
GetModuleFileName.argtypes = (
|
|
ctypes.wintypes.HANDLE,
|
|
ctypes.wintypes.LPWSTR,
|
|
ctypes.wintypes.DWORD,
|
|
)
|
|
GetModuleFileName.restype = ctypes.wintypes.DWORD
|