Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Annule l’inscription d’une interface IApartmentShutdown précédemment inscrite.
Syntax
HRESULT RoUnregisterForApartmentShutdown(
[in] APARTMENT_SHUTDOWN_REGISTRATION_COOKIE regCookie
);
Parameters
[in] regCookie
Cookie d’inscription obtenu à partir d’un appel précédent à la fonction RoRegisterForApartmentShutdown .
Valeur renvoyée
Si cette fonction réussit, elle retourne S_OK. Sinon, elle retourne un HRESULT code d’erreur.
Remarks
La fonction RoUnregisterForApartmentShutdown doit être appelée à partir du même appartement que celui qui a inscrit le rappel.
Spécifications
| Requirement | Value |
|---|---|
| Client minimum requis | Windows 8 [applications de bureau | Applications UWP] |
| Serveur minimal pris en charge | Windows Server 2012 [applications de bureau | Applications UWP] |
| plateforme cible | Windows |
| Header | roapi.h |
| Library | RuntimeObject.lib |
| DLL | ComBase.dll |