The MONITOR_CONTAINER structure provides information about port monitors, using MONITOR_INFO structures. The MonitorInfo member specifies the structure that defines the port monitor properties.
typedef struct _MONITOR_CONTAINER {
DWORD Level;
[switch_is(Level)] union {
[case(1)]
MONITOR_INFO_1* pMonitorInfo1;
[case(2)]
MONITOR_INFO_2* pMonitorInfo2;
} MonitorInfo;
} MONITOR_CONTAINER;
Level: Specifies the information level of the MonitorInfo data. The value of this member MUST be 0x00000001 or 0x00000002.
MonitorInfo: Defines port monitor properties, using an information structure that corresponds to the value of the Level member.
pMonitorInfo1: If the Level member is 0x00000001, this member is a pointer to a MONITOR_INFO_1 structure that provides information about a port monitor. For details, see section 2.2.1.8.1.
pMonitorInfo2: If the Level member is 0x00000002, this member is a pointer to a MONITOR_INFO_2 structure that provides information about a port monitor. For details, see section 2.2.1.8.2.