Windows Dev Center

NAP Datatypes

Note  The Network Access Protection platform is not available starting with Windows 10
 
The datatypes for the Network Access Protection (NAP) API are as follows.

typedef FILETIME ProbationTime;
typedef UINT32 ProtocolMaxSize;
typedef UINT32 NapComponentId;
typedef NapComponentId SystemHealthEntityId;
typedef NapComponentId EnforcementEntityId;
typedef UINT16 SystemHealthEntityCount;
typedef UINT16 EnforcementEntityCount;
typedef CountedString StringCorrelationId;
typedef GUID ConnectionId;
typedef UINT8 Percentage;
typedef UINT32 MessageId;

ProbationTime

A FILETIME structure that contains a time related to a client machine's probation.

ProtocolMaxSize

A value that specifies the range of possible values for the maximum size, in bytes, of an SoH packet as defined by range(minProtocolMaxSize, maxProtocolMaxSize).

NapComponentId

A unique 4-byte identifier used by SHAs, SHVs and enforcement clients to identify themselves. The first three bytes are the IETF-assigned SMI code of the vendor, and the last byte identifies the component itself.

SystemHealthEntityId

A NapComponentId value used to identify SHA/SHV pairs.

EnforcementEntityId

A NapComponentId value used to identify enforcement clients.

SystemHealthEntityCount

A value that specifies the number of registered SHAs in the NAP system in the range 0 (zero) to maxSystemHealthEntityCount.

EnforcementEntityCount

A value that specifies the number of enforcement clients in the NAP system in the range 0 (zero) to maxEnforcerCount.

StringCorrelationId

The CountedString version of a CorrelationId structure used to pair SoHRequests to SoHResponses.

ConnectionId

A unique Globally Unique Identifier (GUID) used to identify a NAP connections maintained by enforcement clients.

Percentage

A value that contains the percentage between 0 (zero) and 100 of remediation that is complete

MessageId

A unique value used to identify NAP system messages.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

NapTypes.h;
NapEnforcementClient.h

 

 

Community Additions

ADD
Show:
© 2015 Microsoft