Previous Topic: Method InitialiseFileNext Topic: API Interfaces: Generating EVF Files


Method AddAdditionalFileStream

Use this method to add additional streams to the file object.

HRESULT AddAdditionalFileStream(
    [in]    WGN_IMPORTOBJ_TRANSPORT  streamTransport,
    [in]    VARIANT                  streamData,
    [in]    LPCOLESTR                streamName
    );

Where:

streamTransport

Specifies the method used to transfer data to the API. For details, see the typedef WGN_IMPORTOBJ_TRANSPORT. Currently the only supported transport for adding additional file streams is WGN_IMPORTOBJ_TRANSPORT_STREAM.

streamData

Specifies the source data being imported.

streamName

Specifies the name of the stream.