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.2 . Technical Reference - <b>lock()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 lock()
 Perform a network lock in the workarea
------------------------------------------------------------------------------
 Prototype

     ERRCODE lock(
                   WORKAREAP wa,
                   DBLOCKINFOP lockInfo
                 )

 Arguments

     wa is a pointer to self.

     lockInfo is a pointer to a structure containing information about
     the lock to be obtain.

 Description

     Performs a network lock in the workarea.  The type of lock to be
     obtained is defined in lockInfo.  See DBLOCKINFO for more information on
     the lock types available.

 Default Behavior

     You must implement the default behavior of this method through a
     subclass.

 Implementation Notes

     .  Your implementation of lock() should determine the type of
        lock to be obtained by checking lockInfo->method and return a success
        code in lockInfo->result as TRUE is successful or FALSE if not.

 Files:  Header file is Rdd.api.


See Also: DBLOCKINFO WORKAREA unlock()

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