I try hard to find a solution to close a WINCE 6.0 console application.
I cannot find out how to use IOCTL_CONSOLE_SETCONTROLCEVENT as it is explained here :
http://msdn.microsoft.com/en-US/library/ee504518%28v=winembedded.60%29.aspx
In this thread :
I m not sure to understand "Set to the handle for the console's current process."
Is it the application handle from GetCurrentProcess() ? or a cmd.exe handle ????
Does any one already use this IOCTL or IOCTL_CONSOLE_SETCONTROLCHANDLE ?
Thanks !