title: How can i get starting offset and lenth of logical drives?
body: <p>I need to get starting offsets(from the start of the disc in bytes or in sectors), length and drive letters and all logical drives in the system. How can i do this? Better via WMI..</p>
  
  <p>I know that there is WMI class <a href="http://msdn.microsoft.com/en-us/library/aa394173%28v=vs.85%29.aspx" rel="nofollow">Win32_LogicalDisk</a> it can give me letters, and i can get partition where the logical drive located via <a href="http://msdn.microsoft.com/en-us/library/windows/desktop/aa384793%28v=vs.85%29.aspx" rel="nofollow">association</a> (wich have offset property)but on one partition there can be some logical drives, so i will unable to calculate it all starting offsets.</p>