Função GetPrintOutputInfo (winspool.h)

Sintaxe

HRESULT GetPrintOutputInfo(
  [in]  HWND   hWnd,
  [in]  PCWSTR pszPrinter,
  [out] HANDLE *phFile,
  [out] PWSTR  *ppszOutputFile
);

Parâmetros

[in] hWnd

[in] pszPrinter

[out] phFile

[out] ppszOutputFile

Valor retornado

Se essa função for bem-sucedida, ela retornará S_OK. Caso contrário, ele retornará um código de erro HRESULT.

Requisitos

Requisito Valor
Plataforma de Destino Windows
Cabeçalho winspool.h