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>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  record;
        USHORT method;
        BOOL   result;
     } DBLOCKINFO;
     
     typedef DBLOCKINFO far * DBLOCKINFOP;

 Elements

     record

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

     method

        Contains a literal constant indicating the type of lock to obtain.
        The numeric constants used for method 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
        ---------------------------------------------------------------------

     result

        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