SetPacketEvent

BOOL __stdcall SetPacketEvent ( HANDLE hOpen, HANDLE hAdapter, HANDLE hEvent );

Return Value:
TRUE if call was successful, FALSE otherwise

Parameters:
hOpen
Specifies driver object open handle.

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:
This member is a C-wrapper for CNdisApi::SetPacketEvent. The user application should create a Win32 event (with CreateEvent API call) and pass adapter handle and event handle to this function. Helper driver will signal this event when the adapter associated packet queue is non-empty.