how can i call DBGPrint in ASM in a VXD ?
Posted on 2004-02-11 04:16:35 by monty
Get the complete source in DbgPrint.VXD
and look the file DBG.H



_asm
{
lea eax,(pszfmt + 4)
push eax
push pszfmt
_emit 0xCD; // int 20
_emit 0x20
_emit 0x2D; // function 0x2D010100 (_Debug_Printf_Service)
_emit 0x01
_emit 0x01
_emit 0x00
add esp, 2*4
}
Posted on 2004-02-11 06:07:03 by Opcode