createApplication function

WindowsApplication createApplication(
  1. String application, {
  2. List<String> arguments = const [],
  3. Map<String, String>? environment,
  4. String emulationRoot = '',
  5. String workingDirectory = '',
  6. bool disableLogging = false,
  7. bool useRelativeTime = false,
  8. String registryDirectory = './registry',
  9. Map<String, String> pathMappings = const {},
  10. Map<int, int> portMappings = const {},
  11. int numberOfProcessors = 4,
  12. int ntProductType = 1,
  13. Backend backend = Backend.unicorn,
})

Implementation

WindowsApplication createApplication(
  String application, {
  List<String> arguments = const [],
  Map<String, String>? environment,
  String emulationRoot = '',
  String workingDirectory = '',
  bool disableLogging = false,
  bool useRelativeTime = false,
  String registryDirectory = './registry',
  Map<String, String> pathMappings = const {},
  Map<int, int> portMappings = const {},
  int numberOfProcessors = 4,
  int ntProductType = 1,
  Backend backend = Backend.unicorn,
}) => windows.createApplication(
  application,
  arguments: arguments,
  environment: environment,
  emulationRoot: emulationRoot,
  workingDirectory: workingDirectory,
  disableLogging: disableLogging,
  useRelativeTime: useRelativeTime,
  registryDirectory: registryDirectory,
  pathMappings: pathMappings,
  portMappings: portMappings,
  numberOfProcessors: numberOfProcessors,
  ntProductType: ntProductType,
  backend: backend,
);