This function creates a Ring 0 thread, and returns the thread ID.
int InstallRing0Thread (void * threadFunc)
{
int id;
_asm
{
mov ecx, 4096
mov edi, 0
mov ebx,[threadFunc];
xor esi, esi
}
VxDCall (_VWIN32_CreateRing0Thread)
_asm mov[id], eax
return id;
}
Hope this helps…
R=E9jean Caron - xxxxx@motus.com
Motus Technologies inc.
=
=20
“Somsubhra Raj” =
=20
<raj_somsubhra2001 pour : developers=“<br”> Interest List" =
=20
hoo.com> cc : =
=
=20
Envoy=E9 par : Objet : [ntdev]=
_VWIN32_CreateRing0Thread =
=20
xxxxx@lis =
=
=20
ts.osr.com =
=
=20
=
=
=20
=
=
=20
2002-01-23 09:58 =
=
=20
Veuillez r=E9pondre =E0 =
=
=20
“NT Developers =
=
=20
Interest List” =
=
=20
=
=
=20
=
=
=20
Dear all,
can u please send me an example code on how to use
_VWIN32_CreateRing0Thread call and threading in ring0 level on win9x
platform … or any tips on using that call… 'coz documentation =
in
98ddk doesn’t say much about this…
Thanks in advance
som
—
You are currently subscribed to ntdev as: xxxxx@motus.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
=
—
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com</raj_somsubhra2001>