Método IPackageExecutionStateChangeNotification::OnStateChanged (shobjidl_core.h)

Se llama cuando cambia el estado del paquete durante la depuración de la aplicación de la Tienda Windows.

Sintaxis

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

Parámetros

[in] pszPackageFullName

Nombre completo del paquete.

[in] pesNewState

Nuevo estado al que cambió el paquete.

Valor devuelto

Devuelve S_OK al implementar el método OnStateChanged .

Requisitos

Requisito Value
Cliente mínimo compatible Windows 8 [solo aplicaciones de escritorio]
Servidor mínimo compatible Windows Server 2012 [solo aplicaciones de escritorio]
Plataforma de destino Windows
Encabezado shobjidl_core.h (include Shobjidl.h)

Consulte también

IPackageExecutionStateChangeNotification

RegisterForPackageStateChanges