[<<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()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson