GetPrintOutputInfo-Funktion (winspool.h)

Syntax

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

Parameter

[in] hWnd

[in] pszPrinter

[out] phFile

[out] ppszOutputFile

Rückgabewert

Wenn diese Funktion erfolgreich ist, wird S_OK zurückgegeben. Andernfalls wird ein Fehlercode HRESULT zurückgegeben.

Anforderungen

Anforderung Wert
Zielplattform Windows
Kopfzeile winspool.h