summaryrefslogtreecommitdiffstats
path: root/platform_utils_win32.py
diff options
context:
space:
mode:
Diffstat (limited to 'platform_utils_win32.py')
-rw-r--r--platform_utils_win32.py24
1 files changed, 20 insertions, 4 deletions
diff --git a/platform_utils_win32.py b/platform_utils_win32.py
index e9b15f46..80a52639 100644
--- a/platform_utils_win32.py
+++ b/platform_utils_win32.py
@@ -12,12 +12,28 @@
12# See the License for the specific language governing permissions and 12# See the License for the specific language governing permissions and
13# limitations under the License. 13# limitations under the License.
14 14
15from ctypes import addressof
16from ctypes import byref
17from ctypes import c_buffer
18from ctypes import c_ubyte
19from ctypes import FormatError
20from ctypes import get_last_error
21from ctypes import Structure
22from ctypes import Union
23from ctypes import WinDLL
24from ctypes import WinError
25from ctypes.wintypes import BOOL
26from ctypes.wintypes import BOOLEAN
27from ctypes.wintypes import DWORD
28from ctypes.wintypes import HANDLE
29from ctypes.wintypes import LPCWSTR
30from ctypes.wintypes import LPDWORD
31from ctypes.wintypes import LPVOID
32from ctypes.wintypes import ULONG
33from ctypes.wintypes import USHORT
34from ctypes.wintypes import WCHAR
15import errno 35import errno
16 36
17from ctypes import WinDLL, get_last_error, FormatError, WinError, addressof
18from ctypes import c_buffer, c_ubyte, Structure, Union, byref
19from ctypes.wintypes import BOOL, BOOLEAN, LPCWSTR, DWORD, HANDLE
20from ctypes.wintypes import WCHAR, USHORT, LPVOID, ULONG, LPDWORD
21 37
22kernel32 = WinDLL("kernel32", use_last_error=True) 38kernel32 = WinDLL("kernel32", use_last_error=True)
23 39