#include “BIADVPRN.H”
BlackIceDEVMODE* BiLoadPrinterSettings(LPCTSTR printername);
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.
Parameters
|
LPCTSTR |
printername |
Printer Name (string). |
Return values
Pointer to the BlackIceDEVMODE structure or NULL if loading the DevMode has failed.
Requirements
Header : Declared in BiAdvPrn.h; include BiAdvPrn.h.
Library : Use BiAdvPrn.lib.
DLLs : BiAdvPrn.dll.