_ReleaseThenLaunch
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.
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
OS Versions: Windows CE 4.2 and later.
See Also
Scripting Host Functions | Scripting Host Tool
Last updated on Friday, October 08, 2004
© 1992-2003 Microsoft Corporation. All rights reserved.