Hi i am trying to pass a struct to my VXD.
dword_regs struct
d_eax dw?
d_ebx dw?
d_ecx dw?
d_edx dw?
int_call_out dw ?
dword_regs ends
x86_call dword_regs
; hmm whaT ABOUT SYNTAX hahahaha
mov x86_call.d_eax,4c00h
mov x86_call.int_call_out,21h
invoke deviceio,hvx,x86_call,sizeof(x86_call),0,bytesret=x86_call,0,0
---------------------- the vxd-------------------
bla, bla,bla
; how can i get access to x86_call structure inside the vxd?
begin_proc int_receiver
push client-state
assume ebp: ptr x86_call
; (set values)
exec_int x86_call.int_call_out
end_proc int_receiver
I know this isn`t syntax correct but u get the idea ;-)
Does anybody know how to pull this one off?
Thanx