1 /* 2 * PROJECT: ReactOS Setup Library 3 * LICENSE: GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+) 4 * PURPOSE: Filesystem Recognition support functions, 5 * using NT OS functionality. 6 * COPYRIGHT: Copyright 2017-2020 Hermes Belusca-Maito 7 */ 8 9 #pragma once 10 11 NTSTATUS 12 GetFileSystemName_UStr( 13 IN PUNICODE_STRING PartitionPath OPTIONAL, 14 IN HANDLE PartitionHandle OPTIONAL, 15 IN OUT PWSTR FileSystemName, 16 IN SIZE_T FileSystemNameSize); 17 18 NTSTATUS 19 GetFileSystemName( 20 IN PCWSTR PartitionPath OPTIONAL, 21 IN HANDLE PartitionHandle OPTIONAL, 22 IN OUT PWSTR FileSystemName, 23 IN SIZE_T FileSystemNameSize); 24 25 NTSTATUS 26 InferFileSystem( 27 IN PCWSTR PartitionPath OPTIONAL, 28 IN HANDLE PartitionHandle OPTIONAL, 29 IN OUT PWSTR FileSystemName, 30 IN SIZE_T FileSystemNameSize); 31 32 UCHAR 33 FileSystemToMBRPartitionType( 34 IN PCWSTR FileSystem, 35 IN ULONGLONG StartSector, 36 IN ULONGLONG SectorCount); 37 38 /* EOF */ 39