Hello, i'm trying to understand a little thing about sending data from kernel mode to user using IOCTL,
basically i want to use a do while to find some datas and while i'm finding them basically i just need to send them at runtime.
This is what i mean:
do{
//find pid of process...
// send this pid to the user mode application using the irp sysbuffer
//search the next pid
}while(//some instructions);
Basically i can't understand how could i do it, i tried to write something but i just obtain a bsod.
If you could explain me the logic behind i'll be rly glad.
Thank you.
basically i want to use a do while to find some datas and while i'm finding them basically i just need to send them at runtime.
This is what i mean:
do{
//find pid of process...
// send this pid to the user mode application using the irp sysbuffer
//search the next pid
}while(//some instructions);
Basically i can't understand how could i do it, i tried to write something but i just obtain a bsod.
If you could explain me the logic behind i'll be rly glad.
Thank you.