Apply the action of the user debugger to a specific thread or all threads. 
  366{
  369 
  371    {
  372        
  373        
  374        
  375 
  378 
  379        
  380        
  381        
  383        {
  385            {
  386                
  387                
  388                
  393 
  394                
  395                
  396                
  398 
  399                
  400                
  401                
  403            }
  404        }
  405    }
  406    else
  407    {
  408        
  409        
  410        
  411        PLIST_ENTRY TempList = 0;
  412 
  414 
  416        {
  417            TempList = TempList->Flink;
  420 
  422            {
  425                {
  427                    {
  429                        {
  430                            
  431                            
  432                            
  437 
  438                            
  439                            
  440                            
  442 
  443                            CommandApplied = 
TRUE;
 
  444                            break;
  445                        }
  446                    }
  447                }
  448            }
  449        }
  450    }
  451 
  452    
  453    
  454    
  455    return CommandApplied;
  456}
#define MAX_THREADS_IN_A_PROCESS_HOLDER
Maximum threads that a process thread holder might have.
Definition Attaching.h:28
#define MAX_USER_ACTIONS_FOR_THREADS
Maximum actions in paused threads storage.
Definition Attaching.h:22
UCHAR BOOLEAN
Definition BasicTypes.h:39
#define NULL_ZERO
Definition BasicTypes.h:51
#define TRUE
Definition BasicTypes.h:55
#define FALSE
Definition BasicTypes.h:54
@ DEBUGGER_UD_COMMAND_ACTION_TYPE_NONE
Definition RequestStructures.h:867
PUSERMODE_DEBUGGING_THREAD_DETAILS ThreadHolderGetProcessThreadDetailsByProcessIdAndThreadId(UINT32 ProcessId, UINT32 ThreadId)
Find the active threads of the process from process id.
Definition ThreadHolder.c:109
DEBUGGER_UD_COMMAND_ACTION_TYPE ActionType
Definition RequestStructures.h:880
UINT64 OptionalParam1
Definition RequestStructures.h:881
UINT64 OptionalParam3
Definition RequestStructures.h:883
UINT64 OptionalParam4
Definition RequestStructures.h:884
UINT64 OptionalParam2
Definition RequestStructures.h:882
DEBUGGER_UD_COMMAND_ACTION UdAction
Definition RequestStructures.h:894
UINT32 TargetThreadId
Definition RequestStructures.h:896
BOOLEAN ApplyToAllPausedThreads
Definition RequestStructures.h:897
LIST_ENTRY ThreadsListHead
Definition Attaching.h:67
UINT32 ProcessId
Definition Attaching.h:61
Details of each thread in process.
Definition ThreadHolder.h:33
UINT32 ThreadId
Definition ThreadHolder.h:34
DEBUGGER_UD_COMMAND_ACTION UdAction[MAX_USER_ACTIONS_FOR_THREADS]
Definition ThreadHolder.h:37
BOOLEAN IsPaused
Definition ThreadHolder.h:36
USERMODE_DEBUGGING_THREAD_DETAILS Threads[MAX_THREADS_IN_A_PROCESS_HOLDER]
Definition ThreadHolder.h:48