mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
Fixed several function prototypes.
svn path=/trunk/; revision=3326
This commit is contained in:
parent
10e943e65d
commit
6809339d27
7 changed files with 258 additions and 339 deletions
|
@ -1,28 +1,23 @@
|
||||||
#ifndef __INCLUDE_DDK_FSFUNCS_H
|
#ifndef __INCLUDE_DDK_FSFUNCS_H
|
||||||
#define __INCLUDE_DDK_FSFUNCS_H
|
#define __INCLUDE_DDK_FSFUNCS_H
|
||||||
/* $Id: fsfuncs.h,v 1.13 2002/03/13 20:41:11 ekohl Exp $ */
|
/* $Id: fsfuncs.h,v 1.14 2002/08/09 22:57:26 ekohl Exp $ */
|
||||||
#define FlagOn(x,f) ((x) & (f))
|
#define FlagOn(x,f) ((x) & (f))
|
||||||
VOID
|
|
||||||
STDCALL
|
BOOLEAN STDCALL
|
||||||
FsRtlAddLargeMcbEntry (
|
FsRtlAddLargeMcbEntry(IN PLARGE_MCB Mcb,
|
||||||
DWORD Unknown0,
|
IN LONGLONG Vbn,
|
||||||
DWORD Unknown1,
|
IN LONGLONG Lbn,
|
||||||
DWORD Unknown2,
|
IN LONGLONG SectorCount);
|
||||||
DWORD Unknown3,
|
|
||||||
DWORD Unknown4,
|
VOID STDCALL
|
||||||
DWORD Unknown5,
|
FsRtlAddMcbEntry(
|
||||||
DWORD Unknown6
|
|
||||||
);
|
|
||||||
VOID
|
|
||||||
STDCALL
|
|
||||||
FsRtlAddMcbEntry (
|
|
||||||
DWORD Unknown0,
|
DWORD Unknown0,
|
||||||
DWORD Unknown1,
|
DWORD Unknown1,
|
||||||
DWORD Unknown2,
|
DWORD Unknown2,
|
||||||
DWORD Unknown3
|
DWORD Unknown3
|
||||||
);
|
);
|
||||||
VOID
|
|
||||||
STDCALL
|
VOID STDCALL
|
||||||
FsRtlAddToTunnelCache (
|
FsRtlAddToTunnelCache (
|
||||||
IN PTUNNEL Cache,
|
IN PTUNNEL Cache,
|
||||||
IN ULONGLONG DirectoryKey,
|
IN ULONGLONG DirectoryKey,
|
||||||
|
@ -32,20 +27,20 @@ FsRtlAddToTunnelCache (
|
||||||
IN ULONG DataLength,
|
IN ULONG DataLength,
|
||||||
IN PVOID Data
|
IN PVOID Data
|
||||||
);
|
);
|
||||||
PVOID
|
|
||||||
STDCALL
|
PVOID STDCALL
|
||||||
FsRtlAllocatePool (
|
FsRtlAllocatePool (
|
||||||
IN POOL_TYPE PoolType,
|
IN POOL_TYPE PoolType,
|
||||||
IN ULONG NumberOfBytes
|
IN ULONG NumberOfBytes
|
||||||
);
|
);
|
||||||
PVOID
|
|
||||||
STDCALL
|
PVOID STDCALL
|
||||||
FsRtlAllocatePoolWithQuota (
|
FsRtlAllocatePoolWithQuota (
|
||||||
IN POOL_TYPE PoolType,
|
IN POOL_TYPE PoolType,
|
||||||
IN ULONG NumberOfBytes
|
IN ULONG NumberOfBytes
|
||||||
);
|
);
|
||||||
PVOID
|
|
||||||
STDCALL
|
PVOID STDCALL
|
||||||
FsRtlAllocatePoolWithQuotaTag (
|
FsRtlAllocatePoolWithQuotaTag (
|
||||||
IN POOL_TYPE PoolType,
|
IN POOL_TYPE PoolType,
|
||||||
IN ULONG NumberOfBytes,
|
IN ULONG NumberOfBytes,
|
||||||
|
@ -88,15 +83,14 @@ FsRtlCheckLockForWriteAccess (
|
||||||
IN PFILE_LOCK FileLock,
|
IN PFILE_LOCK FileLock,
|
||||||
IN PIRP Irp
|
IN PIRP Irp
|
||||||
);
|
);
|
||||||
DWORD
|
|
||||||
STDCALL
|
NTSTATUS STDCALL
|
||||||
FsRtlCheckOplock (
|
FsRtlCheckOplock(IN POPLOCK Oplock,
|
||||||
DWORD Unknown0,
|
IN PIRP Irp,
|
||||||
DWORD Unknown1,
|
IN PVOID Context,
|
||||||
DWORD Unknown2,
|
IN POPLOCK_WAIT_COMPLETE_ROUTINE CompletionRoutine OPTIONAL,
|
||||||
DWORD Unknown3,
|
IN POPLOCK_FS_PREPOST_IRP PostIrpRoutine OPTIONAL);
|
||||||
DWORD Unknown4
|
|
||||||
);
|
|
||||||
BOOLEAN
|
BOOLEAN
|
||||||
STDCALL
|
STDCALL
|
||||||
FsRtlCopyRead (
|
FsRtlCopyRead (
|
||||||
|
@ -121,27 +115,20 @@ FsRtlCopyWrite (
|
||||||
OUT PIO_STATUS_BLOCK IoStatus,
|
OUT PIO_STATUS_BLOCK IoStatus,
|
||||||
IN PDEVICE_OBJECT DeviceObject
|
IN PDEVICE_OBJECT DeviceObject
|
||||||
);
|
);
|
||||||
BOOLEAN
|
|
||||||
STDCALL
|
BOOLEAN STDCALL
|
||||||
FsRtlCurrentBatchOplock (
|
FsRtlCurrentBatchOplock(IN POPLOCK Oplock);
|
||||||
DWORD Unknown0
|
|
||||||
);
|
VOID STDCALL
|
||||||
VOID
|
FsRtlDeleteKeyFromTunnelCache(IN PTUNNEL Cache,
|
||||||
STDCALL
|
IN ULONGLONG DirectoryKey);
|
||||||
FsRtlDeleteKeyFromTunnelCache (
|
|
||||||
IN PTUNNEL Cache,
|
VOID STDCALL
|
||||||
IN ULONGLONG DirectoryKey
|
FsRtlDeleteTunnelCache(IN PTUNNEL Cache);
|
||||||
);
|
|
||||||
VOID
|
VOID STDCALL
|
||||||
STDCALL
|
FsRtlDeregisterUncProvider(IN HANDLE Handle);
|
||||||
FsRtlDeleteTunnelCache (
|
|
||||||
IN PTUNNEL Cache
|
|
||||||
);
|
|
||||||
VOID
|
|
||||||
STDCALL
|
|
||||||
FsRtlDeregisterUncProvider (
|
|
||||||
DWORD Unknown0
|
|
||||||
);
|
|
||||||
VOID
|
VOID
|
||||||
STDCALL
|
STDCALL
|
||||||
FsRtlDissectDbcs (
|
FsRtlDissectDbcs (
|
||||||
|
@ -240,15 +227,14 @@ FsRtlGetNextFileLock (
|
||||||
IN PFILE_LOCK FileLock,
|
IN PFILE_LOCK FileLock,
|
||||||
IN BOOLEAN Restart
|
IN BOOLEAN Restart
|
||||||
);
|
);
|
||||||
VOID
|
|
||||||
STDCALL
|
BOOLEAN STDCALL
|
||||||
FsRtlGetNextLargeMcbEntry (
|
FsRtlGetNextLargeMcbEntry(IN PLARGE_MCB Mcb,
|
||||||
DWORD Unknown0,
|
IN ULONG RunIndex,
|
||||||
DWORD Unknown1,
|
OUT PLONGLONG Vbn,
|
||||||
DWORD Unknown2,
|
OUT PLONGLONG Lbn,
|
||||||
DWORD Unknown3,
|
OUT PLONGLONG SectorCount);
|
||||||
DWORD Unknown4
|
|
||||||
);
|
|
||||||
VOID
|
VOID
|
||||||
STDCALL
|
STDCALL
|
||||||
FsRtlGetNextMcbEntry (
|
FsRtlGetNextMcbEntry (
|
||||||
|
@ -267,23 +253,21 @@ FsRtlInitializeFileLock (
|
||||||
IN PCOMPLETE_LOCK_IRP_ROUTINE CompleteLockIrpRoutine OPTIONAL,
|
IN PCOMPLETE_LOCK_IRP_ROUTINE CompleteLockIrpRoutine OPTIONAL,
|
||||||
IN PUNLOCK_ROUTINE UnlockRoutine OPTIONAL
|
IN PUNLOCK_ROUTINE UnlockRoutine OPTIONAL
|
||||||
);
|
);
|
||||||
VOID
|
|
||||||
STDCALL
|
VOID STDCALL
|
||||||
FsRtlInitializeLargeMcb (
|
FsRtlInitializeLargeMcb(IN PLARGE_MCB Mcb,
|
||||||
DWORD Unknown0,
|
IN POOL_TYPE PoolType);
|
||||||
DWORD Unknown1
|
|
||||||
);
|
|
||||||
VOID
|
VOID
|
||||||
STDCALL
|
STDCALL
|
||||||
FsRtlInitializeMcb (
|
FsRtlInitializeMcb (
|
||||||
DWORD Unknown0,
|
DWORD Unknown0,
|
||||||
DWORD Unknown1
|
DWORD Unknown1
|
||||||
);
|
);
|
||||||
VOID
|
|
||||||
STDCALL
|
VOID STDCALL
|
||||||
FsRtlInitializeOplock (
|
FsRtlInitializeOplock(IN OUT POPLOCK Oplock);
|
||||||
DWORD Unknown0
|
|
||||||
);
|
|
||||||
VOID
|
VOID
|
||||||
STDCALL
|
STDCALL
|
||||||
FsRtlInitializeTunnelCache (
|
FsRtlInitializeTunnelCache (
|
||||||
|
@ -321,40 +305,33 @@ FsRtlIsNameInExpression (
|
||||||
IN BOOLEAN IgnoreCase,
|
IN BOOLEAN IgnoreCase,
|
||||||
IN PWCHAR UpcaseTable OPTIONAL
|
IN PWCHAR UpcaseTable OPTIONAL
|
||||||
);
|
);
|
||||||
BOOLEAN
|
|
||||||
STDCALL
|
BOOLEAN STDCALL
|
||||||
FsRtlIsNtstatusExpected (
|
FsRtlIsNtstatusExpected(IN NTSTATUS NtStatus);
|
||||||
IN NTSTATUS NtStatus
|
|
||||||
);
|
BOOLEAN STDCALL
|
||||||
BOOLEAN
|
FsRtlIsTotalDeviceFailure(IN NTSTATUS NtStatus);
|
||||||
STDCALL
|
|
||||||
FsRtlIsTotalDeviceFailure (
|
|
||||||
NTSTATUS NtStatus
|
|
||||||
);
|
|
||||||
#define FsRtlIsUnicodeCharacterWild(C) ( \
|
#define FsRtlIsUnicodeCharacterWild(C) ( \
|
||||||
(((C) >= 0x40) ? \
|
(((C) >= 0x40) ? \
|
||||||
FALSE : \
|
FALSE : \
|
||||||
FlagOn((*FsRtlLegalAnsiCharacterArray)[(C)], FSRTL_WILD_CHARACTER )) \
|
FlagOn((*FsRtlLegalAnsiCharacterArray)[(C)], FSRTL_WILD_CHARACTER )) \
|
||||||
)
|
)
|
||||||
VOID
|
|
||||||
STDCALL
|
BOOLEAN STDCALL
|
||||||
FsRtlLookupLargeMcbEntry (
|
FsRtlLookupLargeMcbEntry(IN PLARGE_MCB Mcb,
|
||||||
DWORD Unknown0,
|
IN LONGLONG Vbn,
|
||||||
DWORD Unknown1,
|
OUT PLONGLONG Lbn OPTIONAL,
|
||||||
DWORD Unknown2,
|
OUT PLONGLONG SectorCountFromLbn OPTIONAL,
|
||||||
DWORD Unknown3,
|
OUT PLONGLONG StartingLbn OPTIONAL,
|
||||||
DWORD Unknown4,
|
OUT PLONGLONG SectorCountFromStartingLbn OPTIONAL,
|
||||||
DWORD Unknown5,
|
OUT PULONG Index OPTIONAL);
|
||||||
DWORD Unknown6,
|
|
||||||
DWORD Unknown7
|
BOOLEAN STDCALL
|
||||||
);
|
FsRtlLookupLastLargeMcbEntry(IN PLARGE_MCB Mcb,
|
||||||
VOID
|
OUT PLONGLONG Vbn,
|
||||||
STDCALL
|
OUT PLONGLONG Lbn);
|
||||||
FsRtlLookupLastLargeMcbEntry (
|
|
||||||
DWORD Unknown0,
|
|
||||||
DWORD Unknown1,
|
|
||||||
DWORD Unknown2
|
|
||||||
);
|
|
||||||
VOID
|
VOID
|
||||||
STDCALL
|
STDCALL
|
||||||
FsRtlLookupLastMcbEntry (
|
FsRtlLookupLastMcbEntry (
|
||||||
|
@ -485,29 +462,22 @@ FsRtlNotifyReportChange (
|
||||||
IN PUSHORT FileNamePartLength,
|
IN PUSHORT FileNamePartLength,
|
||||||
IN ULONG FilterMatch
|
IN ULONG FilterMatch
|
||||||
);
|
);
|
||||||
VOID
|
|
||||||
STDCALL
|
VOID STDCALL
|
||||||
FsRtlNotifyInitializeSync (
|
FsRtlNotifyInitializeSync(IN OUT PNOTIFY_SYNC *NotifySync);
|
||||||
IN OUT PNOTIFY_SYNC * NotifySync
|
|
||||||
);
|
NTSTATUS STDCALL
|
||||||
NTSTATUS
|
FsRtlNotifyVolumeEvent(IN PFILE_OBJECT FileObject,
|
||||||
STDCALL
|
IN ULONG EventCode);
|
||||||
FsRtlNotifyVolumeEvent (
|
|
||||||
IN PFILE_OBJECT FileObject,
|
NTSTATUS STDCALL
|
||||||
IN ULONG EventCode
|
FsRtlOplockFsctrl(IN POPLOCK Oplock,
|
||||||
);
|
IN PIRP Irp,
|
||||||
NTSTATUS
|
IN ULONG OpenCount);
|
||||||
STDCALL
|
|
||||||
FsRtlOplockFsctrl (
|
BOOLEAN STDCALL
|
||||||
DWORD Unknown0,
|
FsRtlOplockIsFastIoPossible(IN POPLOCK Oplock);
|
||||||
DWORD Unknown1,
|
|
||||||
DWORD Unknown2
|
|
||||||
);
|
|
||||||
BOOLEAN
|
|
||||||
STDCALL
|
|
||||||
FsRtlOplockIsFastIoPossible (
|
|
||||||
DWORD Unknown0
|
|
||||||
);
|
|
||||||
BOOLEAN
|
BOOLEAN
|
||||||
STDCALL
|
STDCALL
|
||||||
FsRtlPrepareMdlWrite (
|
FsRtlPrepareMdlWrite (
|
||||||
|
@ -529,17 +499,14 @@ FsRtlPrepareMdlWriteDev (
|
||||||
OUT PIO_STATUS_BLOCK IoStatus,
|
OUT PIO_STATUS_BLOCK IoStatus,
|
||||||
IN PDEVICE_OBJECT DeviceObject
|
IN PDEVICE_OBJECT DeviceObject
|
||||||
);
|
);
|
||||||
NTSTATUS
|
|
||||||
STDCALL
|
NTSTATUS STDCALL
|
||||||
FsRtlNormalizeNtstatus (
|
FsRtlNormalizeNtstatus(IN NTSTATUS NtStatusToNormalize,
|
||||||
IN NTSTATUS NtStatusToNormalize,
|
IN NTSTATUS NormalizedNtStatus);
|
||||||
IN NTSTATUS NormalizedNtStatus
|
|
||||||
);
|
ULONG STDCALL
|
||||||
VOID
|
FsRtlNumberOfRunsInLargeMcb(IN PLARGE_MCB Mcb);
|
||||||
STDCALL
|
|
||||||
FsRtlNumberOfRunsInLargeMcb (
|
|
||||||
DWORD Unknown0
|
|
||||||
);
|
|
||||||
VOID
|
VOID
|
||||||
STDCALL
|
STDCALL
|
||||||
FsRtlNumberOfRunsInMcb (
|
FsRtlNumberOfRunsInMcb (
|
||||||
|
@ -582,22 +549,17 @@ FsRtlProcessFileLock (
|
||||||
IN PIRP Irp,
|
IN PIRP Irp,
|
||||||
IN PVOID Context OPTIONAL
|
IN PVOID Context OPTIONAL
|
||||||
);
|
);
|
||||||
DWORD
|
|
||||||
STDCALL
|
NTSTATUS STDCALL
|
||||||
FsRtlRegisterUncProvider (
|
FsRtlRegisterUncProvider(IN OUT PHANDLE Handle,
|
||||||
DWORD Unknown0,
|
IN PUNICODE_STRING RedirectorDeviceName,
|
||||||
DWORD Unknown1,
|
IN BOOLEAN MailslotsSupported);
|
||||||
DWORD Unknown2
|
|
||||||
);
|
VOID STDCALL
|
||||||
VOID
|
FsRtlRemoveLargeMcbEntry(IN PLARGE_MCB Mcb,
|
||||||
STDCALL
|
IN LONGLONG Vbn,
|
||||||
FsRtlRemoveLargeMcbEntry (
|
IN LONGLONG SectorCount);
|
||||||
DWORD Unknown0,
|
|
||||||
DWORD Unknown1,
|
|
||||||
DWORD Unknown2,
|
|
||||||
DWORD Unknown3,
|
|
||||||
DWORD Unknown4
|
|
||||||
);
|
|
||||||
VOID
|
VOID
|
||||||
STDCALL
|
STDCALL
|
||||||
FsRtlRemoveMcbEntry (
|
FsRtlRemoveMcbEntry (
|
||||||
|
@ -605,15 +567,12 @@ FsRtlRemoveMcbEntry (
|
||||||
DWORD Unknown1,
|
DWORD Unknown1,
|
||||||
DWORD Unknown2
|
DWORD Unknown2
|
||||||
);
|
);
|
||||||
VOID
|
|
||||||
STDCALL
|
BOOLEAN STDCALL
|
||||||
FsRtlSplitLargeMcb (
|
FsRtlSplitLargeMcb(IN PLARGE_MCB Mcb,
|
||||||
DWORD Unknown0,
|
IN LONGLONG Vbn,
|
||||||
DWORD Unknown1,
|
IN LONGLONG Amount);
|
||||||
DWORD Unknown2,
|
|
||||||
DWORD Unknown3,
|
|
||||||
DWORD Unknown4
|
|
||||||
);
|
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
STDCALL
|
||||||
FsRtlSyncVolumes (
|
FsRtlSyncVolumes (
|
||||||
|
@ -621,13 +580,11 @@ FsRtlSyncVolumes (
|
||||||
DWORD Unknown1,
|
DWORD Unknown1,
|
||||||
DWORD Unknown2
|
DWORD Unknown2
|
||||||
);
|
);
|
||||||
VOID
|
|
||||||
STDCALL
|
VOID STDCALL
|
||||||
FsRtlTruncateLargeMcb (
|
FsRtlTruncateLargeMcb(IN PLARGE_MCB Mcb,
|
||||||
DWORD Unknown0,
|
IN LONGLONG Vbn);
|
||||||
DWORD Unknown1,
|
|
||||||
DWORD Unknown2
|
|
||||||
);
|
|
||||||
VOID
|
VOID
|
||||||
STDCALL
|
STDCALL
|
||||||
FsRtlTruncateMcb (
|
FsRtlTruncateMcb (
|
||||||
|
@ -639,20 +596,17 @@ STDCALL
|
||||||
FsRtlUninitializeFileLock (
|
FsRtlUninitializeFileLock (
|
||||||
IN PFILE_LOCK FileLock
|
IN PFILE_LOCK FileLock
|
||||||
);
|
);
|
||||||
VOID
|
|
||||||
STDCALL
|
VOID STDCALL
|
||||||
FsRtlUninitializeLargeMcb (
|
FsRtlUninitializeLargeMcb(IN PLARGE_MCB Mcb);
|
||||||
DWORD Unknown0
|
|
||||||
);
|
|
||||||
VOID
|
VOID
|
||||||
STDCALL
|
STDCALL
|
||||||
FsRtlUninitializeMcb (
|
FsRtlUninitializeMcb (
|
||||||
DWORD Unknown0
|
DWORD Unknown0
|
||||||
);
|
);
|
||||||
DWORD
|
|
||||||
STDCALL
|
VOID STDCALL
|
||||||
FsRtlUninitializeOplock (
|
FsRtlUninitializeOplock(IN POPLOCK Oplock);
|
||||||
DWORD Unknown0
|
|
||||||
);
|
|
||||||
|
|
||||||
#endif /* __INCLUDE_DDK_FSFUNCS_H */
|
#endif /* __INCLUDE_DDK_FSFUNCS_H */
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#ifndef __INCLUDE_DDK_FSTYPES_H
|
#ifndef __INCLUDE_DDK_FSTYPES_H
|
||||||
#define __INCLUDE_DDK_FSTYPES_H
|
#define __INCLUDE_DDK_FSTYPES_H
|
||||||
/* $Id: fstypes.h,v 1.4 2002/01/13 22:02:30 ea Exp $ */
|
/* $Id: fstypes.h,v 1.5 2002/08/09 22:57:27 ekohl Exp $ */
|
||||||
|
|
||||||
#define FSRTL_TAG TAG('F','S','r','t')
|
#define FSRTL_TAG TAG('F','S','r','t')
|
||||||
|
|
||||||
|
@ -49,12 +49,6 @@ typedef struct _FILE_LOCK {
|
||||||
PVOID LastReturnedLock;
|
PVOID LastReturnedLock;
|
||||||
} FILE_LOCK, *PFILE_LOCK;
|
} FILE_LOCK, *PFILE_LOCK;
|
||||||
|
|
||||||
typedef struct _RTL_SPLAY_LINKS {
|
|
||||||
struct _RTL_SPLAY_LINKS *Parent;
|
|
||||||
struct _RTL_SPLAY_LINKS *LeftChild;
|
|
||||||
struct _RTL_SPLAY_LINKS *RightChild;
|
|
||||||
} RTL_SPLAY_LINKS, *PRTL_SPLAY_LINKS;
|
|
||||||
|
|
||||||
typedef struct _TUNNEL {
|
typedef struct _TUNNEL {
|
||||||
FAST_MUTEX Mutex;
|
FAST_MUTEX Mutex;
|
||||||
PRTL_SPLAY_LINKS Cache;
|
PRTL_SPLAY_LINKS Cache;
|
||||||
|
@ -79,4 +73,24 @@ typedef struct _NOTIFY_SYNC
|
||||||
} NOTIFY_SYNC, * PNOTIFY_SYNC;
|
} NOTIFY_SYNC, * PNOTIFY_SYNC;
|
||||||
|
|
||||||
|
|
||||||
|
typedef struct _LARGE_MCB
|
||||||
|
{
|
||||||
|
PFAST_MUTEX FastMutex;
|
||||||
|
ULONG MaximumPairCount;
|
||||||
|
ULONG PairCount;
|
||||||
|
POOL_TYPE PoolType;
|
||||||
|
PVOID Mapping;
|
||||||
|
} LARGE_MCB, *PLARGE_MCB;
|
||||||
|
|
||||||
|
|
||||||
|
typedef VOID
|
||||||
|
(*POPLOCK_WAIT_COMPLETE_ROUTINE)(PVOID Context,
|
||||||
|
PIRP Irp);
|
||||||
|
|
||||||
|
typedef VOID
|
||||||
|
(*POPLOCK_FS_PREPOST_IRP)(PVOID Context,
|
||||||
|
PIRP Irp);
|
||||||
|
|
||||||
|
typedef PVOID OPLOCK, *POPLOCK;
|
||||||
|
|
||||||
#endif /* __INCLUDE_DDK_FSFUNCS_H */
|
#endif /* __INCLUDE_DDK_FSFUNCS_H */
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: rtltypes.h,v 1.3 2002/07/25 13:15:08 ekohl Exp $
|
/* $Id: rtltypes.h,v 1.4 2002/08/09 22:57:27 ekohl Exp $
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -124,6 +124,14 @@ typedef struct _RTL_NLS_TABLE
|
||||||
} RTL_NLS_TABLE, *PRTL_NLS_TABLE;
|
} RTL_NLS_TABLE, *PRTL_NLS_TABLE;
|
||||||
|
|
||||||
|
|
||||||
|
typedef struct _RTL_SPLAY_LINKS
|
||||||
|
{
|
||||||
|
struct _RTL_SPLAY_LINKS *Parent;
|
||||||
|
struct _RTL_SPLAY_LINKS *LeftChild;
|
||||||
|
struct _RTL_SPLAY_LINKS *RightChild;
|
||||||
|
} RTL_SPLAY_LINKS, *PRTL_SPLAY_LINKS;
|
||||||
|
|
||||||
|
|
||||||
typedef struct _RTL_GENERIC_TABLE
|
typedef struct _RTL_GENERIC_TABLE
|
||||||
{
|
{
|
||||||
PVOID RootElement;
|
PVOID RootElement;
|
||||||
|
|
|
@ -1,9 +1,10 @@
|
||||||
/* $Id: mcb.c,v 1.1 1999/08/20 16:29:22 ea Exp $
|
/* $Id: mcb.c,v 1.2 2002/08/09 22:57:48 ekohl Exp $
|
||||||
*
|
*
|
||||||
* reactos/ntoskrnl/fs/mcb.c
|
* reactos/ntoskrnl/fs/mcb.c
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
#include <ntos.h>
|
#include <ddk/ntddk.h>
|
||||||
|
#include <ddk/ntifs.h>
|
||||||
|
|
||||||
#include <internal/debug.h>
|
#include <internal/debug.h>
|
||||||
|
|
||||||
|
@ -18,19 +19,14 @@
|
||||||
*
|
*
|
||||||
* NOTES
|
* NOTES
|
||||||
*/
|
*/
|
||||||
VOID
|
BOOLEAN STDCALL
|
||||||
STDCALL
|
FsRtlAddLargeMcbEntry(IN PLARGE_MCB Mcb,
|
||||||
FsRtlAddLargeMcbEntry (
|
IN LONGLONG Vbn,
|
||||||
DWORD Unknown0,
|
IN LONGLONG Lbn,
|
||||||
DWORD Unknown1,
|
IN LONGLONG SectorCount)
|
||||||
DWORD Unknown2,
|
|
||||||
DWORD Unknown3,
|
|
||||||
DWORD Unknown4,
|
|
||||||
DWORD Unknown5,
|
|
||||||
DWORD Unknown6
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED
|
UNIMPLEMENTED
|
||||||
|
return(FALSE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -47,17 +43,15 @@ FsRtlAddMcbEntry (
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
VOID
|
BOOLEAN STDCALL
|
||||||
STDCALL
|
FsRtlGetNextLargeMcbEntry(IN PLARGE_MCB Mcb,
|
||||||
FsRtlGetNextLargeMcbEntry (
|
IN ULONG RunIndex,
|
||||||
DWORD Unknown0,
|
OUT PLONGLONG Vbn,
|
||||||
DWORD Unknown1,
|
OUT PLONGLONG Lbn,
|
||||||
DWORD Unknown2,
|
OUT PLONGLONG SectorCount)
|
||||||
DWORD Unknown3,
|
|
||||||
DWORD Unknown4
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED
|
UNIMPLEMENTED
|
||||||
|
return(FALSE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -75,14 +69,11 @@ FsRtlGetNextMcbEntry (
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
VOID
|
VOID STDCALL
|
||||||
STDCALL
|
FsRtlInitializeLargeMcb(IN PLARGE_MCB Mcb,
|
||||||
FsRtlInitializeLargeMcb (
|
IN POOL_TYPE PoolType)
|
||||||
DWORD Unknown0,
|
|
||||||
DWORD Unknown1
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED
|
UNIMPLEMENTED
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -97,32 +88,27 @@ FsRtlInitializeMcb (
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
VOID
|
BOOLEAN STDCALL
|
||||||
STDCALL
|
FsRtlLookupLargeMcbEntry(IN PLARGE_MCB Mcb,
|
||||||
FsRtlLookupLargeMcbEntry (
|
IN LONGLONG Vbn,
|
||||||
DWORD Unknown0,
|
OUT PLONGLONG Lbn OPTIONAL,
|
||||||
DWORD Unknown1,
|
OUT PLONGLONG SectorCountFromLbn OPTIONAL,
|
||||||
DWORD Unknown2,
|
OUT PLONGLONG StartingLbn OPTIONAL,
|
||||||
DWORD Unknown3,
|
OUT PLONGLONG SectorCountFromStartingLbn OPTIONAL,
|
||||||
DWORD Unknown4,
|
OUT PULONG Index OPTIONAL)
|
||||||
DWORD Unknown5,
|
|
||||||
DWORD Unknown6,
|
|
||||||
DWORD Unknown7
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED
|
UNIMPLEMENTED
|
||||||
|
return(FALSE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
VOID
|
BOOLEAN STDCALL
|
||||||
STDCALL
|
FsRtlLookupLastLargeMcbEntry(IN PLARGE_MCB Mcb,
|
||||||
FsRtlLookupLastLargeMcbEntry (
|
OUT PLONGLONG Vbn,
|
||||||
DWORD Unknown0,
|
OUT PLONGLONG Lbn)
|
||||||
DWORD Unknown1,
|
|
||||||
DWORD Unknown2
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED
|
UNIMPLEMENTED
|
||||||
|
return(FALSE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -152,13 +138,11 @@ FsRtlLookupMcbEntry (
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
VOID
|
ULONG STDCALL
|
||||||
STDCALL
|
FsRtlNumberOfRunsInLargeMcb(IN PLARGE_MCB Mcb)
|
||||||
FsRtlNumberOfRunsInLargeMcb (
|
|
||||||
DWORD Unknown0
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED
|
UNIMPLEMENTED
|
||||||
|
return(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -172,17 +156,12 @@ FsRtlNumberOfRunsInMcb (
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
VOID
|
VOID STDCALL
|
||||||
STDCALL
|
FsRtlRemoveLargeMcbEntry(IN PLARGE_MCB Mcb,
|
||||||
FsRtlRemoveLargeMcbEntry (
|
IN LONGLONG Vbn,
|
||||||
DWORD Unknown0,
|
IN LONGLONG SectorCount)
|
||||||
DWORD Unknown1,
|
|
||||||
DWORD Unknown2,
|
|
||||||
DWORD Unknown3,
|
|
||||||
DWORD Unknown4
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED
|
UNIMPLEMENTED
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -198,29 +177,21 @@ FsRtlRemoveMcbEntry (
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
VOID
|
BOOLEAN STDCALL
|
||||||
STDCALL
|
FsRtlSplitLargeMcb(IN PLARGE_MCB Mcb,
|
||||||
FsRtlSplitLargeMcb (
|
IN LONGLONG Vbn,
|
||||||
DWORD Unknown0,
|
IN LONGLONG Amount)
|
||||||
DWORD Unknown1,
|
|
||||||
DWORD Unknown2,
|
|
||||||
DWORD Unknown3,
|
|
||||||
DWORD Unknown4
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED
|
UNIMPLEMENTED
|
||||||
|
return(FALSE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
VOID
|
VOID STDCALL
|
||||||
STDCALL
|
FsRtlTruncateLargeMcb(IN PLARGE_MCB Mcb,
|
||||||
FsRtlTruncateLargeMcb (
|
IN LONGLONG Vbn)
|
||||||
DWORD Unknown0,
|
|
||||||
DWORD Unknown1,
|
|
||||||
DWORD Unknown2
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED
|
UNIMPLEMENTED
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -235,13 +206,10 @@ FsRtlTruncateMcb (
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
VOID
|
VOID STDCALL
|
||||||
STDCALL
|
FsRtlUninitializeLargeMcb(IN PLARGE_MCB Mcb)
|
||||||
FsRtlUninitializeLargeMcb (
|
|
||||||
DWORD Unknown0
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED;
|
UNIMPLEMENTED;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
/* $Id: oplock.c,v 1.2 2000/03/11 00:51:36 ea Exp $
|
/* $Id: oplock.c,v 1.3 2002/08/09 22:57:48 ekohl Exp $
|
||||||
*
|
*
|
||||||
* reactos/ntoskrnl/fs/oplock.c
|
* reactos/ntoskrnl/fs/oplock.c
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
#include <ntos.h>
|
#include <ddk/ntddk.h>
|
||||||
#include <ddk/ntifs.h>
|
#include <ddk/ntifs.h>
|
||||||
|
|
||||||
|
|
||||||
|
@ -18,17 +18,14 @@
|
||||||
* RETURN VALUE
|
* RETURN VALUE
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
DWORD
|
NTSTATUS STDCALL
|
||||||
STDCALL
|
FsRtlCheckOplock(IN POPLOCK Oplock,
|
||||||
FsRtlCheckOplock (
|
IN PIRP Irp,
|
||||||
DWORD Unknown0,
|
IN PVOID Context,
|
||||||
DWORD Unknown1,
|
IN POPLOCK_WAIT_COMPLETE_ROUTINE CompletionRoutine OPTIONAL,
|
||||||
DWORD Unknown2,
|
IN POPLOCK_FS_PREPOST_IRP PostIrpRoutine OPTIONAL)
|
||||||
DWORD Unknown3,
|
|
||||||
DWORD Unknown4
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
return 0;
|
return(STATUS_NOT_IMPLEMENTED);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -43,13 +40,10 @@ FsRtlCheckOplock (
|
||||||
* RETURN VALUE
|
* RETURN VALUE
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
BOOLEAN
|
BOOLEAN STDCALL
|
||||||
STDCALL
|
FsRtlCurrentBatchOplock(IN POPLOCK Oplock)
|
||||||
FsRtlCurrentBatchOplock (
|
|
||||||
DWORD Unknown0
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
return FALSE;
|
return(FALSE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -66,11 +60,8 @@ FsRtlCurrentBatchOplock (
|
||||||
* NOTE
|
* NOTE
|
||||||
* Obsolete function.
|
* Obsolete function.
|
||||||
*/
|
*/
|
||||||
VOID
|
VOID STDCALL
|
||||||
STDCALL
|
FsRtlInitializeOplock(IN OUT POPLOCK Oplock)
|
||||||
FsRtlInitializeOplock (
|
|
||||||
DWORD Unknown0
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -86,15 +77,12 @@ FsRtlInitializeOplock (
|
||||||
* RETURN VALUE
|
* RETURN VALUE
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
NTSTATUS
|
NTSTATUS STDCALL
|
||||||
STDCALL
|
FsRtlOplockFsctrl(IN POPLOCK Oplock,
|
||||||
FsRtlOplockFsctrl (
|
IN PIRP Irp,
|
||||||
DWORD Unknown0,
|
IN ULONG OpenCount)
|
||||||
DWORD Unknown1,
|
|
||||||
DWORD Unknown2
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
return 0;
|
return(STATUS_NOT_IMPLEMENTED);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -109,13 +97,10 @@ FsRtlOplockFsctrl (
|
||||||
* RETURN VALUE
|
* RETURN VALUE
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
BOOLEAN
|
BOOLEAN STDCALL
|
||||||
STDCALL
|
FsRtlOplockIsFastIoPossible(IN POPLOCK Oplock)
|
||||||
FsRtlOplockIsFastIoPossible (
|
|
||||||
DWORD Unknown0
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
return FALSE;
|
return(FALSE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -130,14 +115,9 @@ FsRtlOplockIsFastIoPossible (
|
||||||
* RETURN VALUE
|
* RETURN VALUE
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
DWORD
|
VOID STDCALL
|
||||||
STDCALL
|
FsRtlUninitializeOplock(IN POPLOCK Oplock)
|
||||||
FsRtlUninitializeOplock (
|
|
||||||
DWORD Unknown0
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* EOF */
|
/* EOF */
|
||||||
|
|
|
@ -1,9 +1,10 @@
|
||||||
/* $Id: unc.c,v 1.1 2000/01/20 22:14:07 ea Exp $
|
/* $Id: unc.c,v 1.2 2002/08/09 22:57:48 ekohl Exp $
|
||||||
*
|
*
|
||||||
* reactos/ntoskrnl/fs/unc.c
|
* reactos/ntoskrnl/fs/unc.c
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
#include <ntos.h>
|
#include <ddk/ntddk.h>
|
||||||
|
#include <ddk/ntifs.h>
|
||||||
|
|
||||||
|
|
||||||
/**********************************************************************
|
/**********************************************************************
|
||||||
|
@ -17,11 +18,8 @@
|
||||||
* RETURN VALUE
|
* RETURN VALUE
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
VOID
|
VOID STDCALL
|
||||||
STDCALL
|
FsRtlDeregisterUncProvider(IN HANDLE Handle)
|
||||||
FsRtlDeregisterUncProvider (
|
|
||||||
DWORD Unknown0
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -37,15 +35,12 @@ FsRtlDeregisterUncProvider (
|
||||||
* RETURN VALUE
|
* RETURN VALUE
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
DWORD
|
NTSTATUS STDCALL
|
||||||
STDCALL
|
FsRtlRegisterUncProvider(IN OUT PHANDLE Handle,
|
||||||
FsRtlRegisterUncProvider (
|
IN PUNICODE_STRING RedirectorDeviceName,
|
||||||
DWORD Unknown0,
|
IN BOOLEAN MailslotsSupported)
|
||||||
DWORD Unknown1,
|
|
||||||
DWORD Unknown2
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
return 0;
|
return(STATUS_NOT_IMPLEMENTED);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
/* $Id: util.c,v 1.9 2002/01/17 23:17:39 ea Exp $
|
/* $Id: util.c,v 1.10 2002/08/09 22:57:48 ekohl Exp $
|
||||||
*
|
*
|
||||||
* reactos/ntoskrnl/fs/util.c
|
* reactos/ntoskrnl/fs/util.c
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
#include <ntos.h>
|
#include <ddk/ntddk.h>
|
||||||
#include <ddk/ntifs.h>
|
#include <ddk/ntifs.h>
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue