Partager via


_ReleaseThenLaunch (Windows Embedded CE 6.0)

1/6/2010

This function terminates the current thread, releases all script objects, waits for a specified amount of time, and then runs a specified script on the same thread.

Syntax

void _ReleaseThenLaunch(
  long msDelay,
  BSTR FileName,
  BSTR EntryFunction
);

Parameters

  • msDelay
    Length of time to wait, in milliseconds.
  • FileName
    File name for the script.
  • EntryFunction
    Optional. Entry function for the script.

Remarks

You can call this function from a script that Cescript.exe executes.

Requirements

Windows Embedded CE Windows CE .NET 4.2 and later

See Also

Other Resources

Scripting Host Functions