Back to index

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

Go to the source code of this file.

Functions

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);

#ifdef MOZ_REQUIRE_CURRENT_SDK
  if (CheckForExtendedDialog()) {
    rv = ShowNativePrintDialogEx(aHWnd, aPrintSettings);
  } else {
    rv = ShowNativePrintDialog(aHWnd, aPrintSettings);
  }
#else
  rv = ShowNativePrintDialog(aHWnd, aPrintSettings);
#endif

  return rv;
}