I request I/O privity by calling
[color=green]ThreadCtl( _NTO_TCTL_IO, 0 )
and attach an Interrupthandler with [color=green]InterruptAttach(…)
and it works perfect, but if I try to detach with InterruptDetach(…)
printf(“The value of id doesn’t exist for this process:\n”);
printf(“The process doesn’t have superuser capabilities.\n”);
the error EPERM means doesn’t have superuser capabilities occurs!!!
why I’am running in superuser mode?