FwpsAleEndpointSetSecurityInfo0 函式 (fwpsk.h)
FwpsAleEndpointSetSecurityInfo0 函式會設定應用層強制執行 (ALE) 端點列舉會話的安全性資訊。
附注FwpsAleEndpointSetSecurityInfo0 是 FwpsAleEndpointSetSecurityInfo 的特定版本。 如需詳細資訊,請參閱 糧食計劃署 Version-Independent 名稱和以特定版本的 Windows 為目標。
語法
NTSTATUS FwpsAleEndpointSetSecurityInfo0(
[in] HANDLE engineHandle,
[in] SECURITY_INFORMATION securityInfo,
[in, optional] const SID *sidOwner,
[in, optional] const SID *sidGroup,
[in, optional] const ACL *dacl,
[in, optional] const ACL *sacl
);
參數
[in] engineHandle
使用篩選引擎開啟會話的句柄。 呼叫 FwpmEngineOpen0 來開啟會話時,會取得此句柄。
[in] securityInfo
一組安全性資訊旗標。 如需詳細資訊,請參閱可安裝文件系統驅動程式檔中的 SECURITY_INFORMATION 描述。
[in, optional] sidOwner
安全性擁有者的安全性標識碼。
[in, optional] sidGroup
安全組的安全性標識碼。
[in, optional] dacl
任意訪問控制清單。
[in, optional] sacl
系統訪問控制清單。
傳回值
FwpsAleEndpointSetSecurityInfo0 函式會傳回下列其中一個 NTSTATUS 程式代碼。
傳回碼 | 描述 |
---|---|
|
函式成功。 |
|
發生錯誤。 |
要求
要求 | 價值 |
---|---|
最低支援的用戶端 | 從 Windows 7 開始提供。 |
目標平臺 | 普遍 |
標頭 | fwpsk.h (包括 Fwpsk.h) |
連結庫 | Fwpkclnt.lib |
IRQL | PASSIVE_LEVEL |