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 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應