Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper 5.3 . Technical Reference - <b>rawlock()</b> http://www.X-Hacker.org [<<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()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson