diff options
author | cliechti <cliechti@f19166aa-fa4f-0410-85c2-fa1106f25c8a> | 2011-08-22 18:33:11 +0000 |
---|---|---|
committer | cliechti <cliechti@f19166aa-fa4f-0410-85c2-fa1106f25c8a> | 2011-08-22 18:33:11 +0000 |
commit | 128072f37ad078447d88d8ca640ca713f35b9793 (patch) | |
tree | 66fb3a9b555b61346c975445e916fe15b2066fe8 | |
parent | 6c0299a9a0820b790dc8754966c3b26644a54717 (diff) | |
download | pyserial-128072f37ad078447d88d8ca640ca713f35b9793.tar.gz |
fix HDEVINFO type
git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@429 f19166aa-fa4f-0410-85c2-fa1106f25c8a
-rw-r--r-- | serial/tools/list_ports_windows.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/serial/tools/list_ports_windows.py b/serial/tools/list_ports_windows.py index 6112704..92a9406 100644 --- a/serial/tools/list_ports_windows.py +++ b/serial/tools/list_ports_windows.py @@ -20,7 +20,7 @@ from ctypes.wintypes import HKEY from ctypes.wintypes import BYTE
NULL = 0
-HDEVINFO = ctypes.c_int
+HDEVINFO = ctypes.c_void_p
PCTSTR = ctypes.c_char_p
CHAR = ctypes.c_char
LPDWORD = PDWORD = ctypes.POINTER(DWORD)
|