static int InitializeVHW (void)
{
(略)

InitializeCriticalSection (&vhw._cs);
{ ←※
HANDLE h;

h = GetCurrentThread (); → スレッドのオブジェクトタイプのハンドルを複製する
if (!DuplicateHandle (GetCurrentProcess(),
h,
GetCurrentProcess (),
&thdKernel,
THREAD_ALL_ACCESS,
FALSE,
0))
return -1;
} ←※

(略)

}