// ndis.h
typedef struct _NDIS_FILTER_PARTIAL_CHARACTERISTICS {
NDIS_OBJECT_HEADER Header;
ULONG Flags;
FILTER_SEND_NET_BUFFER_LISTS_HANDLER SendNetBufferListsHandler;
FILTER_SEND_NET_BUFFER_LISTS_COMPLETE_HANDLER SendNetBufferListsCompleteHandler;
FILTER_CANCEL_SEND_HANDLER CancelSendNetBufferListsHandler;
FILTER_RECEIVE_NET_BUFFER_LISTS_HANDLER ReceiveNetBufferListsHandler;
FILTER_RETURN_NET_BUFFER_LISTS_HANDLER ReturnNetBufferListsHandler;
} NDIS_FILTER_PARTIAL_CHARACTERISTICS, *PNDIS_FILTER_PARTIAL_CHARACTERISTICS;
View the official Windows Driver Kit DDI referenceNo description available.
To specify optional entry points for a filter module, a filter driver initializes an NDIS_FILTER_PARTIAL_CHARACTERISTICS structure and passes it to the NdisSetOptionalHandlers function.
HeaderThe NDIS_OBJECT_HEADER structure for the filter driver partial characteristics structure (NDIS_FILTER_PARTIAL_CHARACTERISTICS). Set the Type member of the structure that Header specifies to NDIS_OBJECT_TYPE_FILTER_PARTIAL_CHARACTERISTICS, the Revision member to NDIS_FILTER_PARTIAL_CHARACTERISTICS_REVISION_1, and the Size member to NDIS_SIZEOF_FILTER_PARTIAL_CHARACTERISTICS_REVISION_1.
FlagsReserved for NDIS.
SendNetBufferListsHandlerThe entry point of the caller's FilterSendNetBufferLists function. To bypass this function, set this member to NULL.
SendNetBufferListsCompleteHandlerThe entry point of the caller's FilterSendNetBufferListsComplete function. To bypass this function, set this member to NULL.
CancelSendNetBufferListsHandlerThe entry point of the caller's FilterCancelSendNetBufferLists function. To bypass this function, set this member to NULL.
ReceiveNetBufferListsHandlerThe entry point of the caller's FilterReceiveNetBufferLists function. To bypass this function, set this member to NULL.
ReturnNetBufferListsHandlerThe entry point of the caller's FilterReturnNetBufferLists function. To bypass this function, set this member to NULL.
This structure specifies optional FilterXxx functions and other characteristics for a filter module. These characteristics override the default values that the driver set in the NDIS_FILTER_DRIVER_CHARACTERISTICS structure that the driver passed to the NdisFRegisterFilterDriver function.
FilterCancelSendNetBufferLists
FilterSendNetBufferListsComplete
NDIS_FILTER_DRIVER_CHARACTERISTICS