VMware Contributed Sample Code Disclaimer
The attached sample code shows how to work with VDDK and VIM apis together.
It uses C# to call the VI methods to get disk details, mount the system volume and load a registry hive.
Note that the sample only handles basic disk - also it is meant to show the VDDK api's working with VI api's, not meant for use in production code.
Sample Code: http://communities.vmware.com/blogs/sudarsan/2009/01/21/more-sample-code