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