0

Is there a kernel32 API can help us to detect the partition type ( Primary/Logical ) ?

thanks!

casperOne
  • 73,706
  • 19
  • 184
  • 253

1 Answers1

1

I think these links may be of interest:

Example code: http://forums.codeguru.com/showthread.php?312464-Windows-SDK-File-System-How-to-get-information-about-a-partition

Microsoft docs: http://support.microsoft.com/kb/139547

LISTERINE
  • 923
  • 1
  • 9
  • 14
  • thanks...but I had already try this api It can display 1. szVolumeName, sizeof VolumeName, dwSerialNumber, &dwMaxFileNameLength, &dwFileSystemFlags, szFileSystemName, sizeof(szFileSystemName) – Tzu Lun Huang Aug 09 '12 at 05:48
  • Ahh, ok. I thought it might at least be a good place to start. I did some more digging and found this as well. Maybe not exactly what you want but a step in the right direction: http://msdn.microsoft.com/en-us/library/aa365180(v=vs.85) – LISTERINE Aug 09 '12 at 06:28