fix types
This commit is contained in:
parent
1b7f0394f8
commit
53a366e526
@ -58,7 +58,7 @@ def main(in_file, out_file, dll_path=None):
|
|||||||
|
|
||||||
def open_file(dll, filename):
|
def open_file(dll, filename):
|
||||||
handle = ctypes.pointer(ctypes.c_byte())
|
handle = ctypes.pointer(ctypes.c_byte())
|
||||||
res = dll.AAXOpenFileWinW(handle, filename)
|
res = dll.AAXOpenFileWinW(byref(handle), filename)
|
||||||
|
|
||||||
if res != 0:
|
if res != 0:
|
||||||
raise Exception('AAXOpenFileWinW: {}'.format(res))
|
raise Exception('AAXOpenFileWinW: {}'.format(res))
|
||||||
|
Loading…
Reference in New Issue
Block a user