GetPrintOutputInfo function

Syntax

HRESULT GetPrintOutputInfo(
  HWND   hWnd,
  PCWSTR pszPrinter,
  HANDLE *phFile,
  PWSTR  *ppszOutputFile
);

Parameters

hWnd

pszPrinter

phFile

ppszOutputFile

Return Value

If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

   
Target Platform Windows
Header winspool.h