private static Int32 GetStreamInfo( IntPtr FileSystemPtr, ref FullContext FullContext, IntPtr Buffer, UInt32 Length, out UInt32 PBytesTransferred) { FileSystemBase FileSystem = (FileSystemBase)Api.GetUserContext(FileSystemPtr); try { Object FileNode, FileDesc; Api.GetFullContext(ref FullContext, out FileNode, out FileDesc); return(FileSystem.GetStreamInfo( FileNode, FileDesc, Buffer, Length, out PBytesTransferred)); } catch (Exception ex) { PBytesTransferred = default(UInt32); return(ExceptionHandler(FileSystem, ex)); } }