| bhardwick (2) | |||
|
Hello, I am trying to read the starting cluster number from a file that i search for. This is found in the 32 byte directory entry in FAT32. My problem is that i cant quite figure out where to get that entry. This is the code i have so far. Note that it is, obviously not doing what i want it to do. Any suggestions?
| |||
|
Last edited on
|
|||
| modoran (1245) | |
| There is no windows API to do that, except to open the FAT32 partition itself using CreateFile yourself and have a very good understanding of how FAT32 file system is organized. | |
|
|
|
| bhardwick (2) | |
|
And that is exactly what im doing. And it is far from fun. | |
|
Last edited on
|
|
| modoran (1245) | ||
|
I don't think you do it, not in your posted code. There you just open the file. THe correct way (and more complicated) can be found in MSDN: http://msdn.microsoft.com/en-us/library/aa363785%28v=VS.85%29.aspx
| ||
|
|
||