PrinterMessageBoxA 函数 (winspool.h)

本主题介绍 PrinterMessageBoxA 函数。

语法

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

参数

[in] hPrinter

hPrinter定义 HANDLE 参数。

Error

定义 DWORD 参数 错误

[in] hWnd

hWnd定义 HWND 参数。

[in] pText

定义 pText LPSTR 参数。

[in] pCaption

pCaption定义 LPSTR 参数。

dwType

dwType定义 DWORD 参数。

返回值

DWORD

要求

要求 价值
目标平台 窗户
标头 winspool.h (包括 Winspool.h)