Toshiba V Series User Manual page 84

Integrated controller
Hide thumbs Also See for V Series:
Table of Contents

Advertisement

Chapter 8 Function Reference
8
72
TcnScmGetDualInf
Name
TcnScmGetDualInf - Read network dual diagnostic counter
Type
#include <tcnlib.h>
BOOL TcnScmGetDualInf( IN HANDLE hDevice, OUT DualInf *p);
Description
Reads the network dual diagnostic counter.
hDevice
: File handle obtained with TcnCreateFile
The read data storage area DualInf is the following structure. The area must be
at least as large as DualInf size.
typedef struct DualInf {
DWORD
DWORD
DWORD
DWORD
DWORD
DWORD
DWORD
} DualInf;
The linkage status is stored in BusInf.
Return Code
TRUE is returned in case of normal end.
FALSE is returned in case of abnormal end.
The error detail can be obtained with GetLastError().
Example
#include <windows.h>
#include "tcnlib.h"
HANDLE
DualInf
result = TcnSccGetDualInf( hDev, &dualInf );
if( !result ) printf("TcnSccGetDualInf fail. Code=%ld\n",GetLastError());
See Also
TcnScmClrDualInf
BusInf;
AbusNormalCnt;
BbusNormalCnt;
AbusNcdCnt;
BbusNcdCnt;
AbusCrcCnt;
BbusCrcCnt;
:
hDev;
dualInf;
:
TC-net 100 PCI Bus Card Support Software User Manual

Advertisement

Table of Contents
loading

Table of Contents