ReactOS
0.4.16-dev-91-g764881a
misc_common.cpp
Go to the documentation of this file.
1
2
// Copyright (C) Alexander Telyatnikov, Ivan Keliukh, Yegor Anchishkin, SKIF Software, 1999-2013. Kiev, Ukraine
3
// All rights reserved
4
// This file was released under the GPLv2 on June 2015.
6
7
8
VOID
9
UDFSetModified
(
10
IN
PVCB
Vcb
11
)
12
{
13
if
(
UDFInterlockedIncrement
((
PLONG
)&(
Vcb
->Modified)) & 0x80000000)
14
Vcb
->Modified = 2;
15
}
// end UDFSetModified()
16
17
VOID
18
UDFPreClrModified
(
19
IN
PVCB
Vcb
20
)
21
{
22
Vcb
->Modified = 1;
23
}
// end UDFPreClrModified()
24
25
VOID
26
UDFClrModified
(
27
IN
PVCB
Vcb
28
)
29
{
30
UDFPrint
((
"ClrModified\n"
));
31
UDFInterlockedDecrement
((
PLONG
)&(
Vcb
->Modified));
32
}
// end UDFClrModified()
33
UDFInterlockedDecrement
#define UDFInterlockedDecrement(addr)
Definition:
env_spec_w32.h:677
UDFInterlockedIncrement
#define UDFInterlockedIncrement(addr)
Definition:
env_spec_w32.h:675
void
Definition:
nsiface.idl:2307
UDFPreClrModified
VOID UDFPreClrModified(IN PVCB Vcb)
Definition:
misc_common.cpp:18
UDFSetModified
VOID UDFSetModified(IN PVCB Vcb)
Definition:
misc_common.cpp:9
UDFClrModified
VOID UDFClrModified(IN PVCB Vcb)
Definition:
misc_common.cpp:26
Vcb
#define Vcb
Definition:
cdprocs.h:1415
_VCB
Definition:
cdstruc.h:498
IN
#define IN
Definition:
typedefs.h:39
PLONG
int32_t * PLONG
Definition:
typedefs.h:58
UDFPrint
#define UDFPrint(Args)
Definition:
udffs.h:223
drivers
filesystems
udfs
Include
misc_common.cpp
Generated on Sat Oct 5 2024 06:05:28 for ReactOS by
1.9.6