Hi friends ,
I want to block flash memory exactly after connected that to the usb port for all programs and os except for only one specific program for example called "my_program.exe" .
I want to do some work with "my_program.exe" on that flash memory for example search the files , delete some of them , ... and then unblock flash memory .
I can't find anything on the web .
I found some api for working with usb ports but they don't have good documentation .
Target os is windows (xp or seven , 32 or 64) .
I must use pure c (not c++) for this work .
Please help me .
Thanks a lot , good luck .