Previous Topic: File Pre-Created from FilenameNext Topic: Common Parameter Details


File Pre-Created from IStream

Support introduced in CA DataMinder 4.7

Initialise IWgnImportFileObject by calling InitialiseFile() with:

objectTransport  WGN_IMPORTOBJ_TRANSPORT_ISTREAM
objectData       Variant type: VT_UNKNOWN  IUnknown* interface from 
                                           IStream* interface to source data

Import the pre-created file object with:

objectFormat     WGN_IMPORTOBJ_FORMAT_PRECREATED
objectType       WGN_IMPORTOBJ_TYPE_PRECREATED
objectTransport  WGN_IMPORTOBJ_TRANSPORT_COM
objectData       Variant type: VT_UNKNOWN  IUnknown* interface 
                                           from IWgnImportFileObject.