mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 18:06:04 +00:00
Little work on InitializeFmIfs
svn path=/trunk/; revision=2677
This commit is contained in:
parent
513784c84a
commit
57c6671059
1 changed files with 21 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
|||
/* $Id: init.c,v 1.1 1999/05/11 21:19:41 ea Exp $
|
||||
/* $Id: init.c,v 1.2 2002/03/07 00:24:24 ea Exp $
|
||||
*
|
||||
* COPYING: See the top level directory
|
||||
* PROJECT: ReactOS
|
||||
|
@ -15,11 +15,28 @@
|
|||
#include <fmifs.h>
|
||||
|
||||
/* FMIFS.8 */
|
||||
VOID
|
||||
__stdcall
|
||||
InitializeFmIfs(VOID)
|
||||
static BOOL FmIfsInitialized = FALSE;
|
||||
|
||||
static BOOL STDCALL
|
||||
InitializeFmIfsOnce (VOID)
|
||||
{
|
||||
/* TODO: Check how many IFS are installed in the system */
|
||||
/* TOSO: and register a descriptor for each one */
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
BOOL STDCALL
|
||||
InitializeFmIfs(VOID)
|
||||
{
|
||||
if (FALSE == FmIfsInitialized)
|
||||
{
|
||||
if (FALSE == InitializeFmIfsOnce())
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
FmIfsInitialized = TRUE;
|
||||
}
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
/* EOF */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue