#include “BlackIceDEVMODE.h”
BOOL GetRedirectedPrinter (BlackIceDEVMODE* pDevMode, LPTSTR pPrinterName, DWORD* dwSize, int iPosition);
Description
Returns the name of the printer that the print job will be redirected to.
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.
int iPosition - Zero based integer value. This value indicates which redirect printer name you want to retrieve.
Return value
TRUE on success otherwise FALSE.
Programming Notes
None
Code Example
None