KI_SET_WLOCK_COUNT
Argument | Enumeration | Purpose |
---|---|---|
handle | Handle | |
count | New value for count | |
oldCount | Previous value | |
status | KDB_ERROR_ENUM | Return status |
KI_SET_WLOCK_COUNT
This function allows a program to reset the mode 'W' user count for a table to the value supplied in count. The previous value is returned in oldCount. If the new value is negative then the count is not affected as the call just queries the current value. If you attempt to set the count to zero then it will be set to 1 as you must have the table open at least in mode 'W' to issue this call.
See also KI_WMODE_BITMAP