10.2.1 SPTHOpen (open the script control manager)
- Purpose
-
Opens the script control manager, a program that controls the script execution process.
- Prototype declaration
BOOL APIENTRY SPTHOpen ( LPCSTR lpszComputerName, HWND hWnd, LPHANDLE lphScript );
- Arguments
-
- lpszComputerName
-
Write the computer name of the script.
If you specify NULL, the current computer name is assumed.
- hWnd
-
Specify the window handle for the calling process.
- lphScript
-
Specify a pointer to the area in which to store the script control handle.
- Return values
-
The function returns TRUE on successful execution, or FALSE if an error occurs. To get extended error information, use the GetLastError function.
- JP1/Script version
-
Supported from JP1/Script 05-00.