GetOCROutputDir

 

#include “BlackIceDEVMODE.h”

 

BOOL GetOCROutputDir(BlackIceDEVMODE* pBlackIceDevMode, LPTSTR pValue, DWORD* pSize)

Description

Returns the folder where the output of the OCR will be generated. If it returns an empty string, the normal printer driver output directory will be used. If pValue is NULL and pSize points to a 0 value, the required buffer size will be returned in *pSize.

Parameters

BlackIceDEVMODE* pDevMode - pointer to the BlackIceDEVMODE structure.

LPTSTR pValue      - buffer for the output folder

DWORD* pSize       - pointer to variable that contains the length of pValue in bytes.

Return value

TRUE on success, FALSE otherwise.

Programming Notes

None

Code Example

None