GetPrintOutputInfo 関数 (winspool.h)

構文

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

パラメーター

[in] hWnd

[in] pszPrinter

[out] phFile

[out] ppszOutputFile

戻り値

この関数が成功すると、 S_OKが返されます。 そうでない場合は、HRESULT エラー コードを返します。

要件

要件
対象プラットフォーム Windows
ヘッダー winspool.h