Compartilhar via


2.2.2.7.2 _MONITOR_INFO_2

The _MONITOR_INFO_2 structure is used to identify a port monitor. It is a custom-marshaled form of the _MONITOR_INFO_2 (section 2.2.1.8.2) structure.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

Fixed_Portion (variable)

...

Variable_Data (variable)

...

Fixed_Portion (variable): An array of one or more groups of fixed-size fields, which are defined as follows.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

NameOffset

EnvironmentOffset

DLLNameOffset

NameOffset (4 bytes): An unsigned integer that specifies the number of bytes from the start of the structure to the NameArray member. 

EnvironmentOffset (4 bytes): An unsigned integer that specifies the number of bytes from the start of the structure to the EnvironmentArray member.

DLLNameOffset (4 bytes): An unsigned integer that specifies the number of bytes from the start of the structure to the DllNameArray member.

Variable_Data (variable): An array of zero or more groups of optional, variable-size fields, which are defined as follows.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

DLLNameArray (variable)

...

EnvironmentArray (variable)

...

NameArray (variable)

...

DLLNameArray (variable): A string that specifies the DLL name of the port monitor. The location of this buffer is determined by the value of the DllNameOffset member.

EnvironmentArray (variable): A string that specifies the environment of the monitor. The location of this buffer is determined by the value of the EnvironmentOffset member.

NameArray (variable): A string that specifies the port monitor’s name. The location of this buffer is determined by the value of the NameOffset member.