GetRedirectPrintingLogFile

 

#include “BlackIceDEVMODE.h”

 

BOOL GetRedirectPrintingLogFile (BlackIceDEVMODE* pDevMode, LPTSTR pLogFileName, DWORD* pSize);

Description

Returns the path and filename of the redirect printing log file.

Parameters

BlackIceDEVMODE* pDevMode               - pointer to the BlackIceDEVMODE structure.

LPTSTR pLogFileName                             - string value for containing the full path and filename of the redirect printing    log file.

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

Return value

TRUE on success, otherwise FALSE. If the size of the pLogFileName parameter is small the function returns FALSE and the pSize will contain the required memory size in bytes.

Programming Notes

None

Code Example

None