[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 rawLock()
 Perform various locks and unlocks
------------------------------------------------------------------------------
 Prototype

     ERRCODE rawLock(
                       AREAP wa,
                       USHORT action,
                       LONG lrecord
                   )

 Arguments

     wa is a pointer to self.

     action is a numeric value that represents the type of locking or
     unlocking to perform.  (See the definitions below.)

     lRecord is a numeric value that represents the record number on
     which to perform the lock or unlock.

 Description

     rawLock() performs one of the following actions:  file lock, file
     unlock, record lock, record unlock, header lock, header unlock, append
     lock, or append unlock.

     The lock or unlock performed is determined by the action performed.  The
     action parameter can be one of the following values:


     ------------------------------------------------------------------------
     Action Value   Action Performed
     ------------------------------------------------------------------------
     FILE_LOCK      File lock
     FILE_UNLOCK    File unlock
     REC_LOCK       Record lock of record number lrecord
     REC_UNLOCK     Unlock record number lrecord
     HEADER_LOCK    Header lock
     HEADER_UNLOCK  Header unlock
     APPEND_LOCK    Locks a newly appended record
     APPEND_UNLOCK  Unlocks a newly appended record
     ------------------------------------------------------------------------

 Files   Header file is Rdd.api.


See Also: AREA DBLOCKINFO lock() unlock()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson