PrinterMessageBoxW 函数 (winspool.h)

本主题介绍 PrinterMessageBoxW 函数。

语法

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

参数

[in] hPrinter

hPrinter定义 HANDLE 参数。

Error

定义 DWORD 参数 错误

[in] hWnd

hWnd定义 HWND 参数。

[in] pText

pText定义 LPWSTR 参数。

[in] pCaption

pCaption定义 LPWSTR 参数。

dwType

dwType定义 DWORD 参数。

返回值

DWORD

要求

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