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_OKzurückgegeben. Andernfalls wird ein HRESULT- Fehlercode zurückgegeben.
Anforderungen
Anforderung | Wert |
---|---|
Zielplattform- | Fenster |
Header- | winspool.h |