From: Mathias Ellinger [me@Ellisoft.de] Sent: Monday, August 20, 2001 5:44 AM To: NT Developers Interest List Subject: [ntdev] Re: Using 98 VCOMM services in a .sys driver.. hello, forget my message ... You will use VXD service from a Kernel driver. Here a example #define ID_Open_Boot_Log 0x00010188 #define ID_Write_Boot_Log 0x00010189 #define ID_Close_Boot_Log 0x0001018A #define vxdCall(service) \ _asm _emit 0xcd \ _asm _emit 0x20 \ _asm _emit ((service) & 0xff) \ _asm _emit ((service) >> 8) & 0xff \ _asm _emit ((service) >> 16) & 0xff \ _asm _emit ((service) >> 24) & 0xff \ BOOLEAN inline Open_Boot_Log() { vxdCall(ID_Open_Boot_Log) __asm xor eax,eax // 0 means enabled __asm jnz notinst; return TRUE; notinst: return FALSE; } void inline Close_Boot_Log() { vxdCall(ID_Close_Boot_Log) } void inline Write_Boot_Log(DWORD len, LPSTR what) { __asm mov edx,what __asm mov ecx,len vxdCall(ID_Write_Boot_Log) } elli --- You are currently subscribed to ntdev as: GlennEverhart@FirstUSA.com To unsubscribe send a blank email to leave-ntdev-247T@lists.osr.com