GEOS SDK TechDocs
|
|
3.2 Opening or Creating a VM File
|
3.4 Creating and Freeing Blocks
VMGetAttributes(), VMSetAttributes()
When a VM file is created, it is given a set of
VMAttributes
(see VMA_SYNC_UPDATE Allow synchronous updates only. Instructs VM Manager to update the file only when you call un updating routine (VMUpdate(), VMSave(), etc.). This attribute is off by default (indicating that the VM manager should feel free to upd
).
These attributes can be examined with the routine
VMGetAttributes()
. The routine takes one argument, namely the handle of the VM file (which is overridden if a default VM file is set). It returns the
VMAttributes
flags.
You can change the attributes by calling
VMSetAttributes()
. This routine takes three arguments: the file handle (which may be overridden), a set of bits which should be turned on, and a set of bits which should be turned off. It returns the new
VMAttributes
flags.
GEOS SDK TechDocs
|
|
3.2 Opening or Creating a VM File
|
3.4 Creating and Freeing Blocks