Customization > Automation Interface > Functions > For System Simulations > State Machines > GetStateMachineHandle function (automation interface)
  
GetStateMachineHandle function (automation interface)
Syntax:
GetStateMachineHandle
Returns the handle to the listener dll as a long.
* 
Some state machine controller functions require the handle to the listener dll as a parameter.