SftPrintPreview/DLL 2.0

IsDefaultPrinterExternal

Softel vdm, Inc.

The IsDefaultPrinterExternal function returns whether the passed printer structure defines the default printer.

C

BOOL WINAPI SftPrintPreview_IsDefaultPrinterExternal(SFTPRINTPREVIEW_PRINTERRESULT * Prt);

C++

static BOOL CSftPrintPreview::IsDefaultPrinterExternal(SFTPRINTPREVIEW_PRINTERRESULT * lpPrt);

Parameters

Prt

The printer definitions.

Returns

Returns TRUE if the printer is the default printer, FALSE otherwise.

Comments

The IsDefaultPrinterExternal function returns whether the passed printer structure defines the default printer.

GetCurrentPrinter can be used to retrieve the current, default printer's settings.

The IsDefaultPrinterExternal function doesn't require a SftPrintPreview control to be active. This allows an application to manipulate the current/selected printer before the first SftPrintPreview control is created.

See Also  C/C++ API  |  C++ Classes  |  Notifications


Feedback / comments / error reports for this topic
© 2016 - Softel vdm, Inc. - www.softelvdm.com