diff --git a/doc/windivert.html b/doc/windivert.html index 4f08cf2..399d3cc 100644 --- a/doc/windivert.html +++ b/doc/windivert.html @@ -22,9 +22,10 @@
++BOOL WinDivertShutdown( + __in HANDLE handle, + __in WINDIVERT_SHUTDOWN how); +); ++ |
+Parameters
+
+Return Value
+TRUE if successful, FALSE if an error occurred.
+Use GetLastError() to get the reason for the error.
+
+Remarks
+This operation causes all or part of a WinDivert handle to be shut down.
+The possible values for how are:
+
+
| +How + | ++Description + | +
|---|---|
| +WINDIVERT_SHUTDOWN_RECV + | ++Stop new packets being queued for +WinDivertRecv(). + | +
| +WINDIVERT_SHUTDOWN_SEND + | ++Stop new packets being injected via +WinDivertSend(). + | +
| +WINDIVERT_SHUTDOWN_BOTH + | ++Equivalent to (WINDIVERT_SHUTDOWN_RECV | WINDIVERT_SHUTDOWN_SEND). + | +
+Note that previously queued packets can still be received after +WINDIVERT_SHUTDOWN_RECV. +When the packet queue is empty, +WinDivertRecv() +will fail with ERROR_NO_DATA. +
+
BOOL WinDivertClose( @@ -883,7 +960,7 @@ Closes a WinDivert handle created by 5.8 WinDivertSetParam+5.9 WinDivertSetParam
|