Synchronize with trunk's revision r57599.
[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 #ifndef __UPCALL_H
8 #define __UPCALL_H
9
10 BOOL
11 WSPAPI
12 WPUCloseEvent(
13 IN WSAEVENT hEvent,
14 OUT LPINT lpErrno);
15
16 INT
17 WSPAPI
18 WPUCloseSocketHandle(
19 IN SOCKET s,
20 OUT LPINT lpErrno);
21
22 INT
23 WSPAPI
24 WPUCloseThread(
25 IN LPWSATHREADID lpThreadId,
26 OUT LPINT lpErrno);
27
28 WSAEVENT
29 WSPAPI
30 WPUCreateEvent(
31 OUT LPINT lpErrno);
32
33 SOCKET
34 WSPAPI
35 WPUCreateSocketHandle(
36 IN DWORD dwCatalogEntryId,
37 IN DWORD_PTR dwContext,
38 OUT LPINT lpErrno);
39
40 int
41 WSPAPI
42 WPUFDIsSet(
43 IN SOCKET s,
44 IN LPFD_SET set);
45
46 INT
47 WSPAPI
48 WPUGetProviderPath(
49 IN LPGUID lpProviderId,
50 OUT LPWSTR lpszProviderDllPath,
51 IN OUT LPINT lpProviderDllPathLen,
52 OUT LPINT lpErrno);
53
54 SOCKET
55 WSPAPI
56 WPUModifyIFSHandle(
57 IN DWORD dwCatalogEntryId,
58 IN SOCKET ProposedHandle,
59 OUT LPINT lpErrno);
60
61 INT
62 WSPAPI
63 WPUOpenCurrentThread(
64 OUT LPWSATHREADID lpThreadId,
65 OUT LPINT lpErrno);
66
67 INT
68 WSPAPI
69 WPUQueryBlockingCallback(
70 IN DWORD dwCatalogEntryId,
71 OUT LPBLOCKINGCALLBACK FAR* lplpfnCallback,
72 OUT PDWORD_PTR lpdwContext,
73 OUT LPINT lpErrno);
74
75 INT
76 WSPAPI
77 WPUQuerySocketHandleContext(
78 IN SOCKET s,
79 OUT PDWORD_PTR lpContext,
80 OUT LPINT lpErrno);
81
82 INT
83 WSPAPI
84 WPUQueueApc(
85 IN LPWSATHREADID lpThreadId,
86 IN LPWSAUSERAPC lpfnUserApc,
87 IN DWORD_PTR dwContext,
88 OUT LPINT lpErrno);
89
90 BOOL
91 WSPAPI
92 WPUResetEvent(
93 IN WSAEVENT hEvent,
94 OUT LPINT lpErrno);
95
96 BOOL
97 WSPAPI
98 WPUSetEvent(
99 IN WSAEVENT hEvent,
100 OUT LPINT lpErrno);
101
102 #endif /* __UPCALL_H */
103
104 /* EOF */