Share via


napComponentRegistrationInfo 結構 (naptypes.h)

注意從 Windows 10 開始,無法使用網路存取保護平臺
 
NapComponentRegistrationInfo 結構會定義已註冊的 NAP 元件,例如 SHA、SHV 或強制用戶端。

語法

typedef struct tagNapComponentRegistrationInfo {
  NapComponentId id;
  CountedString  friendlyName;
  CountedString  description;
  CountedString  version;
  CountedString  vendorName;
  CLSID          infoClsid;
  CLSID          configClsid;
  FILETIME       registrationDate;
  UINT32         componentType;
} NapComponentRegistrationInfo;

成員

id

NapComponentId 值,其中包含元件的唯一標識符。

friendlyName

CountedString 結構,其中包含元件易讀 (人讀) 名稱。

description

包含元件描述的 CountedString 結構。

version

包含元件版本的 CountedString 結構。

vendorName

CountedString 結構,其中包含元件的廠商名稱。

infoClsid

實作 INapComponentInfo 介面之 COM 物件的 CLSID。 此介面可用來擷取 NAP 元件的詳細和當地語系化資訊。

目前,強制用戶端不需要提供有效的 infoClsid

configClsid

實作 INapComponentConfig 介面之 COM 物件的 CLSID。 此介面可用來啟動自定義的使用者介面,以及取得和設定SHV組態設定。

目前,SHA 和強制用戶端不需要提供有效的 configClsid

registrationDate

包含註冊資訊日期的 FILETIME 結構。

componentType

定義元件類型的 值。

針對強制用戶端,此值應該是 ComponentTypeEnforcementClientSoHComponentTypeEnforcementClientRp

目前,SHA 和 SHV 會忽略 componentType ,而且應該設定為 0x00000000。

備註

此註冊資訊並未當地語系化,只會在 US-English 中提供。

當 NAP 元件透過註冊 API 註冊時,會忽略 registrationDate 字段。

擷取已註冊 NAP 元件的相關信息時,如果沒有有效的 infoClsidconfigClsidregistrationDate,則會將其設定為 0。

規格需求

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

另請參閱

CountedString

INapComponentInfo

NAP 參考

NAP 結構