FwpsAleEndpointGetById0 函式 (fwpsk.h)
FwpsAleEndpointGetById0 函式會擷取應用層強制執行 (ALE) 端點的相關信息。
NoteFwpsAleEndpointGetById0 是 FwpsAleEndpointGetById 的特定版本。 如需詳細資訊,請參閱 糧食計劃署 Version-Independent 名稱和以特定版本的 Windows 為目標。
語法
NTSTATUS FwpsAleEndpointGetById0(
[in] HANDLE engineHandle,
[in] UINT64 endpointId,
[out] FWPS_ALE_ENDPOINT_PROPERTIES0 **properties
);
參數
[in] engineHandle
使用篩選引擎開啟會話的句柄。 呼叫 FwpmEngineOpen0 來開啟會話時,會取得此句柄。
[in] endpointId
唯一端點標識碼。
[out] properties
的指標 FWPS_ALE_ENDPOINT_PROPERTIES0 結構,其中包含端點的屬性。
傳回值
FwpsAleEndpointGetById0 函式會傳回下列其中一個 NTSTATUS 程式代碼。
傳回碼 | 描述 |
---|---|
|
函式成功。 |
|
發生錯誤。 |
要求
要求 | 價值 |
---|---|
最低支援的用戶端 | 從 Windows 7 開始提供。 |
目標平臺 | 普遍 |
標頭 | fwpsk.h (包括 Fwpsk.h) |
連結庫 | Fwpkclnt.lib |
IRQL | PASSIVE_LEVEL |