Returns a handle to the current machine.
hMachine = GetMachine()| Variable | Description |
|---|---|
| hMachine | A handle to the current machine. HMACHINE. |
GetMachine returns a handle to the current machine, which is set by Connect or SetMachine.
HMACHINE host_machine // host computer
HMACHINE target_machine // target computer
host_machine = GetMachine()
target_machine = Connect("sunfish")