|
ReactOS 0.4.16-dev-2224-g3637fd8
|
#include <stdarg.h>#include <stdlib.h>#include <stdio.h>#include "ntstatus.h"#include "windef.h"#include "winbase.h"#include "tlhelp32.h"#include "wine/test.h"#include "winuser.h"#include "winternl.h"
Go to the source code of this file.
Macros | |
| #define | WIN32_NO_STATUS |
| #define | WAIT_TIME (60 * 1000) |
| #define | NUM_THREADS 4 |
Functions | |
| static | HANDLE (WINAPI *pCreateToolhelp32Snapshot)(DWORD |
| static | BOOL (WINAPI *pModule32First)(HANDLE |
| static | NTSTATUS (WINAPI *pNtQuerySystemInformation)(SYSTEM_INFORMATION_CLASS |
| static DWORD WINAPI | sub_thread (void *pmt) |
| static int | init (void) |
| static void | test_process (DWORD curr_pid, DWORD sub_pcs_pid) |
| static DWORD WINAPI | get_id_thread (void *curr_pid) |
| static void | test_main_thread (DWORD curr_pid, DWORD main_tid) |
| static void | test_thread (DWORD curr_pid, DWORD sub_pcs_pid) |
| static void | test_module (DWORD pid, const char *expected[], unsigned num_expected) |
| START_TEST (toolhelp) | |
Variables | |
| static char | selfname [MAX_PATH] |
| static | DWORD |
| static | LPMODULEENTRY32 |
| static | LPPROCESSENTRY32 |
| static | LPTHREADENTRY32 |
| static void | ULONG |
| static const char * | curr_expected_modules [] |
| static const char * | sub_expected_modules [] |
| #define NUM_THREADS 4 |
Definition at line 49 of file toolhelp.c.
| #define WAIT_TIME (60 * 1000) |
Definition at line 47 of file toolhelp.c.
| #define WIN32_NO_STATUS |
Definition at line 26 of file toolhelp.c.
Definition at line 167 of file toolhelp.c.
Referenced by test_main_thread().
Definition at line 67 of file toolhelp.c.
Referenced by START_TEST().
| START_TEST | ( | toolhelp | ) |
Definition at line 448 of file toolhelp.c.
Definition at line 51 of file toolhelp.c.
Referenced by get_id_thread(), and init().
Definition at line 303 of file toolhelp.c.
Referenced by START_TEST().
Definition at line 386 of file toolhelp.c.
Referenced by START_TEST().
Definition at line 107 of file toolhelp.c.
Referenced by START_TEST().
Definition at line 322 of file toolhelp.c.
Referenced by START_TEST().
Definition at line 371 of file toolhelp.c.
Referenced by START_TEST().
Definition at line 37 of file toolhelp.c.
Definition at line 38 of file toolhelp.c.
Definition at line 40 of file toolhelp.c.
Definition at line 42 of file toolhelp.c.
Definition at line 34 of file toolhelp.c.
Referenced by init(), and START_TEST().
Definition at line 378 of file toolhelp.c.
Referenced by START_TEST().
Definition at line 44 of file toolhelp.c.