Partager via


GetPrintOutputInfo, fonction (winspool.h)

Syntaxe

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

Paramètres

[in] hWnd

[in] pszPrinter

[out] phFile

[out] ppszOutputFile

Valeur de retour

Si cette fonction réussit, elle retourne S_OK. Sinon, elle retourne un HRESULT code d’erreur.

Exigences

Exigence Valeur
plateforme cible Windows
d’en-tête winspool.h