SetHwPacketFilterEvent

BOOL CNdisApi::SetHwPacketFilterEvent ( HANDLE hAdapter, HANDLE hEvent );

Return Value:
TRUE if call was successful, FALSE otherwise

Parameters:
hAdapter
Adapter handle to associate event with.

hEvent
Handle to user created Win32 event. Set it to NULL if you want to release event.

Remarks:
The user application should create a Win32 event (with CreateEvent API call) and pass adapter handle and event handle to this function. The filter driver will signal this event when the hardware filter for the adapter changes.

This member calls the driver with IOCTL_NDISRD_SET_ADAPTER_HWFILTER_EVENT control code (see details below).

IOCTL_NDISRD_SET_ADAPTER_HWFILTER_EVENT

Input BufferWin32 event handle or NULL if you want to release event.
Input Buffer Sizesizeof(HANDLE)
Output BufferNone
Output Buffer Size0