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>dblockinfo</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 DBLOCKINFO
 Information necessary to lock a row or table for exclusive access
------------------------------------------------------------------------------
 Structure

     typedef struct
     {
        ULONG  itmRecID;
        USHORT uiMethod;
        BOOL   fResult;
     } DBLOCKINFO;
     
     typedef DBLOCKINFO far * LPDBLOCKINFO;

 Elements

     itmRecID

        Contains a numeric value indicating the row to lock.  This element is
        only meaningful if uimethod. is set to DBLM_EXCLUSIVE or
        DBLM_MULTIPLE.

     uiMethod

        Contains a literal constant indicating the type of lock to obtain.
        The numeric constants used for uimethod. are defined in Rdd.api and
        have the following meanings:

        DBLOCKINFO Lock Type Values
        ---------------------------------------------------------------------
        Constant          Meaning
        ---------------------------------------------------------------------
        DBLM_EXCLUSIVE    Lock a row, releasing currently locked rows
        DBLM_MULTIPLE     Lock a row, maintaining currently locked rows
        DBLM_FILE         Lock a table, releasing locks currently held
        ---------------------------------------------------------------------

     fResult

        Contains a boolean value specifying the success of the lock
        operation.

 Files  Header file is Rdd.api.

 Used By    lock()


See Also: lock()

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