TCVcsCheckInFilesEx
Return to Introduction  Previous page  Next page
Checks in the specified files without displaying the CheckIn dialog box.

Delphi (TCIntf.pas)

function TCVcsCheckInFilesEx( ProjectID: Cardinal; FileList: TStrings; CheckInInfo: PCheckInInfo; AddNew: Boolean ): Integer;  

Parameters

Name
Description
ProjectID
ID of the project to check the files into
FileList
List of files to check in
CheckInInfo
A pointer to a structure that contains checkin information.
AddNew
If True, any files that do not already exist will be added to the repository.


Return Value

Err_OK if successful or an error code indicating the error.

Remarks

The pointer PCheckInInfo points to a structure that contains checkin information, including comments. There is a utility function, InitializeCheckInInfo, that will initialize the memory required for this pointer and a function, ReleaseCheckInInfo , that releases the memory.

After the files are checked in, the Status dialog box will show the success or failure of each action. You then have the ability to retry the failed actions.

Exported

function TCVcsCheckInFilesEx( ProjectID: Cardinal; FileList: PChar; CheckInInfo: PCheckInInfo; AddNew: Boolean ): Integer; stdcall;  


 


© 1995-2018 MCN Software