...
From 16bfa423543882658ff024fbd8b496240f92934d Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath <[email protected]> Date: Tue, 22 Oct 2019 19:36:41 +0530 Subject: [PATCH] include/winsock2: add some flags
Signed-off-by: Biswapriyo Nath <[email protected]> --- mingw-w64-headers/include/winsock2.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/mingw-w64-headers/include/winsock2.h b/mingw-w64-headers/include/winsock2.h index e1321f8a..99f4c249 100644 --- a/mingw-w64-headers/include/winsock2.h +++ b/mingw-w64-headers/include/winsock2.h @@ -310,7 +310,14 @@ extern "C" { #define MSG_OOB 0x1 #define MSG_PEEK 0x2 #define MSG_DONTROUTE 0x4 + +#if(_WIN32_WINNT >= 0x0502) #define MSG_WAITALL 0x8 +#endif + +#if(_WIN32_WINNT >= 0x0603) +#define MSG_PUSH_IMMEDIATE 0x20 +#endif #define MSG_PARTIAL 0x8000 @@ -477,6 +484,7 @@ typedef unsigned int GROUP; #define PFL_RECOMMENDED_PROTO_ENTRY 0x00000002 #define PFL_HIDDEN 0x00000004 #define PFL_MATCHES_PROTOCOL_ZERO 0x00000008 +#define PFL_NETWORKDIRECT_PROVIDER 0x00000010 #define XP1_CONNECTIONLESS 0x00000001 #define XP1_GUARANTEED_DELIVERY 0x00000002 @@ -497,6 +505,7 @@ typedef unsigned int GROUP; #define XP1_UNI_RECV 0x00010000 #define XP1_IFS_HANDLES 0x00020000 #define XP1_PARTIAL_MESSAGE 0x00040000 +#define XP1_SAN_SUPPORT_SDP 0x00080000 #define BIGENDIAN 0x0000 #define LITTLEENDIAN 0x0001 @@ -512,6 +521,9 @@ typedef unsigned int GROUP; #define WSA_FLAG_MULTIPOINT_C_LEAF 0x04 #define WSA_FLAG_MULTIPOINT_D_ROOT 0x08 #define WSA_FLAG_MULTIPOINT_D_LEAF 0x10 +#define WSA_FLAG_ACCESS_SYSTEM_SECURITY 0x40 +#define WSA_FLAG_NO_HANDLE_INHERIT 0x80 +#define WSA_FLAG_REGISTERED_IO 0x100 #define IOC_UNIX 0x00000000 #define IOC_WS2 0x08000000 @@ -616,7 +628,9 @@ typedef unsigned int GROUP; #define NS_DNS (12) #define NS_NETBT (13) #define NS_WINS (14) +#if(_WIN32_WINNT >= 0x0501) #define NS_NLA (15) +#endif #if (_WIN32_WINNT >= 0x0600) #define NS_BTH (16) #endif @@ -763,17 +777,24 @@ typedef unsigned int GROUP; #define LUP_NON_AUTHORITATIVE 0x4000 #define LUP_SECURE 0x8000 #define LUP_RETURN_PREFERRED_NAMES 0x10000 +#define LUP_DNS_ONLY 0x20000 #define LUP_ADDRCONFIG 0x100000 #define LUP_DUAL_ADDR 0x200000 #define LUP_FILESERVER 0x400000 +#define LUP_DISABLE_IDN_ENCODING 0x00800000 +#define LUP_API_ANSI 0x01000000 + +#define LUP_RESOLUTION_HANDLE 0x80000000 #define LUP_RES_RESERVICE 0x8000 /* FIXME: not in PSDK anymore?? */ #define RESULT_IS_ALIAS 0x0001 +#if(_WIN32_WINNT >= 0x0501) #define RESULT_IS_ADDED 0x0010 #define RESULT_IS_CHANGED 0x0020 #define RESULT_IS_DELETED 0x0040 +#endif typedef enum _WSAESETSERVICEOP { RNRSERVICE_REGISTER = 0, -- 2.23.0
_______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
