GetPrintOutputInfo function (winspool.h)
Syntax
HRESULT GetPrintOutputInfo(
[in] HWND hWnd,
[in] PCWSTR pszPrinter,
[out] HANDLE *phFile,
[out] PWSTR *ppszOutputFile
);
Parameters
[in] hWnd
[in] pszPrinter
[out] phFile
[out] ppszOutputFile
Return value
If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | winspool.h |