GetMachine Function

Action

Returns a handle to the current machine.

Syntax

hMachine = GetMachine()
Variable Description
hMachine A handle to the current machine. HMACHINE.

Notes

GetMachine returns a handle to the current machine, which is set by Connect or SetMachine.

Example

HMACHINE host_machine // host computer
HMACHINE target_machine // target computer
host_machine = GetMachine()
target_machine = Connect("sunfish")