GetRedirectPrintingPrinterName

 

 

#include “BlackIceDEVMODE.h”

 

BOOL GetRedirectPrintingPrinterName(BlackIceDEVMODE* pDevMode, LPTSTR pPrinterName, DWORD* dwSize);

Description

Returns the name of the printer that the print job will be redirected to. This function is obsolete.

Parameters

BlackIceDEVMODE* pDevMode               - pointer to the BlackIceDEVMODE structure.

LPTSTR pPrinterName                               - This value contains the name of the printer to redirect.

DWORD* dwSize                                         - pointer to variable that contains the length of the pPrinterName in bytes.

Return value

TRUE on success otherwise FALSE.

Programming Notes

None

Code Example

None