2015-06-06 12:52:13 +00:00
|
|
|
////////////////////////////////////////////////////////////////////
|
|
|
|
// Copyright (C) Alexander Telyatnikov, Ivan Keliukh, Yegor Anchishkin, SKIF Software, 1999-2013. Kiev, Ukraine
|
|
|
|
// All rights reserved
|
2015-06-08 14:24:47 +00:00
|
|
|
// This file was released under the GPLv2 on June 2015.
|
2015-06-06 12:52:13 +00:00
|
|
|
////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
|
|
|
|
VOID
|
|
|
|
UDFSetModified(
|
|
|
|
IN PVCB Vcb
|
|
|
|
)
|
|
|
|
{
|
|
|
|
if(UDFInterlockedIncrement((PLONG)&(Vcb->Modified)) & 0x80000000)
|
|
|
|
Vcb->Modified = 2;
|
|
|
|
} // end UDFSetModified()
|
|
|
|
|
|
|
|
VOID
|
|
|
|
UDFPreClrModified(
|
|
|
|
IN PVCB Vcb
|
|
|
|
)
|
|
|
|
{
|
|
|
|
Vcb->Modified = 1;
|
|
|
|
} // end UDFPreClrModified()
|
|
|
|
|
|
|
|
VOID
|
|
|
|
UDFClrModified(
|
|
|
|
IN PVCB Vcb
|
|
|
|
)
|
|
|
|
{
|
2017-06-03 20:09:21 +00:00
|
|
|
UDFPrint(("ClrModified\n"));
|
2015-06-06 12:52:13 +00:00
|
|
|
UDFInterlockedDecrement((PLONG)&(Vcb->Modified));
|
|
|
|
} // end UDFClrModified()
|
|
|
|
|