BiLoadPrinterSettings

Description         This function returns a pointer to a BlackIceDEVMODE structure. The settings of the specified printer can be accessed through the BlackIceDEVMODE structure. The function allocates the required amount of memory for the structure. The allocated memory must be freed by calling the ReleaseBlackIceDEVMODE() function.

Syntax                 RetVal = [BIAdvPrn.]BiLoadPrinterSettings  printername

Returns               RetVal     BlackIceDEVMODE*  Pointer to the BlackIceDEVMODE structure or NULL if loading the DevMode has failed.

Remarks             Printername          STRING         Printer Name (string).

See Also