IFWXConnection::IncrementBytesSentCounter method
Applies to: desktop apps only
The IncrementBytesSentCounter method updates the counter with how many bytes have been sent over an emulated connection.
Syntax
HRESULT IncrementBytesSentCounter(
DWORD dwBytesSent
);
Parameters
- dwBytesSent
The number of bytes sent since the counter was last updated.
Return value
This method can return one of these values.
S_OK
The method succeededFWX_E_NOT_EMULATED
The connection is not emulated.
Remarks
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.
Requirements
Minimum supported client |
None supported |
Minimum supported server |
Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only) |
Version |
Forefront Threat Management Gateway (TMG) 2010 |
Header |
Wspfwext.idl |
DLL |
Wspsrv.exe |
See also
Build date: 7/12/2010