다음을 통해 공유


IInstallationProgress::GetUpdateResult 메서드(wuapi.h)

지정된 업데이트의 설치 또는 제거 결과를 반환합니다.

구문

HRESULT GetUpdateResult(
  [in]  LONG                      updateIndex,
  [out] IUpdateInstallationResult **retval
);

매개 변수

[in] updateIndex

업데이트를 지정하는 인덱스 값(0부터 시작)입니다.

[out] retval

지정된 업데이트에 대한 정보를 포함하는 IUpdateInstallationResult 인터페이스입니다.

반환 값

성공하면 S_OK 반환합니다. 그렇지 않으면 COM 또는 Windows 오류 코드를 반환합니다.

설명

다운로드 진행률을 추적하려면 GetUpdateResult 메서드를 반복적으로 호출해야 합니다. 이 작업을 수행해야 하기 때문입니다.
IUpdateInstallationResult 인터페이스는 다운로드 중에 자동으로 업데이트되지 않습니다.

요구 사항

   
지원되는 최소 클라이언트 Windows XP, Windows 2000 Professional SP3 포함 [데스크톱 앱만 해당]
지원되는 최소 서버 Windows Server 2003, Windows 2000 Server SP3 [데스크톱 앱만 해당]
대상 플랫폼 Windows
헤더 wuapi.h
라이브러리 Wuguid.lib
DLL Wuapi.dll

참고 항목

IInstallationProgress