public int Create(string pFileName, uint pCreateOptions, uint pGrantedAccess, uint pFileAttributes, byte[] pSecurityDescriptor, out object pFileNode, out IFSEntryPointer pFileDesc, out IEntry pEntry, out string pNormalizedName) { if ((pCreateOptions & FileSystemStatus.FILE_DIRECTORY_FILE) == 0) { pFileDesc = FileActions.Create(pFileName, pGrantedAccess, pFileAttributes, pSecurityDescriptor, out pEntry); } else { pFileDesc = DirectoryActions.Create(pFileName, pFileAttributes, pSecurityDescriptor, out pEntry); } pFileNode = default; pNormalizedName = default; return(FileSystemStatus.STATUS_SUCCESS); }