From: rcaron@motus.com
Sent: Wednesday, January 23, 2002 11:07 AM
To: NT Developers Interest List
Subject: [ntdev] Réf. : [ntdev] _VWIN32_CreateRing0Thread


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éjean Caron - rcaron@motus.com
Motus Technologies inc.




                                                                                                                                                      
                    "Somsubhra Raj"                                                                                                                   
                    <raj_somsubhra2001@ya        Pour :  "NT Developers Interest List" <ntdev@lists.osr.com>                                          
                    hoo.com>                     cc :                                                                                                 
                    Envoyé par :                 Objet :      [ntdev] _VWIN32_CreateRing0Thread                                                       
                    bounce-ntdev-6681@lis                                                                                                             
                    ts.osr.com                                                                                                                        
                                                                                                                                                      
                                                                                                                                                      
                    2002-01-23 09:58                                                                                                                  
                    Veuillez répondre à                                                                                                               
                    "NT Developers                                                                                                                    
                    Interest List"                                                                                                                    
                                                                                                                                                      
                                                                                                                                                      




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: rcaron@motus.com
To unsubscribe send a blank email to leave-ntdev-247T@lists.osr.com




---
You are currently subscribed to ntdev as: GlennEverhart@FirstUSA.com
To unsubscribe send a blank email to leave-ntdev-247T@lists.osr.com