Juan Lang <juan.l...@gmail.com> writes:

> +typedef struct _IAS_QUERY
> +{
> +    UCHAR  irdaDeviceID[4];
> +#ifdef USE_WS_PREFIX
> +    char   irdaClassName[WS_IAS_MAX_CLASSNAME];
> +    char   irdaAttribName[WS_IAS_MAX_ATTRIBNAME];
> +#else
> +    char   irdaClassName[IAS_MAX_CLASSNAME];
> +    char   irdaAttribName[IAS_MAX_ATTRIBNAME];
> +#endif
> +    USHORT irdaAttribType;
> +    union {
> +        int irdaAttribInt;
> +        struct {
> +            ULONG Len;
> +            UCHAR OctetSeq[IAS_MAX_OCTET_STRING];
> +        } irdaAttribOctetSeq;
> +        struct {
> +            ULONG Len;
> +            UCHAR CharSet;
> +            UCHAR UsrStr[IAS_MAX_USER_STRING];
> +        } irdaAttribUsrStr;
> +    } irdaAttribute;
> +} IAS_QUERY, *PIAS_QUERY;
> +
> +typedef struct _IAS_SET
> +{
> +#ifdef USE_WS_PREFIX
> +    char   irdaClassName[WS_IAS_MAX_CLASSNAME];
> +    char   irdaAttribName[WS_IAS_MAX_ATTRIBNAME];
> +#else
> +    char irdaClassName[IAS_MAX_CLASSNAME];
> +    char irdaAttribName[IAS_MAX_ATTRIBNAME];
> +#endif
> +    union {
> +        int irdaAttribInt;
> +        struct {
> +            ULONG Len;
> +            UCHAR OctetSeq[IAS_MAX_OCTET_STRING];
> +        } irdaAttribOctetSeq;
> +        struct {
> +            ULONG Len;
> +            UCHAR CharSet;
> +            UCHAR UsrStr[IAS_MAX_USER_STRING];
> +        } irdaAttribUsrStr;
> +    } irdaAttribute;
> +} IAS_SET, *PIAS_SET;
> +
> +#endif /* AF_IRDA_H */

These don't seem to match the PSDK headers or MSDN (which don't match
each other either...)  Which are the correct ones?

-- 
Alexandre Julliard
julli...@winehq.org


Reply via email to