visor
April 18th, 2005, 10:37 AM
I'm using for open device
CreateFile("\\\\.\\C:", GENERIC_READ,FILE_SHARE_READ| FILE_SHARE_WRITE, NULL, OPEN_EXISTING, 0, NULL);
it is working good if another application didn't open drive c: earlier.
How i must use this function or read disk t osolve this problem?
CreateFile("\\\\.\\C:", GENERIC_READ,FILE_SHARE_READ| FILE_SHARE_WRITE, NULL, OPEN_EXISTING, 0, NULL);
it is working good if another application didn't open drive c: earlier.
How i must use this function or read disk t osolve this problem?