Xlat_API_Jmp_To_Proc

Xlat_API_Jmp_To_Proc Proc_Name


The Xlat_API_Jmp_To_Proc macro transfers control to the specified translation procedure.

Parameters

Proc_Name

Specifies the name of the custom translation procedure. For more information about the procedure, see the following “Comments” section.

Comments

The procedure can either carry out the complete translation of the API, or call V86MMGR_Xlat_API to carry out portions of the translation. The V86MMGR_Xlat_API service calls the translation procedure with the following parameters:

EBX ; current VM Handle

EBP ; points to Client_Reg_Struc

EDX ; points to the next entry in the translation script (if any)

The procedure must increment the EDX register contents for each byte it reads from the script. The procedure should return with the carry flag clear if the translation was successful. Otherwise, it should return with carry flag set to indicate an error. The procedure must preserve all registers except EDX.

See Also

V86MMGR_Xlat_API