Re: [PATCH 1/2] include: Add ntifs.h with Reparse point related definitions and typedefs.
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
participants (1)
-
Piotr Caban