// fwpsk.h
NTSTATUS FwpsGetPacketListSecurityInformation0(
[in] NET_BUFFER_LIST *packetList,
[in] UINT32 queryFlags,
[in, out] FWPS_PACKET_LIST_INFORMATION0 *packetInformation
);
View the official Windows Driver Kit DDI referenceNo description available.
The FwpsGetPacketListSecurityInformation0 function retrieves information associated with a packet list.
Note FwpsGetPacketListSecurityInformation0 is a specific version of FwpsGetPacketListSecurityInformation. See WFP Version-Independent Names and Targeting Specific Versions of Windows for more information.
packetList [in]A pointer to the NET_BUFFER_LIST structure for which the associated information is being retrieved.
queryFlags [in]A UINT32 value that contains a bitwise OR of a combination of the following flags that specify the information to be retrieved:
Retrieve information for an inbound packet list.
Retrieve information for an outbound packet list.
Retrieve the IPsec information associated with the packet list. This flag must be used in combination with either the FWPS_PACKET_LIST_INFORMATION_QUERY_INBOUND flag or the FWPS_PACKET_LIST_INFORMATION_QUERY_OUTBOUND flag.
Retrieve the Windows Filtering Platform information associated with the packet list.
Retrieve all information associated with an inbound packet list.
Retrieve all information associated with an outbound packet list.
packetInformation [in, out]A pointer to an FWPS_PACKET_LIST_INFORMATION0 structure that receives the information associated with the packet list.
The FwpsGetPacketListSecurityInformation0 function returns one of the following NTSTATUS codes.
| Return code | Description |
|---|---|
| STATUS_SUCCESS | The information associated with the packet list was successfully retrieved. |
| Other status codes | An error occurred. |
A callout driver calls the FwpsGetPacketListSecurityInformation0 function from within its classifyFn callout function to retrieve information associated with the packet list. This information can be used to determine the action to be taken on the data.