Used to specify the type of thread.
typedef DWORD SCRIPTTHREADID;
Constant | Value | Meaning |
---|---|---|
SCRIPTTHREADID_CURRENT | 0xFFFFFFFD | The currently executing thread. |
SCRIPTTHREADID_BASE | 0xFFFFFFFE | The base thread; that is, the thread in which the scripting engine was instantiated. |
SCRIPTTHREADID_ALL | 0xFFFFFFFF | All threads. |
The SCRIPTTHREADID type is used by IActiveScript::GetCurrentScriptThreadID, IActiveScript::GetScriptThreadID, IActiveScript::GetScriptThreadState, and IActiveScript::InterruptScriptThread, but the constants can only be used by IActiveScript::GetScriptThreadState and IActiveScript::InterruptScriptThread.