TCDVcsCheckOutFile
Return to Introduction  Previous page  Next page
Get or Check out a file.

Delphi (TCDirectIntf.pas)

function VcsCheckOutFile( FileID: Cardinal; var RevisionID: Cardinal; CheckOutInfo: PCheckOutInfo ): Integer;  

Parameters

Name
Description
FileID
The ID of the file to get/checkout.
RevisionID (Out)
Returns the ID of the revision that was retrieved.
CheckOutInfo
A pointer to a structure that contains checkout information.


Return Value

Err_OK if successful or an error code indicating the error.

Remarks

The pointer PCheckOutInfo points to a structure that contains checkout information, including comments and whether to lock the archive or not. There is a utility function, InitializeCheckInInfo, that will initialize the memory required for this pointer and a function, ReleaseCheckInInfo , that releases the memory.

Exported

function TCDVcsCheckOutFile( FileID: Cardinal; var RevisionID: Cardinal; CheckOutInfo: PCheckOutInfo ): Integer; stdcall;  


 


© 1995-2018 MCN Software