MPR_SERVER_0 structure (mprapi.h)
The MPR_SERVER_0 structure is used to retrieve information about a device.
Syntax
typedef struct _MPR_SERVER_0 {
BOOL fLanOnlyMode;
DWORD dwUpTime;
DWORD dwTotalPorts;
DWORD dwPortsInUse;
} MPR_SERVER_0, *PMPR_SERVER_0;
Members
fLanOnlyMode
A BOOL that specifies whether the Demand Dial Manager (DDM) is running on the device. If TRUE, the DDM is not running on the device. Otherwise, it is FALSE.
dwUpTime
Specifies the elapsed time, in seconds, since the device was started.
dwTotalPorts
Specifies the number of ports on the device.
dwPortsInUse
Specifies the number of ports currently in use on the device.
Requirements
Requirement | Value |
---|---|
Minimum supported client | None supported |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Header | mprapi.h |