private static extern int navigator_invoke_query_set_perimeter(IntPtr query, InvokePerimeterType perimeter);
private static extern int navigator_invoke_invocation_set_perimeter(IntPtr invocation, InvokePerimeterType perimeter);