NAP Error Constants

Header: winerror.h

Note

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

The following NAP error constants are defined in WinError.h.

SymbolicCodeDescription
NAP_E_INVALID_PACKET_HRESULT_TYPEDEF_(0x80270001L) The NAP [**SoH**](/windows/win32/api/naptypes/ns-naptypes-soh) packet is invalid.
NAP_E_MISSING_SOH_HRESULT_TYPEDEF_(0x80270002L) An [**SoH**](/windows/win32/api/naptypes/ns-naptypes-soh) was missing from the NAP packet.
NAP_E_CONFLICTING_ID_HRESULT_TYPEDEF_(0x80270003L) The entity ID conflicts with an already-registered entity ID.
NAP_E_NO_CACHED_SOH_HRESULT_TYPEDEF_(0x80270004L) No cached [**SoH**](/windows/win32/api/naptypes/ns-naptypes-soh) is present.
NAP_E_STILL_BOUND_HRESULT_TYPEDEF_(0x80270005L) The entity is still bound to the NAP system.
NAP_E_NOT_REGISTERED_HRESULT_TYPEDEF_(0x80270006L) The entity is not registered with the NAP system.
NAP_E_NOT_INITIALIZED_HRESULT_TYPEDEF_(0x80270007L) The entity is not initialized with the NAP system.
NAP_E_MISMATCHED_ID_HRESULT_TYPEDEF_(0x80270008L) The correlation IDs in the [**SoH**](/windows/win32/api/naptypes/ns-naptypes-soh) request and **SoH** response do not match up.
NAP_E_NOT_PENDING_HRESULT_TYPEDEF_(0x80270009L) Completion was indicated on a request that is not currently pending.
NAP_E_ID_NOT_FOUND_HRESULT_TYPEDEF_(0x8027000AL) The NAP component's ID was not found.
NAP_E_MAXSIZE_TOO_SMALL_HRESULT_TYPEDEF_(0x8027000BL) The maximum size of the connection is too small for an SoH packet.
NAP_E_SERVICE_NOT_RUNNING_HRESULT_TYPEDEF_(0x8027000CL) The NapAgent service is not running.
NAP_S_CERT_ALREADY_PRESENT_HRESULT_TYPEDEF_(0x0027000DL) A certificate is already present in the certificate store.
NAP_E_ENTITY_DISABLED_HRESULT_TYPEDEF_(0x8027000EL) The entity is disabled with the NapAgent service.
NAP_E_NETSH_GROUPPOLICY_ERROR_HRESULT_TYPEDEF_(0x8027000FL) Group Policy is not configured.
NAP_E_TOO_MANY_CALLS_HRESULT_TYPEDEF_(0x80270010L) Too many simultaneous calls.
NAP_E_SHV_CONFIG_EXISTED_HRESULT_TYPEDEF_(0x80270011L) SHV configuration already exists. > [!Note] > Supported in Windows 7 or later.
NAP_E_SHV_CONFIG_NOT_FOUND_HRESULT_TYPEDEF_(0x80270012L) SHV configuration is not found. > [!Note] > Supported in Windows 7 or later.
NAP_E_SHV_TIMEOUT_HRESULT_TYPEDEF_(0x80270013L) SHV timed out on the request. > [!Note] > Supported in Windows 7 or later.
19 entries

Article text from the Win32 documentation (opens in a new tab), by Microsoft, under the CC BY 4.0 (opens in a new tab) licence.