Function
Gumprocess_find_thread_by_id
Declaration [src]
GumThreadDetails*
gum_process_find_thread_by_id (
GumThreadId thread_id,
GumThreadFlags flags
)
Description [src]
Looks up a single thread by its ID. Unlike
gum_process_enumerate_threads(), cloaked threads are not hidden: an
explicit lookup by ID always returns the thread if it exists.
Parameters
thread_id-
Type:
GumThreadIdID of the thread to find.
flags-
Type:
GumThreadFlagsFlags specifying the desired level of detail.
Return value
Type: GumThreadDetails
The thread’s GumThreadDetails, or NULL
if no such thread exists.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |
The return value can be NULL. |