-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathioapiset.py
More file actions
58 lines (37 loc) · 2.37 KB
/
Copy pathioapiset.py
File metadata and controls
58 lines (37 loc) · 2.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
"""
*********************************************************************************
* *
* ioapiset.h -- ApiSet Contract for api-ms-win-core-io-l1 *
* *
* Copyright (c) Microsoft Corporation. All rights reserved. *
* *
*********************************************************************************
"""
from . import cpreproc
from .basetsd import *
from .winnt import ULONG_PTR, PULONG_PTR
from .winbase import LPOVERLAPPED, LPOVERLAPPED_ENTRY
from .defbase import *
if cpreproc.pragma_once("_IO_APISET_H_"):
kernel32 = W_WinDLL("kernel32.dll")
# REGION *** Application Family or OneCore Family or Games Family ***
CreateIoCompletionPort = declare(kernel32.CreateIoCompletionPort, HANDLE, HANDLE, HANDLE, ULONG_PTR, DWORD)
GetQueuedCompletionStatus = declare(kernel32.GetQueuedCompletionStatus, BOOL, HANDLE, LPDWORD, PULONG_PTR, POINTER(LPOVERLAPPED), DWORD)
GetQueuedCompletionStatusEx = declare(kernel32.GetQueuedCompletionStatusEx, BOOL, HANDLE, LPOVERLAPPED_ENTRY, ULONG, PULONG, DWORD, BOOL)
PostQueuedCompletionStatus = declare(kernel32.PostQueuedCompletionStatus, BOOL, HANDLE, DWORD, ULONG_PTR, LPOVERLAPPED)
# REGION ***
# REGION *** Desktop Family or OneCore Family or Application Family or Games Family ***
DeviceIoControl = declare(kernel32.DeviceIoControl, BOOL, HANDLE, DWORD, LPVOID, DWORD, LPVOID, DWORD, LPDWORD, LPOVERLAPPED)
# REGION ***
# REGION *** Application Family or OneCore Family or Games Family ***
GetOverlappedResult = declare(kernel32.GetOverlappedResult, BOOL, HANDLE, LPOVERLAPPED, LPDWORD, BOOL)
CancelIoEx = declare(kernel32.CancelIoEx, BOOL, HANDLE, LPOVERLAPPED)
# REGION ***
# REGION *** Application Family or OneCore Family or Games Family ***
CancelIo = declare(kernel32.CancelIo, BOOL, HANDLE)
GetOverlappedResultEx = declare(kernel32.GetOverlappedResultEx, BOOL, HANDLE, LPOVERLAPPED, LPDWORD, DWORD, BOOL)
# REGION ***
# REGION *** Desktop Family or OneCore Family or Games Family ***
CancelSynchronousIo = declare(kernel32.CancelSynchronousIo, BOOL, HANDLE)
# REGION ***
# _IO_APISET_H_