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
10 IN PVCB Vcb
11 )
12{
13 if(UDFInterlockedIncrement((PLONG)&(Vcb->Modified)) & 0x80000000)
14 Vcb->Modified = 2;
15} // end UDFSetModified()
16
17VOID
19 IN PVCB Vcb
20 )
21{
22 Vcb->Modified = 1;
23} // end UDFPreClrModified()
24
25VOID
27 IN PVCB Vcb
28 )
29{
30 UDFPrint(("ClrModified\n"));
31 UDFInterlockedDecrement((PLONG)&(Vcb->Modified));
32} // end UDFClrModified()
33
#define UDFInterlockedDecrement(addr)
Definition: env_spec_w32.h:677
#define UDFInterlockedIncrement(addr)
Definition: env_spec_w32.h:675
VOID UDFPreClrModified(IN PVCB Vcb)
Definition: misc_common.cpp:18
VOID UDFSetModified(IN PVCB Vcb)
Definition: misc_common.cpp:9
VOID UDFClrModified(IN PVCB Vcb)
Definition: misc_common.cpp:26
#define Vcb
Definition: cdprocs.h:1415
Definition: cdstruc.h:498
#define IN
Definition: typedefs.h:39
int32_t * PLONG
Definition: typedefs.h:58
#define UDFPrint(Args)
Definition: udffs.h:223