#include “BIADVPRN.H”
BOOL BiValidateDevmode( LPTSTR szPrinterName,
BlackIceDEVMODE* pDevMode);
Description
Use this function to validate your printer settings. This function validates all of the DevMode data members. All of the invalid data members will be changed to a valid value.
Parameters
|
LPTSTR |
szPrinterName |
Printer Name (string). |
|
BlackIceDEVMODE* |
pDevMode |
Pointer to the BlackIceDEVMODE structure. |
Return values
TRUE if the DevMode was successfully validated, otherwise FALSE.