Ok i am stuck on getting a working sample on how to use usermode functions in inline asm,i understand syscall is for x86 and sysenter is for x64, i understand you get a function which needs to be moved in to the register, i just dont know how to go about using syscall or sysenter in inline asm