WFP user mode management functions
The semantics of the Windows Filtering Platform user-mode management functions are exactly the same when called from a callout driver as when called from a user-mode application, except that the return type is an NTSTATUS code instead of a Win32 error code.
These functions are documented in the Management Functions section of the user-mode WFP Functions documentation.
Note
The kernel-mode version of each function is defined in fwpmk.h. The user-mode version of each function is defined in fwpmu.h.
Callers of all of these functions except FwpmFreeMemory0 must be running at IRQL = PASSIVE_LEVEL. Callers of FwpmFreeMemory0 must be running at IRQL <= DISPATCH_LEVEL.
Callout Management
- FwpmCalloutAdd0
- FwpmCalloutCreateEnumHandle0
- FwpmCalloutDeleteById0
- FwpmCalloutDeleteByKey0
- FwpmCalloutDestroyEnumHandle0
- FwpmCalloutEnum0
- FwpmCalloutGetById0
- FwpmCalloutGetByKey0
- FwpmCalloutGetSecurityInfoByKey0
- FwpmCalloutSetSecurityInfoByKey0
Connection Object Management
- FwpmConnectionCreateEnumHandle0
- FwpmConnectionDestroyEnumHandle0
- FwpmConnectionEnum0
- FwpmConnectionGetById0
- FwpmConnectionGetSecurityInfo0
- FwpmConnectionSetSecurityInfo0
Event Management
- FwpmNetEventCreateEnumHandle0
- FwpmNetEventDestroyEnumHandle0
- FwpmNetEventEnum:
- FwpmNetEventEnum0 (Windows Vista)
- FwpmNetEventEnum1 (Windows 7)
- FwpmNetEventEnum2 (Windows 8)
- FwpmNetEventsGetSecurityInfo0
- FwpmNetEventsSetSecurityInfo0
Filter Management
- FwpmFilterAdd0
- FwpmFilterCreateEnumHandle0
- FwpmFilterDeleteById0
- FwpmFilterDeleteByKey0
- FwpmFilterDestroyEnumHandle0
- FwpmFilterEnum0
- FwpmFilterGetById0
- FwpmFilterGetByKey0
- FwpmFilterGetSecurityInfoByKey0
- FwpmFilterSetSecurityInfoByKey0
Layer Management
- FwpmLayerCreateEnumHandle0
- FwpmLayerDestroyEnumHandle0
- FwpmLayerEnum0
- FwpmLayerGetById0
- FwpmLayerGetByKey0
- FwpmLayerGetSecurityInfoByKey0
- FwpmLayerSetSecurityInfoByKey0
Provider Context Management
- [FwpmProviderContextAdd:
- FwpmProviderContextAdd0 (Windows Vista)
- FwpmProviderContextAdd1 (Windows 7)
- FwpmProviderContextAdd2 (Windows 8)
- FwpmProviderContextCreateEnumHandle0
- FwpmProviderContextDeleteById0
- FwpmProviderContextDeleteByKey0
- FwpmProviderContextDestroyEnumHandle0
- FwpmProviderContextEnum:
- FwpmProviderContextEnum0 (Windows Vista)
- FwpmProviderContextEnum1 (Windows 7)
- FwpmProviderContextEnum2 (Windows 8)
- FwpmProviderContextGetById:
- FwpmProviderContextGetById0 (Windows Vista)
- FwpmProviderContextGetById1 (Windows 7)
- FwpmProviderContextGetById2 (Windows 8)
- FwpmProviderContextGetByKey:
- FwpmProviderContextGetByKey0 (Windows Vista)
- FwpmProviderContextGetByKey1 (Windows 7)
- FwpmProviderContextGetByKey2 (Windows 8)
- FwpmProviderContextGetSecurityInfoByKey0
- FwpmProviderContextSetSecurityInfoByKey0
Provider Management
- FwpmProviderAdd0
- FwpmProviderCreateEnumHandle0
- FwpmProviderDeleteByKey0
- FwpmProviderDestroyEnumHandle0
- FwpmProviderEnum0
- FwpmProviderGetByKey0
- FwpmProviderGetSecurityInfoByKey0
- FwpmProviderSetSecurityInfoByKey0
Session Management
- FwpmEngineClose0
- FwpmEngineGetOption0
- FwpmEngineGetSecurityInfo0
- FwpmEngineOpen0
- FwpmEngineSetOption0
- FwpmEngineSetSecurityInfo0
- FwpmSessionCreateEnumHandle0
- FwpmSessionDestroyEnumHandle0
- FwpmSessionEnum0
Sublayer Management
- FwpmSubLayerAdd0
- FwpmSubLayerCreateEnumHandle0
- FwpmSubLayerDeleteByKey0
- FwpmSubLayerDestroyEnumHandle0
- FwpmSubLayerEnum0
- FwpmSubLayerGetByKey0
- FwpmSubLayerGetSecurityInfoByKey0
- FwpmSubLayerSetSecurityInfoByKey0