BiValidateDevmode

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.

Syntax                 RetVal = [BIAdvPrn.]BiValidateDevmode  szPrinterName pDevMode

Returns               RetVal                    Boolean           TRUE if the DevMode was successfully validated, otherwise FALSE.

Remarks             szPrinterName      STRING         Printer Name (string).

                            pDevMode       BlackIceDEVMODE*     Pointer to the BlackIceDEVMODE structure.

See Also