NAP Error Constants

Note

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

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

NAP_E_INVALID_PACKET

_HRESULT_TYPEDEF_(0x80270001L)

The NAP SoH packet is invalid.

NAP_E_MISSING_SOH

_HRESULT_TYPEDEF_(0x80270002L)

An 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 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 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.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
Header
WinError.h

See also

NAP Constants