Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

RAS_STATS (Structures)
 
.
Summary
stores the statistics for a single-link RAS connection, or for one of the links in a multilink RAS connection.

C# Signature:

[StructLayout(LayoutKind.Sequential, CharSet=CharSet.Auto)]
struct RAS_STATS
{
     public int dwSize;
     public int dwBytesXmited;
     public int dwBytesRcved;
     public int dwFramesXmited;
     public int dwFramesRcved;
     public int dwCrcErr;
     public int dwTimeoutErr;
     public int dwAlignmentErr;
     public int dwHardwareOverrunErr;
     public int dwFramingErr;
     public int dwBufferOverrunErr;
     public int dwCompressionRatioIn;
     public int dwCompressionRatioOut;
     public int dwBps;
     public int dwConnectionDuration;
}

VB Signature:

Private Structure RAS_STATS
     Public dwAlignmentErr As Integer
     Public dwBps As Integer
     Public dwBufferOverrunErr As Integer
     Public dwBytesRcved As Integer
     Public dwBytesXmited As Integer
     Public dwCompressionRatioIn As Integer
     Public dwCompressionRatioOut As Integer
     Public dwConnectionDuration As Integer
     Public dwCrcErr As Integer
     Public dwFramesRcved As Integer
     Public dwFramesXmited As Integer
     Public dwFramingErr As Integer
     Public dwHardwareOverrunErr As Integer
     Public dwSize As Integer
     Public dwTimeoutErr As Integer
End Struct

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

See docs for RasGetConnectionStatistics

Alternative Managed API:

http://www.codeplex.com/DotRas

Documentation
RAS_STATS on MSDN

Please edit this page!

Do you have...

  • helpful tips?
  • corrections to the existing content?
  • alternate definitions?
  • additional languages you want to include?

Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing any supporting types needed.

 
Access PInvoke.net directly from VS:
Terms of Use
Edit This Page
Find References
Show Printable Version
Revisions