Used to store a thread identifier or signify a special thread or class of threads.
typedef DWORD SCRIPTTHREADID; |
Constants
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. |
Remarks
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.
See Also
