PrinterMessageBoxA function (winspool.h)

This topic describes the PrinterMessageBoxA function.

Syntax

DWORD PrinterMessageBoxA(
  [in] HANDLE hPrinter,
       DWORD  Error,
  [in] HWND   hWnd,
  [in] LPSTR  pText,
  [in] LPSTR  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 LPSTR parameter pText.

[in] pCaption

Defines the LPSTR parameter pCaption.

dwType

Defines the DWORD parameter dwType.

Return value

DWORD

Requirements

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