mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 10:35:28 +00:00
33 lines
781 B
C++
33 lines
781 B
C++
////////////////////////////////////////////////////////////////////
|
|
// Copyright (C) Alexander Telyatnikov, Ivan Keliukh, Yegor Anchishkin, SKIF Software, 1999-2013. Kiev, Ukraine
|
|
// All rights reserved
|
|
// This file was released under the GPLv2 on June 2015.
|
|
////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
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
|
|
)
|
|
{
|
|
UDFPrint(("ClrModified\n"));
|
|
UDFInterlockedDecrement((PLONG)&(Vcb->Modified));
|
|
} // end UDFClrModified()
|
|
|