mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 07:02:56 +00:00
Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys.
This commit is contained in:
parent
b94e2d8ca0
commit
c2c66aff7d
24198 changed files with 0 additions and 37285 deletions
33
drivers/filesystems/udfs/Include/misc_common.cpp
Normal file
33
drivers/filesystems/udfs/Include/misc_common.cpp
Normal file
|
@ -0,0 +1,33 @@
|
|||
////////////////////////////////////////////////////////////////////
|
||||
// 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()
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue