TGetFileInfo
Return to Introduction  Previous page  Next page
A pointer to a method of this type is passed by the server as a parameter to the VcsInitAddin method. This method can be called to retrieve information about a file identified by FileID.

type  
  TGetFileInfo = function ( FileID: Cardinal; const pName, pLockedBy, pExtra: PChar;   
                            var TimeStamp, FileDate: Integer;   
                            var Virtual, Frozen, Removed: Boolean ): Integer; stdcall;  

Parameters

Name
Description
FileID
The ID of the file
pName
Returns the name of the file
pLockedBy
Returns a string representing the list of users who have a lock on this file
pExtra
For internal use.
TimeStamp
Returns the timestamp of the tip revision
FileDate
Returns the local date/time of the archive.
Virtual
Returns True if the file is a virtual archive
Frozen
Returns True if the file has been frozen
Removed
Returns True if the file has been removed.



 


© 1995-2018 MCN Software