LSA_CANCEL_NOTIFICATION funzione di callback (ntsecpkg.h)

La funzione CancelNotification annulla una notifica registrata in precedenza.

Sintassi

LSA_CANCEL_NOTIFICATION LsaCancelNotification;

NTSTATUS LsaCancelNotification(
  [in] HANDLE NotifyHandle
)
{...}

Parametri

[in] NotifyHandle

Handle restituito da una chiamata precedente a RegisterNotification.

Valore restituito

Se la funzione ha esito positivo, il valore restituito è STATUS_SUCCESS.

Se la funzione ha esito negativo, il valore restituito è un codice NTSTATUS che indica il motivo per cui non è riuscito. La tabella seguente elenca un motivo comune per l'errore e il codice di errore restituito dalla funzione.

Codice restituito Descrizione
STATUS_INVALID_PARAMETER
L'handle specificato dal parametro NotifyHandle non è valido.

Commenti

Usare la funzione RegisterNotification per registrare una notifica.

Un puntatore alla funzione CancelNotification è disponibile nella struttura LSA_SECPKG_FUNCTION_TABLE ricevuta dalla funzione SpInitialize .

Requisiti

Requisito Valore
Client minimo supportato Windows XP [solo app desktop]
Server minimo supportato Windows Server 2003 [solo app desktop]
Piattaforma di destinazione Windows
Intestazione ntsecpkg.h

Vedi anche

LSA_SECPKG_FUNCTION_TABLE

RegisterNotification

SpInitialize