This repository has been archived on 2024-12-16. You can view files and clone it, but cannot push or open issues or pull requests.
CodeBlocksPortable/Borland/BCC55/Include/snapmon.h

50 lines
1.4 KiB
C
Raw Normal View History

#pragma option push -b -a8 -pc -A- /*P_O_Push*/
/*****************************************************************************/
/* snapmon.h - include for the SNA Perfmon Interface */
/* Copyright (c) Microsoft Corporation 1995 - 1996 */
/*****************************************************************************/
#ifdef __cplusplus
extern "C"
{
#endif
typedef struct adaptercounter {
ULONG count;
ULONG type;
LONG scale;
} ADAPTERCOUNTER;
typedef struct adapterperfdata {
ULONG inuse;
ULONG ServiceNameIndex;
ULONG FirstCounterIndex;
ADAPTERCOUNTER TotalBytesReceived;
ADAPTERCOUNTER TotalBytesTransmitted;
ADAPTERCOUNTER TotalFramesReceived;
ADAPTERCOUNTER TotalFramesTransmitted;
ADAPTERCOUNTER SuccessfulConnects;
ADAPTERCOUNTER ConnectionFailures;
ADAPTERCOUNTER TotalBytesThroughput;
ADAPTERCOUNTER TotalFramesThroughput;
ADAPTERCOUNTER AdapterFailures;
ADAPTERCOUNTER reserved[11];
ULONG pad;
} ADAPTERPERFDATA;
extern void WINAPI SNAInitLinkPerfmon(HANDLE *, void **);
extern ADAPTERPERFDATA * WINAPI SNAGetLinkPerfArea(HANDLE, ADAPTERPERFDATA *);
extern USHORT WINAPI SNAGetPerfValues(int *, int *);
extern USHORT WINAPI SNAGetPNodePerfVals(int *, int *);
#ifdef __cplusplus
}
#endif
#pragma option pop /*P_O_Pop*/