12 Apr
2019
12 Apr
'19
8:37 a.m.
Nikolay Sivov <nsivov(a)codeweavers.com> wrote:
+static NTSTATUS (WINAPI *pNtSuspendThread)(HANDLE thread, ULONG *count); +static NTSTATUS (WINAPI *pNtResumeThread)(HANDLE thread, ULONG *count); ... + pNtSuspendThread = (void *)GetProcAddress( hntdll, "NtSuspendThread" ); + pNtResumeThread = (void *)GetProcAddress( hntdll, "NtResumeThread" );
It would be helpful to actually use them in the test. Also it's would be interesting to create a suspended thread, and perform same kind of tests as with a not suspended one. -- Dmitry.