windows: Use WINAPI call convention for Windows API callbacks
For x86_64 it does not actually matter, but for i686 builds the call convention is different with WINAPI.
This commit is contained in:
1 parent
bd19e27ae3
commit
cab59c73fc
8 files changed
+28
-23
No files matched your search
@@ -75,14 +75,14 @@ struct private_socket_win_socket_t {
|
||||
/**
|
||||
* WSASendMsg function
|
||||
*/
|
||||
int (*WSASendMsg)(SOCKET, LPWSAMSG, DWORD, LPDWORD,
|
||||
LPWSAOVERLAPPED, LPWSAOVERLAPPED_COMPLETION_ROUTINE);
|
||||
int WINAPI (*WSASendMsg)(SOCKET, LPWSAMSG, DWORD, LPDWORD,
|
||||
LPWSAOVERLAPPED, LPWSAOVERLAPPED_COMPLETION_ROUTINE);
|
||||
|
||||
/**
|
||||
* WSARecvMsg function
|
||||
*/
|
||||
int (*WSARecvMsg)(SOCKET, LPWSAMSG, LPDWORD,
|
||||
LPWSAOVERLAPPED, LPWSAOVERLAPPED_COMPLETION_ROUTINE);
|
||||
int WINAPI (*WSARecvMsg)(SOCKET, LPWSAMSG, LPDWORD,
|
||||
LPWSAOVERLAPPED, LPWSAOVERLAPPED_COMPLETION_ROUTINE);
|
||||
};
|
||||
|
||||
METHOD(socket_t, receiver, status_t,
|
||||
|
||||
Reference in new issue
Block a user