GetPrintOutputInfo 函数 (winspool.h)
语法
HRESULT GetPrintOutputInfo(
[in] HWND hWnd,
[in] PCWSTR pszPrinter,
[out] HANDLE *phFile,
[out] PWSTR *ppszOutputFile
);
参数
[in] hWnd
[in] pszPrinter
[out] phFile
[out] ppszOutputFile
返回值
如果此函数成功,则返回 S_OK。 否则,将返回 HRESULT 错误代码。
要求
要求 | 值 |
---|---|
目标平台 | Windows |
标头 | winspool.h |
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈