ReactOS 0.4.15-dev-8102-g108db8f
cdfslib.c
Go to the documentation of this file.
1/*
2 * PROJECT: ReactOS CDFS library
3 * LICENSE: GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+)
4 * PURPOSE: Checking and Formatting CDFS volumes
5 * COPYRIGHT: Copyright 2017 Colin Finck <colin@reactos.org>
6 */
7
8#define NTOS_MODE_USER
9#include <ndk/umtypes.h>
10#include <fmifs/fmifs.h>
11
12#define NDEBUG
13#include <debug.h>
14
18 IN PUNICODE_STRING DriveRoot,
21 IN BOOLEAN BackwardCompatible,
22 IN MEDIA_TYPE MediaType,
25{
26 // Not possible for CDFS (ISO-9660).
27 return FALSE;
28}
29
33 IN PUNICODE_STRING DriveRoot,
37 IN BOOLEAN CheckOnlyIfDirty,
38 IN BOOLEAN ScanDrive,
39 IN PVOID pUnknown1,
40 IN PVOID pUnknown2,
41 IN PVOID pUnknown3,
42 IN PVOID pUnknown4,
44{
47 return TRUE;
48}
unsigned char BOOLEAN
BOOL FixErrors
Definition: chkdsk.c:69
BOOL Verbose
Definition: chkdsk.c:72
BOOL QuickFormat
Definition: format.c:66
PWCHAR Label
Definition: format.c:70
DWORD ClusterSize
Definition: format.c:67
#define UNIMPLEMENTED
Definition: debug.h:118
BOOLEAN NTAPI CdfsFormat(IN PUNICODE_STRING DriveRoot, IN PFMIFSCALLBACK Callback, IN BOOLEAN QuickFormat, IN BOOLEAN BackwardCompatible, IN MEDIA_TYPE MediaType, IN PUNICODE_STRING Label, IN ULONG ClusterSize)
Definition: cdfslib.c:17
BOOLEAN NTAPI CdfsChkdsk(IN PUNICODE_STRING DriveRoot, IN PFMIFSCALLBACK Callback, IN BOOLEAN FixErrors, IN BOOLEAN Verbose, IN BOOLEAN CheckOnlyIfDirty, IN BOOLEAN ScanDrive, IN PVOID pUnknown1, IN PVOID pUnknown2, IN PVOID pUnknown3, IN PVOID pUnknown4, IN PULONG ExitStatus)
Definition: cdfslib.c:32
#define TRUE
Definition: types.h:120
#define FALSE
Definition: types.h:117
BOOLEAN(NTAPI * PFMIFSCALLBACK)(IN CALLBACKCOMMAND Command, IN ULONG SubAction, IN PVOID ActionInfo)
Definition: fmifs.h:89
_In_ NTSTATUS ExitStatus
Definition: psfuncs.h:867
enum _MEDIA_TYPE MEDIA_TYPE
#define STATUS_SUCCESS
Definition: shellext.h:65
uint32_t * PULONG
Definition: typedefs.h:59
#define NTAPI
Definition: typedefs.h:36
#define IN
Definition: typedefs.h:39
uint32_t ULONG
Definition: typedefs.h:59
_In_ WDFINTERRUPT _In_ PFN_WDF_INTERRUPT_SYNCHRONIZE Callback
Definition: wdfinterrupt.h:458