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