Condividi tramite


Metodo IPackageDebugSettings::UnregisterForPackageStateChanges (shobjidl_core.h)

Interrompe la ricezione di notifiche di modifica dello stato del pacchetto associate a una chiamata precedente a RegisterForPackageStateChanges.

Sintassi

HRESULT UnregisterForPackageStateChanges(
  [in] DWORD dwCookie
);

Parametri

[in] dwCookie

Notifica da annullare. Questo identificatore viene restituito da una chiamata precedente al metodo RegisterForPackageStateChanges .

Valore restituito

Se questo metodo ha esito positivo, restituisce S_OK. In caso contrario, restituisce un codice di errore HRESULT .

Commenti

Chiamare UnregisterForPackageStateChanges per interrompere la ricezione di notifiche di modifica dello stato del pacchetto associate a una chiamata precedente al metodo RegisterForPackageStateChanges .

Requisiti

Requisito Valore
Client minimo supportato Windows 8 [solo app desktop]
Server minimo supportato Windows Server 2012 [solo app desktop]
Piattaforma di destinazione Windows
Intestazione shobjidl_core.h

Vedi anche

IPackageDebugSettings

RegisterForPackageStateChanges