mirror of
https://github.com/reactos/reactos.git
synced 2024-08-27 05:38:41 +00:00
34 lines
781 B
C++
34 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()
|
|
|