PrinterMessageBoxW function (winspool.h)

This topic describes the PrinterMessageBoxW function.

Syntax

DWORD PrinterMessageBoxW(
  [in] HANDLE hPrinter,
       DWORD  Error,
  [in] HWND   hWnd,
  [in] LPWSTR pText,
  [in] LPWSTR pCaption,
       DWORD  dwType
);

Parameters

[in] hPrinter

Defines the HANDLE parameter hPrinter.

Error

Defines the DWORD parameter Error.

[in] hWnd

Defines the HWND parameter hWnd.

[in] pText

Defines the LPWSTR parameter pText.

[in] pCaption

Defines the LPWSTR parameter pCaption.

dwType

Defines the DWORD parameter dwType.

Return value

DWORD

Requirements

Requirement Value
Target Platform Windows
Header winspool.h (include Winspool.h)