INapComponentConfig3::DeleteConfig method

Note

The Network Access Protection platform is not available starting with Windows 10

The DeleteConfig method is implemented by system health validators (SHVs) to provide a way to delete configuration data for a specific configuration ID. The ID may be reused after the configuration data has been deleted.

Syntax

HRESULT DeleteConfig(
   UINT32 configID
);

Parameters

configID

A value that represents the configuration data to delete.

Return value

Returns one of the following error codes based on the result of this operation.

Return code Description
S_OK
The operation is successful.
E_INVALIDARG
ConfigID is 0 (a value reserved for the default configuration).
NAP_E_SHV_CONFIG_NOT_FOUND
ConfigID cannot be found.

Requirements

Requirement Value
Minimum supported client
None supported
Minimum supported server
Windows Server 2008 R2 [desktop apps only]
Header
NapCommon.h
IDL
NapCommon.idl

See also

INapComponentConfig3