MgslDlGetStats


Prototype
ULONG MgslDlGetStats( HANDLE hDevice,
                      PMGSL_DLSTATS Stats );
Parameters
hDevice
handle to open port
Stats
pointer to MGSL_DLSTATS structure to receive current statistics
Return Value
ERROR_SUCCESS
Statistics successfully retrieved
ERROR_INVALID_PARAMETER
Stats pointer invalid
ERROR_INVALID_HANDLE
hDevice or Link is invalid

Returns the current data link layer statistics for the specified link.

The Link member of the MGSL_DLSTATS structure must be set to the link instance identifier by the application before passing the structure to MgslDlGetStats.


Previous Contents Next