次の方法で共有


IDebugProgram2::EnumThreads

Retrieves a list of the threads that are running in the program.

HRESULT EnumThreads( 
   IEnumDebugThreads2** ppEnum
);
int EnumThreads( 
   out IEnumDebugThreads2 ppEnum
);

Parameters

Return Value

If successful, returns S_OK; otherwise, returns an error code.

See Also

Reference

IDebugProgram2

IEnumDebugThreads2

IDebugThread2