I suspect the answer might lie with WMI (Windows Management Instrumentation). In theory this technology can get you the information you want but I can't say I've had much luck with it myself. I'd be interested in any solution you finally come up with though as I've stalled on a similar problem in the past. Microsoft don't seem to publish an interface for talking to the Logical Disk Manager, even locally. If this has changed perhaps somebody else will be able to post a link.
Nothing is exactly what it seems but everything with seems can be unpicked.