Methods for cDbUpdateUserCount

Name

Type

Description

DoCheckUserCount

Procedure

Should be send at the beginning of a program to check that the number of allowed users defined by the piMaxUsers property is not exceeded. If it is the program will exit.

DoReleaseUserCount

Procedure

Can be send to release the user count lock before a program ends. This is not necessary though as Windows automatically will release the lock.

CurrentNumberOfUsers

Function

Returns the current numbers of locked bits in the user count file. It takes no parameters. Returns an integer.