IPackageExecutionStateChangeNotification::OnStateChanged method

Called when package state changes during Windows Store app debugging.

Syntax


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

Parameters

pszPackageFullName [in]

The package full name.

pesNewState [in]

The new state that the package changed to.

Return value

Return S_OK when you implement the OnStateChanged method.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Shobjidl.h

IDL

Shobjidl.idl

See also

IPackageExecutionStateChangeNotification
RegisterForPackageStateChanges

 

 

Show: