NAP 資料類型

注意

從 Windows 10 開始,無法使用網路存取保護平臺

網路存取保護 (NAP) API 的資料類型如下所示。

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

FILETIME結構,其中包含與用戶端電腦的探查相關的時間。

ProtocolMaxSize

值,指定由minProtocolMaxSize、maxProtocolMaxSize、maxProtocolMaxSize () 所定義之SoH封包大小上限的可能值範圍,以位元組為單位。

NapComponentId

SHA、SHV 和強制用戶端用來識別自己的唯一 4 位元組識別碼。 前三個位元組是廠商的 IETF 指派 SMI 代碼,最後一個位元組會識別元件本身。

SystemHealthEntityId

NapComponentId值,用來識別 SHA/SHV 配對。

EnforcementEntityId

NapComponentId值,用來識別強制用戶端。

SystemHealthEntityCount

值,指定 NAP 系統中 NAP 系統中註冊的 SHA 數目,範圍為 0 (零,) 到 maxSystemHealthEntityCount

EnforcementEntityCount

值,指定 NAP 系統中 0 (零) 到 maxEnforcerCount的強制用戶端數目。

StringCorrelationId

CorrelationId結構的CountedString版本,用來將SoHRequests配對至SoHResponses

ConnectionId

唯一的全域唯一識別碼 (GUID) ,用來識別強制用戶端所維護的 NAP 連線。

百分比

值,包含 0 (零) 到 100 個補救完成之間的百分比

MessageId

用來識別 NAP 系統訊息的唯一值。

規格需求

需求
最低支援的用戶端
Windows Vista [僅限傳統型應用程式]
最低支援的伺服器
Windows Server 2008 [僅限傳統型應用程式]
標頭
NapTypes.h;
NapEnforcementClient.h