Back to index

lightning-sunbird  0.9+nobinonly
nsPrintDialogUtil.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


nsresult NativeShowPrintDialog (HWND aHWnd, nsIWebBrowserPrint *aWebBrowserPrint, nsIPrintSettings *aPrintSettings)

Function Documentation

nsresult NativeShowPrintDialog ( HWND  aHWnd,
nsIWebBrowserPrint aWebBrowserPrint,
nsIPrintSettings aPrintSettings 

Definition at line 1491 of file nsPrintDialogUtil.cpp.

  nsresult rv = NS_ERROR_FAILURE;

  PrepareForPrintDialog(aWebBrowserPrint, aPrintSettings);

  if (CheckForExtendedDialog()) {
    rv = ShowNativePrintDialogEx(aHWnd, aPrintSettings);
  } else {
    rv = ShowNativePrintDialog(aHWnd, aPrintSettings);
  rv = ShowNativePrintDialog(aHWnd, aPrintSettings);

  return rv;