Delphi (TCDirectIntf.pas)
function VcsLock( FileID, RevisionID: Cardinal; FullPath, LockComments: String; Lock, UpdateStatusOnLock: Boolean ): Integer;
Parameters
Name
|
Description
|
FileID
|
The ID of the file to lock
|
RevisionID
|
The ID of the Revision to lock, or 0 for the tip revision.
|
FullPath
|
The full path to the file. I.e. the path you want to lock the file against.
|
LockComments
|
Comments you want to be associated with the lock you are placing.
|
Lock
|
True to lock the file, false to unlock.
|
UpdateStatusOnLock
|
If true, the readonly status of the local file will be updated to indicate the lock status.
|
Return Value
Err_OK if successful or an error code indicating the error.
Exported
function TCDVcsLock( FileID, RevisionID: Cardinal; pFullPath, pLockComments: PChar; Lock, UpdateStatusOnLock: Boolean ): Integer; stdcall;
© 1995-2018 MCN Software