IPackageExecutionStateChangeNotification::OnStateChanged 메서드(shobjidl_core.h)

Windows 스토어 앱 디버깅 중에 패키지 상태가 변경되면 호출됩니다.

구문

HRESULT OnStateChanged(
  [in] LPCWSTR                 pszPackageFullName,
  [in] PACKAGE_EXECUTION_STATE pesNewState
);

매개 변수

[in] pszPackageFullName

패키지 전체 이름입니다.

[in] pesNewState

패키지가 변경된 새 상태입니다.

반환 값

OnStateChanged 메서드를 구현할 때 S_OK 반환합니다.

요구 사항

요구 사항
지원되는 최소 클라이언트 Windows 8 [데스크톱 앱만 해당]
지원되는 최소 서버 Windows Server 2012 [데스크톱 앱만 해당]
대상 플랫폼 Windows
헤더 shobjidl_core.h(Shobjidl.h 포함)

추가 정보

IPackageExecutionStateChangeNotification

RegisterForPackageStateChanges