include vmm.inc
mov esi, OFFSET32 String ; points to string to write
VMMCall Out_Mono_String
Writes the specified null-terminated string to the secondary display. If the string contains register placeholders, Out_Mono_String replaces these with the actual register values (in hexadecimal), or the symbolic label nearest to the specified addresses. Uses all registers and flags.
The string can contain one or more placeholders having the following forms:
Placeholder | Description |
---|---|
#register | Displays the current value of the specified register. For example, the service replaces #AX with the value of the AX register. The register must not be the name of a segment register. |
?register | Displays the label nearest the address specified by the registers. For example, the service replaces ?EAX with the VMM code segment label nearest the address in the EAX register. The register must not be the name of a segment register. |
?register:register | Displays the label nearest the address specified by the registers. For example, the service replaces ?AX:EBX with the label in the segment specified by the AX register that is nearest to the address in the EBX register. The register must not be the name of a segment register. |
This service has no effect in the retail version of Windows. It is intended to be used with the debugging version.
Mono_Out, Out_Debug_String