public int Open(string pFileName, uint pGrantedAccess, out object pFileNode, out IFSEntryPointer pFileDesc, out IEntry pEntry, out string pNormalizedName) { var FullPath = PathNormalizer.ConcatPath(SourcePath, pFileName); if (DirectoryActions.Exists(FullPath)) { pFileDesc = DirectoryActions.Open(FullPath, out pEntry); } else if (FileActions.Exists(FullPath)) { pFileDesc = FileActions.Open(FullPath, pGrantedAccess, out pEntry); } else { pFileDesc = default; pEntry = default; } pNormalizedName = default; pFileNode = default; return(FileSystemStatus.STATUS_SUCCESS); }