Esempio n. 1
0
        private static Int32 ResolveReparsePoints(
            IntPtr FileSystemPtr,
            String FileName,
            UInt32 ReparsePointIndex,
            Boolean ResolveLastPathComponent,
            out IoStatusBlock PIoStatus,
            IntPtr Buffer,
            IntPtr PSize)
        {
            FileSystemBase FileSystem = (FileSystemBase)Api.GetUserContext(FileSystemPtr);

            try
            {
                return(FileSystem.ResolveReparsePoints(
                           FileName,
                           ReparsePointIndex,
                           ResolveLastPathComponent,
                           out PIoStatus,
                           Buffer,
                           PSize));
            }
            catch (Exception ex)
            {
                PIoStatus = default(IoStatusBlock);
                return(ExceptionHandler(FileSystem, ex));
            }
        }