Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
c0d4c66a
Commit
c0d4c66a
authored
Mar 28, 2012
by
Matteo Bruni
Committed by
Alexandre Julliard
Mar 28, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Fix some winsock definitions.
parent
7e3c7840
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
14 deletions
+15
-14
winsock2.h
include/winsock2.h
+14
-14
ws2spi.h
include/ws2spi.h
+1
-0
No files found.
include/winsock2.h
View file @
c0d4c66a
...
@@ -678,9 +678,9 @@ DWORD WINAPI WSAWaitForMultipleEvents(DWORD,const WSAEVENT*,BOOL,DWORD,BOOL);
...
@@ -678,9 +678,9 @@ DWORD WINAPI WSAWaitForMultipleEvents(DWORD,const WSAEVENT*,BOOL,DWORD,BOOL);
* "Winsock2 Prototypes" section above.
* "Winsock2 Prototypes" section above.
*/
*/
#if WS_API_TYPEDEFS
#if WS_API_TYPEDEFS
typedef
SOCKET
(
WINAPI
*
LPFN_WSAACCEPT
)(
SOCKET
,
WS
(
sockaddr
)
*
,
LPINT
,
LPCONDITIONPROC
,
DWORD_PTR
);
typedef
SOCKET
(
WINAPI
*
LPFN_WSAACCEPT
)(
SOCKET
,
struct
WS
(
sockaddr
)
*
,
LPINT
,
LPCONDITIONPROC
,
DWORD_PTR
);
typedef
INT
(
WINAPI
*
LPFN_WSAADRESSTOSTRINGA
)(
LPSOCKADDR
,
DWORD
,
LPWSAPROTOCOL_INFOA
,
LPSTR
,
LPDWORD
);
typedef
INT
(
WINAPI
*
LPFN_WSAAD
D
RESSTOSTRINGA
)(
LPSOCKADDR
,
DWORD
,
LPWSAPROTOCOL_INFOA
,
LPSTR
,
LPDWORD
);
typedef
INT
(
WINAPI
*
LPFN_WSAADRESSTOSTRINGW
)(
LPSOCKADDR
,
DWORD
,
LPWSAPROTOCOL_INFOW
,
LPWSTR
,
LPDWORD
);
typedef
INT
(
WINAPI
*
LPFN_WSAAD
D
RESSTOSTRINGW
)(
LPSOCKADDR
,
DWORD
,
LPWSAPROTOCOL_INFOW
,
LPWSTR
,
LPDWORD
);
#define LPFN_WSAADDRESSTOSTRING WINELIB_NAME_AW(LPFN_WSAADDRESSTOSTRING)
#define LPFN_WSAADDRESSTOSTRING WINELIB_NAME_AW(LPFN_WSAADDRESSTOSTRING)
typedef
BOOL
(
WINAPI
*
LPFN_WSACLOSEEVENT
)(
WSAEVENT
);
typedef
BOOL
(
WINAPI
*
LPFN_WSACLOSEEVENT
)(
WSAEVENT
);
typedef
int
(
WINAPI
*
LPFN_WSACONNECT
)(
SOCKET
,
const
struct
WS
(
sockaddr
)
*
,
int
,
LPWSABUF
,
LPWSABUF
,
LPQOS
,
LPQOS
);
typedef
int
(
WINAPI
*
LPFN_WSACONNECT
)(
SOCKET
,
const
struct
WS
(
sockaddr
)
*
,
int
,
LPWSABUF
,
LPWSABUF
,
LPQOS
,
LPQOS
);
...
@@ -688,36 +688,36 @@ typedef WSAEVENT (WINAPI *LPFN_WSACREATEEVENT)(void);
...
@@ -688,36 +688,36 @@ typedef WSAEVENT (WINAPI *LPFN_WSACREATEEVENT)(void);
typedef
INT
(
WINAPI
*
LPFN_WSADUPLICATESOCKETA
)(
SOCKET
,
DWORD
,
LPWSAPROTOCOL_INFOA
);
typedef
INT
(
WINAPI
*
LPFN_WSADUPLICATESOCKETA
)(
SOCKET
,
DWORD
,
LPWSAPROTOCOL_INFOA
);
typedef
INT
(
WINAPI
*
LPFN_WSADUPLICATESOCKETW
)(
SOCKET
,
DWORD
,
LPWSAPROTOCOL_INFOW
);
typedef
INT
(
WINAPI
*
LPFN_WSADUPLICATESOCKETW
)(
SOCKET
,
DWORD
,
LPWSAPROTOCOL_INFOW
);
#define LPFN_WSADUPLICATESOCKET WINELIB_NAME_AW(LPFN_WSADUPLICATESOCKET)
#define LPFN_WSADUPLICATESOCKET WINELIB_NAME_AW(LPFN_WSADUPLICATESOCKET)
typedef
INT
(
WINAPI
*
LPFNWSAENUMNAMESPACEPROVIDERSA
)(
LPDWORD
,
LPWSANAMESPACE_INFOA
);
typedef
INT
(
WINAPI
*
LPFN
_
WSAENUMNAMESPACEPROVIDERSA
)(
LPDWORD
,
LPWSANAMESPACE_INFOA
);
typedef
INT
(
WINAPI
*
LPFNWSAENUMNAMESPACEPROVIDERSW
)(
LPDWORD
,
LPWSANAMESPACE_INFOW
);
typedef
INT
(
WINAPI
*
LPFN
_
WSAENUMNAMESPACEPROVIDERSW
)(
LPDWORD
,
LPWSANAMESPACE_INFOW
);
#define LPFN_WSAENUMNAMESPACEPROVIDERS WINELIB_NAME_AW(LPFNWSAENUMNAMESPACEPROVIDERS)
#define LPFN_WSAENUMNAMESPACEPROVIDERS WINELIB_NAME_AW(LPFN
_
WSAENUMNAMESPACEPROVIDERS)
typedef
int
(
WINAPI
*
LPFN_WSAENUMNETWORKEVENT
)(
SOCKET
,
WSAEVENT
,
LPWSANETWORKEVENTS
);
typedef
int
(
WINAPI
*
LPFN_WSAENUMNETWORKEVENT
S
)(
SOCKET
,
WSAEVENT
,
LPWSANETWORKEVENTS
);
typedef
int
(
WINAPI
*
LPFN_WSAENUMPROTOCOLSA
)(
LPINT
,
LPWSAPROTOCOL_INFOA
,
LPDWORD
);
typedef
int
(
WINAPI
*
LPFN_WSAENUMPROTOCOLSA
)(
LPINT
,
LPWSAPROTOCOL_INFOA
,
LPDWORD
);
typedef
int
(
WINAPI
*
LPFN_WSAENUMPROTOCOLSW
)(
LPINT
,
LPWSAPROTOCOL_INFOW
,
LPDWORD
);
typedef
int
(
WINAPI
*
LPFN_WSAENUMPROTOCOLSW
)(
LPINT
,
LPWSAPROTOCOL_INFOW
,
LPDWORD
);
#define LPFN_WSAENUMPROTOCOLS WINELIB_NAME_AW(LPFN_WSAENUMPROTOCOLS)
#define LPFN_WSAENUMPROTOCOLS WINELIB_NAME_AW(LPFN_WSAENUMPROTOCOLS)
typedef
int
(
WINAPI
*
LPFN_WSAEVENTSELECT
)(
SOCKET
,
WSAEVENT
,
LONG
);
typedef
int
(
WINAPI
*
LPFN_WSAEVENTSELECT
)(
SOCKET
,
WSAEVENT
,
LONG
);
typedef
BOOL
(
WINAPI
*
LPFN_WSAGETOVERLAPPEDRESULT
)(
SOCKET
,
LPWSAOVERLAPPED
,
LPDWORD
,
BOOL
,
LPDWORD
);
typedef
BOOL
(
WINAPI
*
LPFN_WSAGETOVERLAPPEDRESULT
)(
SOCKET
,
LPWSAOVERLAPPED
,
LPDWORD
,
BOOL
,
LPDWORD
);
typedef
BOOL
(
WINAPI
*
LPFNWSAGETQOSBYNAME
)(
SOCKET
,
LPWSABUF
,
LPQOS
);
typedef
BOOL
(
WINAPI
*
LPFN
_
WSAGETQOSBYNAME
)(
SOCKET
,
LPWSABUF
,
LPQOS
);
typedef
INT
(
WINAPI
*
LPFNWSAGETSERVICECLASSINFOA
)(
LPGUID
,
LPGUID
,
LPDWORD
,
LPWSASERVICECLASSINFOA
);
typedef
INT
(
WINAPI
*
LPFN
_
WSAGETSERVICECLASSINFOA
)(
LPGUID
,
LPGUID
,
LPDWORD
,
LPWSASERVICECLASSINFOA
);
typedef
INT
(
WINAPI
*
LPFNWSAGETSERVICECLASSINFOW
)(
LPGUID
,
LPGUID
,
LPDWORD
,
LPWSASERVICECLASSINFOW
);
typedef
INT
(
WINAPI
*
LPFN
_
WSAGETSERVICECLASSINFOW
)(
LPGUID
,
LPGUID
,
LPDWORD
,
LPWSASERVICECLASSINFOW
);
#define LPFN_LPFNWSAGETSERVICECLASSINFO WINELIB_NAME_AW(LPFN_LPFNWSAGETSERVICECLASSINFO)
#define LPFN_LPFNWSAGETSERVICECLASSINFO WINELIB_NAME_AW(LPFN_LPFNWSAGETSERVICECLASSINFO)
typedef
INT
(
WINAPI
*
LPFN_WSAGETSERVICECLASSNAMEBYCLASSIDA
)(
LPGUID
,
LPSTR
,
LPDWORD
);
typedef
INT
(
WINAPI
*
LPFN_WSAGETSERVICECLASSNAMEBYCLASSIDA
)(
LPGUID
,
LPSTR
,
LPDWORD
);
typedef
INT
(
WINAPI
*
LPFN_WSAGETSERVICECLASSNAMEBYCLASSIDW
)(
LPGUID
,
LPWSTR
,
LPDWORD
);
typedef
INT
(
WINAPI
*
LPFN_WSAGETSERVICECLASSNAMEBYCLASSIDW
)(
LPGUID
,
LPWSTR
,
LPDWORD
);
#define LPFN_WSAGETSERVICECLASSNAMEBYCLASSID WINELIB_NAME_AW(LPFN_WSAGETSERVICECLASSNAMEBYCLASSID)
#define LPFN_WSAGETSERVICECLASSNAMEBYCLASSID WINELIB_NAME_AW(LPFN_WSAGETSERVICECLASSNAMEBYCLASSID)
typedef
int
(
WINAPI
*
LPFN_WSAHTONL
)(
SOCKET
,
ULONG
,
ULONG
*
);
typedef
int
(
WINAPI
*
LPFN_WSAHTONL
)(
SOCKET
,
ULONG
,
ULONG
*
);
typedef
int
(
WINAPI
*
LPFN_WSAHTONS
)(
SOCKET
,
WS
(
u_short
),
WS
(
u_short
)
*
);
typedef
int
(
WINAPI
*
LPFN_WSAHTONS
)(
SOCKET
,
WS
(
u_short
),
WS
(
u_short
)
*
);
typedef
int
(
WINAPI
LPFN_WSAINSTALLSERVICECLASSA
)(
LPWSASERVICECLASSINFOA
);
typedef
int
(
WINAPI
*
LPFN_WSAINSTALLSERVICECLASSA
)(
LPWSASERVICECLASSINFOA
);
typedef
int
(
WINAPI
LPFN_WSAINSTALLSERVICECLASSW
)(
LPWSASERVICECLASSINFOW
);
typedef
int
(
WINAPI
*
LPFN_WSAINSTALLSERVICECLASSW
)(
LPWSASERVICECLASSINFOW
);
typedef
int
(
WINAPI
*
LPFN_WSAIOCTL
)(
SOCKET
,
DWORD
,
LPVOID
,
DWORD
,
LPVOID
,
DWORD
,
LPDWORD
,
LPWSAOVERLAPPED
,
LPWSAOVERLAPPED_COMPLETION_ROUTINE
);
typedef
int
(
WINAPI
*
LPFN_WSAIOCTL
)(
SOCKET
,
DWORD
,
LPVOID
,
DWORD
,
LPVOID
,
DWORD
,
LPDWORD
,
LPWSAOVERLAPPED
,
LPWSAOVERLAPPED_COMPLETION_ROUTINE
);
typedef
int
(
WINAPI
*
LPFN_WSAJOINLEAF
)(
SOCKET
,
const
struct
WS
(
sockaddr
)
*
,
int
,
LPWSABUF
,
LPWSABUF
,
LPQOS
,
LPQOS
,
DWORD
);
typedef
int
(
WINAPI
*
LPFN_WSAJOINLEAF
)(
SOCKET
,
const
struct
WS
(
sockaddr
)
*
,
int
,
LPWSABUF
,
LPWSABUF
,
LPQOS
,
LPQOS
,
DWORD
);
typedef
INT
(
WINAPI
*
LPFN_WSALOOKUPSERVICEBEGINA
)(
LPWSAQUERYSETA
,
DWORD
,
LPHANDLE
);
typedef
INT
(
WINAPI
*
LPFN_WSALOOKUPSERVICEBEGINA
)(
LPWSAQUERYSETA
,
DWORD
,
LPHANDLE
);
typedef
INT
(
WINAPI
*
LPFN_WSALOOKUPSERVICEBEGINW
)(
LPWSAQUERYSETW
,
DWORD
,
LPHANDLE
);
typedef
INT
(
WINAPI
*
LPFN_WSALOOKUPSERVICEBEGINW
)(
LPWSAQUERYSETW
,
DWORD
,
LPHANDLE
);
#define LPFN_WSALOOKUPSERVICEBEGIN WINELIB_NAME_AW(LPFN_WSALOOKUPSERVICEBEGIN);
#define LPFN_WSALOOKUPSERVICEBEGIN WINELIB_NAME_AW(LPFN_WSALOOKUPSERVICEBEGIN);
typedef
INT
(
WINAPI
*
LPFN_WSALOOKUPSERVICEEND
(
HANDLE
);
typedef
INT
(
WINAPI
*
LPFN_WSALOOKUPSERVICEEND
)
(
HANDLE
);
typedef
INT
(
WINAPI
*
LPFN_WSALOOKUPSERVICENEXTA
)(
HANDLE
,
DWORD
,
LPDWORD
,
LPWSAQUERYSETA
);
typedef
INT
(
WINAPI
*
LPFN_WSALOOKUPSERVICENEXTA
)(
HANDLE
,
DWORD
,
LPDWORD
,
LPWSAQUERYSETA
);
typedef
INT
(
WINAPI
*
LPFN_WSALOOKUPSERVICENEXTW
)(
HANDLE
,
DWORD
,
LPDWORD
,
LPWSAQUERYSETW
);
typedef
INT
(
WINAPI
*
LPFN_WSALOOKUPSERVICENEXTW
)(
HANDLE
,
DWORD
,
LPDWORD
,
LPWSAQUERYSETW
);
#define LPFN_WSALOOKUPSERVICENEXT WINELIB_NAME_AW(LPFN_WSALOOKUPSERVICENEXT)
#define LPFN_WSALOOKUPSERVICENEXT WINELIB_NAME_AW(LPFN_WSALOOKUPSERVICENEXT)
typedef
int
(
WINAPI
*
LPFN_WSANSPI
octl
)(
HANDLE
,
DWORD
,
LPVOID
,
DWORD
,
LPVOID
,
DWORD
,
LPDWORD
,
LPWSACOMPLETION
);
typedef
int
(
WINAPI
*
LPFN_WSANSPI
OCTL
)(
HANDLE
,
DWORD
,
LPVOID
,
DWORD
,
LPVOID
,
DWORD
,
LPDWORD
,
LPWSACOMPLETION
);
typedef
int
(
WINAPI
*
LPFN_WSANTOHL
)(
SOCKET
,
ULONG
,
ULONG
*
);
typedef
int
(
WINAPI
*
LPFN_WSANTOHL
)(
SOCKET
,
ULONG
,
ULONG
*
);
typedef
int
(
WINAPI
*
LPFN_WSANTOHS
)(
SOCKET
,
WS
(
u_short
),
WS
(
u_short
)
*
);
typedef
int
(
WINAPI
*
LPFN_WSANTOHS
)(
SOCKET
,
WS
(
u_short
),
WS
(
u_short
)
*
);
typedef
INT
(
WINAPI
*
LPFN_WSAPROVIDERCONFIGCHANGE
)(
LPHANDLE
,
LPWSAOVERLAPPED
,
LPWSAOVERLAPPED_COMPLETION_ROUTINE
);
typedef
INT
(
WINAPI
*
LPFN_WSAPROVIDERCONFIGCHANGE
)(
LPHANDLE
,
LPWSAOVERLAPPED
,
LPWSAOVERLAPPED_COMPLETION_ROUTINE
);
...
...
include/ws2spi.h
View file @
c0d4c66a
...
@@ -42,6 +42,7 @@ INT WINAPI WSCEnumProtocols(LPINT,LPWSAPROTOCOL_INFOW,LPDWORD,LPINT);
...
@@ -42,6 +42,7 @@ INT WINAPI WSCEnumProtocols(LPINT,LPWSAPROTOCOL_INFOW,LPDWORD,LPINT);
INT
WINAPI
WSCGetProviderPath
(
LPGUID
,
LPWSTR
,
LPINT
,
LPINT
);
INT
WINAPI
WSCGetProviderPath
(
LPGUID
,
LPWSTR
,
LPINT
,
LPINT
);
INT
WINAPI
WSCInstallNameSpace
(
LPWSTR
,
LPWSTR
,
DWORD
,
DWORD
,
LPGUID
);
INT
WINAPI
WSCInstallNameSpace
(
LPWSTR
,
LPWSTR
,
DWORD
,
DWORD
,
LPGUID
);
INT
WINAPI
WSCUnInstallNameSpace
(
LPGUID
);
INT
WINAPI
WSCUnInstallNameSpace
(
LPGUID
);
INT
WINAPI
WSCUpdateProvider
(
LPGUID
,
const
WCHAR
*
,
const
LPWSAPROTOCOL_INFOW
,
DWORD
,
LPINT
);
INT
WINAPI
WSCWriteProviderOrder
(
LPDWORD
,
DWORD
);
INT
WINAPI
WSCWriteProviderOrder
(
LPDWORD
,
DWORD
);
#ifdef __cplusplus
#ifdef __cplusplus
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment