ReactOS
0.4.16-dev-1007-g2e85425
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
Functions
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
Variables
_
c
d
e
f
g
h
i
l
m
n
o
p
s
t
u
x
Typedefs
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
x
Enumerations
_
a
b
c
d
f
i
l
m
o
p
s
t
w
x
Enumerator
a
b
c
d
e
f
g
h
i
m
n
o
p
r
s
t
u
v
w
x
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
u
v
w
z
Enumerator
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Related Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
v
x
Files
File List
File Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Examples
string.c
Go to the documentation of this file.
1
/*
2
* PROJECT: VFAT Filesystem
3
* LICENSE: GPL-2.0-or-later (https://spdx.org/licenses/GPL-2.0-or-later)
4
* PURPOSE: Volume routines
5
* COPYRIGHT: Copyright 1998 Jason Filby <jasonfilby@yahoo.com>
6
* Copyright 2020 Doug Lyons <douglyons@douglyons.com>
7
*/
8
9
/* INCLUDES *****************************************************************/
10
11
#include "
vfat.h
"
12
13
#define NDEBUG
14
#include <debug.h>
15
16
/* FUNCTIONS ****************************************************************/
17
18
const
WCHAR
*
long_illegals
=
L
"\"*\\<>/?:|"
;
19
20
BOOLEAN
21
vfatIsLongIllegal
(
22
WCHAR
c
)
23
{
24
return
wcschr
(
long_illegals
,
c
) ?
TRUE
:
FALSE
;
25
}
26
27
BOOLEAN
28
IsDotOrDotDot
(
PCUNICODE_STRING
Name
)
29
{
30
return
((
Name
->Length ==
sizeof
(
WCHAR
) &&
Name
->Buffer[0] ==
L
'.'
) ||
31
(
Name
->Length == 2 *
sizeof
(
WCHAR
) &&
Name
->Buffer[0] ==
L
'.'
&&
Name
->Buffer[1] ==
L
'.'
));
32
}
BOOLEAN
unsigned char BOOLEAN
Definition:
ProcessorBind.h:185
Name
LPWSTR Name
Definition:
desk.c:124
TRUE
#define TRUE
Definition:
types.h:120
FALSE
#define FALSE
Definition:
types.h:117
wcschr
#define wcschr
Definition:
compat.h:17
vfatIsLongIllegal
BOOLEAN vfatIsLongIllegal(WCHAR c)
Definition:
string.c:21
IsDotOrDotDot
BOOLEAN IsDotOrDotDot(PCUNICODE_STRING Name)
Definition:
string.c:28
long_illegals
const WCHAR * long_illegals
Definition:
string.c:18
c
const GLubyte * c
Definition:
glext.h:8905
L
#define L(x)
Definition:
ntvdm.h:50
_UNICODE_STRING
Definition:
env_spec_w32.h:368
vfat.h
WCHAR
__wchar_t WCHAR
Definition:
xmlstorage.h:180
drivers
filesystems
vfatfs
string.c
Generated on Fri Apr 18 2025 06:17:43 for ReactOS by
1.9.6