Sync with trunk r63192.
[reactos.git] / dll / win32 / ws2_32 / include / upcall.h
1 /*
2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS WinSock 2 DLL
4 * FILE: include/upcall.h
5 * PURPOSE: Upcall function defintions
6 */
7
8 #ifndef __UPCALL_H
9 #define __UPCALL_H
10
11 BOOL
12 WSPAPI
13 WPUCloseEvent(
14 IN WSAEVENT hEvent,
15 OUT LPINT lpErrno);
16
17 INT
18 WSPAPI
19 WPUCloseSocketHandle(
20 IN SOCKET s,
21 OUT LPINT lpErrno);
22
23 INT
24 WSPAPI
25 WPUCloseThread(
26 IN LPWSATHREADID lpThreadId,
27 OUT LPINT lpErrno);
28
29 WSAEVENT
30 WSPAPI
31 WPUCreateEvent(
32 OUT LPINT lpErrno);
33
34 SOCKET
35 WSPAPI
36 WPUCreateSocketHandle(
37 IN DWORD dwCatalogEntryId,
38 IN DWORD_PTR dwContext,
39 OUT LPINT lpErrno);
40
41 int
42 WSPAPI
43 WPUFDIsSet(
44 IN SOCKET s,
45 IN LPFD_SET set);
46
47 INT
48 WSPAPI
49 WPUGetProviderPath(
50 IN LPGUID lpProviderId,
51 OUT LPWSTR lpszProviderDllPath,
52 IN OUT LPINT lpProviderDllPathLen,
53 OUT LPINT lpErrno);
54
55 SOCKET
56 WSPAPI
57 WPUModifyIFSHandle(
58 IN DWORD dwCatalogEntryId,
59 IN SOCKET ProposedHandle,
60 OUT LPINT lpErrno);
61
62 INT
63 WSPAPI
64 WPUOpenCurrentThread(
65 OUT LPWSATHREADID lpThreadId,
66 OUT LPINT lpErrno);
67
68 INT
69 WSPAPI
70 WPUQueryBlockingCallback(
71 IN DWORD dwCatalogEntryId,
72 OUT LPBLOCKINGCALLBACK FAR* lplpfnCallback,
73 OUT PDWORD_PTR lpdwContext,
74 OUT LPINT lpErrno);
75
76 INT
77 WSPAPI
78 WPUQuerySocketHandleContext(
79 IN SOCKET s,
80 OUT PDWORD_PTR lpContext,
81 OUT LPINT lpErrno);
82
83 INT
84 WSPAPI
85 WPUQueueApc(
86 IN LPWSATHREADID lpThreadId,
87 IN LPWSAUSERAPC lpfnUserApc,
88 IN DWORD_PTR dwContext,
89 OUT LPINT lpErrno);
90
91 BOOL
92 WSPAPI
93 WPUResetEvent(
94 IN WSAEVENT hEvent,
95 OUT LPINT lpErrno);
96
97 BOOL
98 WSPAPI
99 WPUSetEvent(
100 IN WSAEVENT hEvent,
101 OUT LPINT lpErrno);
102
103 #endif /* __UPCALL_H */