Home | History | Annotate | Download | only in include
      1 /**
      2  * This file is part of the mingw-w64 runtime package.
      3  * No warranty is given; refer to the file DISCLAIMER within this package.
      4  */
      5 
      6 #ifndef _WS2DEF_
      7 #define _WS2DEF_
      8 
      9 #include <_mingw.h>
     10 #include <winapifamily.h>
     11 
     12 #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
     13 
     14 /* FIXME FIXME FIXME FIXME FIXME: Much more data need moving here.
     15  * This holds only SCOPE_LEVEL and SCOPE_ID so that compilations
     16  * do not fail.
     17  */
     18 
     19 typedef enum _SCOPE_LEVEL {
     20   ScopeLevelInterface = 1,
     21   ScopeLevelLink      = 2,
     22   ScopeLevelSubnet    = 3,
     23   ScopeLevelAdmin     = 4,
     24   ScopeLevelSite      = 5,
     25   ScopeLevelOrganization = 8,
     26   ScopeLevelGlobal   = 14,
     27   ScopeLevelCount    = 16
     28 } SCOPE_LEVEL;
     29 
     30 typedef struct _SCOPE_ID {
     31   __C89_NAMELESS union {
     32     __C89_NAMELESS struct {
     33 	ULONG	Zone : 28;
     34 	ULONG	Level : 4;
     35     };
     36     ULONG Value;
     37   };
     38 } SCOPE_ID, *PSCOPE_ID;
     39 
     40 #endif /* WINAPI_PARTITION_DESKTOP.  */
     41 
     42 #endif /* _WS2DEF_ */
     43 
     44