Available in both TCDirectIntf and TCIntf.
Delphi (TCIntf.pas, TCDirectIntf)
| function VcsImport( FileName: String; Progress: TImportExportProgress ): Integer;
|
Parameters
|
Name
|
Description
|
|
FileName
|
Specifies the file to Import. The file contains information about what is to be imported.
|
|
Progress
|
The pointer to a Feedback function that allows feedback to be reported to the calling application. Can be nil.
|
Return Value
Err_OK if successful or an error code indicating the error.
Exported
Since this is a wrapper function, and utilizes server-side threads, it is implemented by calling several functions. For an example of how to user these functions, check the VcsImport function call in TCIntf.pas:
| function TCDVcsBeginImport: Integer; stdcall;
|
| function TCDVcsSetImportData( const Data: TStream ): Integer; stdcall;
|
| function TCDVcsDoImport: Integer; stdcall;
|
| function TCDVcsGetImportProgress: Integer; stdcall;
|
| function TCDVcsGetImportResult: Integer; stdcall;
|
| function TCDVcsEndImport: Integer; stdcall;
|
© 1995-2011 Quality Software Components Ltd