Condividi tramite


Funzione WDStatus (windowsdefender.h)

Restituisce lo stato corrente di Windows Defender.

Sintassi

HRESULT WDStatus(
  [out] BOOL *pfEnabled
);

Parametri

[out] pfEnabled

Tipo: BOOL*

Stato di Windows Defender come booleano. TRUE significa che Windows Defender è in stato abilitato. FALSE significa che Windows Defender è in stato disabilitato.

Valore restituito

Tipo: HRESULT

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

Requisiti

Requisito Valore
Client minimo supportato Windows Vista [solo app desktop]
Server minimo supportato Windows Server 2008 [solo app desktop]
Piattaforma di destinazione Windows
Intestazione windowsdefender.h
DLL MpClient.dll

Vedi anche

WDEnable