BIAPGetOutputFileName

 

#include "BiAutoPrint.h"

 

BOOL BIAPGetOutputFileName (int iIndex, LPWSTR szValue, DWORD* dwLength);

 

Description

The BIAPGetOutputFileName function retrieves the output files created by Auto-print since the last call to BIAPStartPrinting or BIAPStartPrintingEx. Use the BIAPGetNumberOfOutputFiles function to retrieve the number of output files.

 

Parameters

int iIndex

The 0-based index of the output file to return. Must be less than the return value of BIAPGetNumberOfOutputFiles.

LPWSTR szValue

The buffer for the output file name.

DWORD* dwLength

The size of the buffer, in characters.

 

Return value

TRUE on success, otherwise FALSE.

 

Requirements

Header:

BiAutoPrint.h

Library:

BiAutoPrint32.lib (for 32 bit)

BiAutoPrint64.lib (for 64 bit)

DLL:

BiAutoPrint32.dll (for 32 bit)

BiAutoPrint64.dll (for 64 bit)

 

This function is supported by Auto-print SDK version 16.12 and above.