The IncrementBytesSentCounter method updates the counter with how many bytes have been sent over an emulated connection.
HRESULT IncrementBytesSentCounter( DWORD dwBytesSent );
The number of bytes sent since the counter was last updated.
The method succeeded
The connection is not emulated.
This method is used by application filters that use connection emulation. In an emulated connection, Forefront TMG does not have access to the emulated external socket associated only with the application filter and does not count bytes sent through that socket. The filter must call this function to count bytes sent on behalf of the client on the emulated connection. The total count appears in the log file in the bytes sent column.
|Server||Requires Windows Server 2008.|
|Version||Requires Forefront Threat Management Gateway (TMG).|
Declared in Wspfwext.idl.
Build date: 11/30/2009
© 2008 Microsoft Corporation. All rights reserved.