The MSDN page: CreateFile has some help on this function, and if you scroll down (quite a long way) it will have links to CloseFile, ReadFile, WriteFile, etc.
--
Mats
Type: Posts; User: matsp
The MSDN page: CreateFile has some help on this function, and if you scroll down (quite a long way) it will have links to CloseFile, ReadFile, WriteFile, etc.
--
Mats
Just use CreateFile() with the devicename (e.g "H:" itself).
Edit: You may want to disable autorun, so that Windows doesn't open the device - you can only open a raw device if nothing else has it...