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) |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for