mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
- Fix prototype of FsRtlInitializeLargeMcb and FsRtlInitializeMcb.
- Fix some FsRtl* exports. svn path=/trunk/; revision=11751
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#ifndef __INCLUDE_DDK_FSFUNCS_H
|
||||
#define __INCLUDE_DDK_FSFUNCS_H
|
||||
/* $Id: fsfuncs.h,v 1.28 2004/09/11 14:48:56 ekohl Exp $ */
|
||||
/* $Id: fsfuncs.h,v 1.29 2004/11/21 16:34:55 navaraf Exp $ */
|
||||
#define FlagOn(x,f) ((x) & (f))
|
||||
|
||||
#include <ntos/fstypes.h>
|
||||
@@ -336,11 +336,11 @@ FsRtlInitializeFileLock (
|
||||
);
|
||||
|
||||
VOID STDCALL
|
||||
FsRtlInitializeLargeMcb(IN PLARGE_MCB Mcb,
|
||||
FsRtlInitializeLargeMcb(IN PLARGE_MCB *Mcb,
|
||||
IN POOL_TYPE PoolType);
|
||||
|
||||
VOID STDCALL
|
||||
FsRtlInitializeMcb (IN PMCB Mcb,
|
||||
FsRtlInitializeMcb (IN PMCB *Mcb,
|
||||
IN POOL_TYPE PoolType);
|
||||
|
||||
VOID STDCALL
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $Id: mcb.c,v 1.14 2004/08/21 20:36:38 tamlin Exp $
|
||||
/* $Id: mcb.c,v 1.15 2004/11/21 16:34:56 navaraf Exp $
|
||||
*
|
||||
* reactos/ntoskrnl/fs/mcb.c
|
||||
*
|
||||
@@ -92,11 +92,18 @@ FsRtlGetNextMcbEntry (IN PMCB Mcb,
|
||||
* @unimplemented
|
||||
*/
|
||||
VOID STDCALL
|
||||
FsRtlInitializeLargeMcb(IN PLARGE_MCB Mcb,
|
||||
FsRtlInitializeLargeMcb(IN PLARGE_MCB *Mcb,
|
||||
IN POOL_TYPE PoolType)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
Mcb->PoolType = PoolType;
|
||||
PLARGE_MCB NewMcb;
|
||||
NewMcb = ExAllocatePool(PagedPool, sizeof(LARGE_MCB));
|
||||
if (NewMcb != NULL)
|
||||
{
|
||||
ExInitializeFastMutex(&NewMcb->FastMutex);
|
||||
NewMcb->PoolType = PoolType;
|
||||
UNIMPLEMENTED;
|
||||
}
|
||||
*Mcb = NewMcb;
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -104,10 +111,10 @@ FsRtlInitializeLargeMcb(IN PLARGE_MCB Mcb,
|
||||
* @implemented
|
||||
*/
|
||||
VOID STDCALL
|
||||
FsRtlInitializeMcb (IN PMCB Mcb,
|
||||
FsRtlInitializeMcb (IN PMCB *Mcb,
|
||||
IN POOL_TYPE PoolType)
|
||||
{
|
||||
FsRtlInitializeLargeMcb(& Mcb->LargeMcb, PoolType);
|
||||
FsRtlInitializeLargeMcb((PLARGE_MCB *)Mcb, PoolType);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
; $Id: ntoskrnl.def,v 1.200 2004/11/12 12:05:27 ekohl Exp $
|
||||
; $Id: ntoskrnl.def,v 1.201 2004/11/21 16:34:57 navaraf Exp $
|
||||
;
|
||||
; reactos/ntoskrnl/ntoskrnl.def
|
||||
;
|
||||
@@ -241,7 +241,7 @@ FsRtlIsTotalDeviceFailure@4
|
||||
FsRtlLegalAnsiCharacterArray DATA
|
||||
FsRtlLookupLargeMcbEntry@32
|
||||
FsRtlLookupLastLargeMcbEntry@12
|
||||
FsRtlLookupLastLargeMcbEntryAndInde@16=FsRtlLookupLastLargeMcbEntryAndIndex@16
|
||||
FsRtlLookupLastLargeMcbEntryAndIndex@16
|
||||
FsRtlLookupLastMcbEntry@12
|
||||
FsRtlLookupMcbEntry@20
|
||||
FsRtlLookupPerFileObjectContext@12
|
||||
@@ -282,6 +282,7 @@ FsRtlRemovePerStreamContext@12
|
||||
FsRtlResetLargeMcb@8
|
||||
FsRtlSplitLargeMcb@20
|
||||
FsRtlSyncVolumes@12
|
||||
FsRtlTeardownPerStreamContexts@4
|
||||
FsRtlTruncateLargeMcb@12
|
||||
FsRtlTruncateMcb@8
|
||||
FsRtlUninitializeFileLock@4
|
||||
|
||||
Reference in New Issue
Block a user