ReactOS 0.4.16-dev-340-g0540c21
precomp.h File Reference
#include <stdio.h>
#include <windef.h>
#include <winbase.h>
#include <ndk/rtlfuncs.h>
#include <fmifs/fmifs.h>
Include dependency graph for precomp.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _IFS_PROVIDER
 

Macros

#define WIN32_NO_STATUS
 
#define NTOS_MODE_USER
 

Typedefs

typedef struct _IFS_PROVIDER IFS_PROVIDER
 
typedef struct _IFS_PROVIDERPIFS_PROVIDER
 

Functions

PIFS_PROVIDER GetProvider (IN PWCHAR FileSytem)
 

Variables

LIST_ENTRY ProviderListHead
 

Macro Definition Documentation

◆ NTOS_MODE_USER

#define NTOS_MODE_USER

Definition at line 24 of file precomp.h.

◆ WIN32_NO_STATUS

#define WIN32_NO_STATUS

Definition at line 18 of file precomp.h.

Typedef Documentation

◆ IFS_PROVIDER

◆ PIFS_PROVIDER

Function Documentation

◆ GetProvider()

PIFS_PROVIDER GetProvider ( IN PWCHAR  FileSytem)

Definition at line 23 of file init.c.

25{
26 PLIST_ENTRY ListEntry;
28
29 ListEntry = ProviderListHead.Flink;
30 while (ListEntry != &ProviderListHead)
31 {
32 Provider = CONTAINING_RECORD(ListEntry, IFS_PROVIDER, ListEntry);
33 if (_wcsicmp(Provider->Name, FileSystem) == 0)
34 return Provider;
35 ListEntry = ListEntry->Flink;
36 }
37
38 /* Provider not found */
39 return NULL;
40}
PWCHAR FileSystem
Definition: format.c:72
#define NULL
Definition: types.h:112
LIST_ENTRY ProviderListHead
Definition: init.c:20
_Check_return_ _CRTIMP int __cdecl _wcsicmp(_In_z_ const wchar_t *_Str1, _In_z_ const wchar_t *_Str2)
Definition: typedefs.h:120
struct _LIST_ENTRY * Flink
Definition: typedefs.h:121
#define CONTAINING_RECORD(address, type, field)
Definition: typedefs.h:260

Variable Documentation

◆ ProviderListHead

LIST_ENTRY ProviderListHead
extern