TCDVcsShareFile
Return to Introduction  Previous page  Next page
Creates a new, shared, file based on another file.

Delphi (TCDirectIntf.pas)

function VcsShareFilevar NewFileID: Cardinal; SourceFileID, TargetFolderID: Cardinal ): Integer;  

Parameters

Name
Description
NewFileID (Out)
Returns the ID of the newly created file.
SourceFileID
The file that the new file should be based on
TargetFolderID
The ID of the folder to create the new file in


Return Value

Err_OK if successful or an error code indicating the error.

Remarks

Shared files allow the same source and history to be shared amongst multiple projects. The new file is a placeholder for the source file and doesn't maintain its own history.

Exported

function TCDVcsShareFilevar NewFileID: Cardinal; SourceFileID, TargetFolderID: Cardinal ): Integer; stdcall;  


 


© 1995-2018 MCN Software