[PATCH 1/3] include: add bthsdpdef.h

Nikolay Sivov bunglehead at gmail.com
Fri Dec 4 17:30:50 CST 2015


> +struct SDP_LARGE_INTEGER_16 {
> +    ULONGLONG LowPart;
> +    LONGLONG HighPart;
> +};
> +
> +struct SDP_ULARGE_INTEGER_16 {
> +    ULONGLONG LowPart;
> +    ULONGLONG HighPart;
> +};
> +
> +typedef struct SDP_LARGE_INTEGER_16  SDP_LARGE_INTEGER_16,  *PSDP_LARGE_INTEGER_16,  *LPSDP_LARGE_INTEGER_16;
> +typedef struct SDP_ULARGE_INTEGER_16 SDP_ULARGE_INTEGER_16, *PSDP_ULARGE_INTEGER_16, *LPSDP_ULARGE_INTEGER_16;

> +enum SDP_TYPE {
> +    SDP_TYPE_NIL =  0x00,

This directly matches SDK style, including formatting nuances.

> +typedef
> +#ifdef USE_MIDL_SYNTAX
> +      [switch_type(unsigned short)]
> +#endif

You sure we need this MIDL specific thing? To me it looks like it was 
copied over for no reason.



More information about the wine-devel mailing list