次の方法で共有


SCRIPTTHREADID Constants

Used to specify the type of thread.

Syntax

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

IActiveScript::GetCurrentScriptThreadID
IActiveScript::GetScriptThreadID
IActiveScript::GetScriptThreadState
IActiveScript::InterruptScriptThread