[PATCH 1/2] include: Add ntifs.h with Reparse point related definitions and typedefs.

Piotr Caban piotr.caban at gmail.com
Mon Aug 3 12:18:21 CDT 2015


On 07/29/15 20:01, YongHao Hu wrote:
> +    union
> +    {
> +        struct
> +        {
> +            USHORT SubstituteNameOffset;
> +            USHORT SubstituteNameLength;
> +            USHORT PrintNameOffset;
> +            USHORT PrintNameLength;
> +            ULONG  Flags;
> +            WCHAR  PathBuffer[1];
> +        } SymbolicLinkReparseBuffer;
> +        struct
> +        {
> +            USHORT SubstituteNameOffset;
> +            USHORT SubstituteNameLength;
> +            USHORT PrintNameOffset;
> +            USHORT PrintNameLength;
> +            WCHAR  PathBuffer[1];
> +        } MountPointReparseBuffer;
> +        struct
> +        {
> +            UCHAR DataBuffer[1];
> +        } GenericReparseBuffer;
> +    };
This will not work on some compilers (nameless unions).

Thanks,
Piotr



More information about the wine-devel mailing list