[1/2] iphlpapi: Add GetUnicastIpAddressEntry implementation (try 4)

Alexandre Julliard julliard at winehq.org
Thu Feb 9 04:29:10 CST 2017


André Hentschel <nerv at dawncrow.de> writes:

> @@ -78,6 +80,17 @@ typedef enum {
>      ScopeLevelGlobal       = 14
>  } SCOPE_LEVEL;
>  
> +typedef struct
> +{
> +    union {
> +        struct {
> +            ULONG Zone  : 28;
> +            ULONG Level : 4;
> +        };
> +        ULONG Value;
> +    };
> +} SCOPE_ID, *PSCOPE_ID;

Anonymous unions and structs are not portable, please check how this is
handled in other places.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list