mirror of
				https://github.com/winfsp/winfsp.git
				synced 2025-10-30 11:38:39 -05:00 
			
		
		
		
	dll: reparse point implementation: fixes
This commit is contained in:
		| @@ -40,6 +40,43 @@ | ||||
| extern "C" { | ||||
| #endif | ||||
|  | ||||
| /* | ||||
|  * The REPARSE_DATA_BUFFER definitions appear to be missing from the user mode headers. | ||||
|  */ | ||||
| #if !defined(SYMLINK_FLAG_RELATIVE) | ||||
| #define SYMLINK_FLAG_RELATIVE           1 | ||||
| typedef struct _REPARSE_DATA_BUFFER | ||||
| { | ||||
|     ULONG ReparseTag; | ||||
|     USHORT ReparseDataLength; | ||||
|     USHORT Reserved; | ||||
|     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; | ||||
|     } DUMMYUNIONNAME; | ||||
| } REPARSE_DATA_BUFFER, *PREPARSE_DATA_BUFFER; | ||||
| #endif | ||||
|  | ||||
| /** | ||||
|  * @group File System | ||||
|  * | ||||
|   | ||||
		Reference in New Issue
	
	Block a user