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

     ERRCODE lock(
                       AREAP wa,
                       LPDBLOCKINFO lpLockInfo
                   )

 Arguments

     wa is a pointer to self.

     lpLockInfo is a pointer to a structure containing information about
     the lock to be obtained.

 Description

     lock() performs a network lock in the work area.  The type of lock to be
     obtained is defined in lpLockInfo.  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 lpLockInfo->uiMethod and return a
        success code in lpLockInfo->fResult as TRUE if successful or FALSE if
        not.

 Files  Header file is Rdd.api.


See Also: AREA DBLOCKINFO unlock()

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