IPackageExecutionStateChangeNotification::OnStateChanged method (shobjidl_core.h)
Called when package state changes during Windows Store app debugging.
Syntax
HRESULT OnStateChanged(
[in] LPCWSTR pszPackageFullName,
[in] PACKAGE_EXECUTION_STATE pesNewState
);
Parameters
[in] pszPackageFullName
The package full name.
[in] pesNewState
The new state that the package changed to.
Return value
Return S_OK when you implement the OnStateChanged method.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps only] |
Minimum supported server | Windows Server 2012 [desktop apps only] |
Target Platform | Windows |
Header | shobjidl_core.h (include Shobjidl.h) |