Yes, I see it. You helped me a lot. Thank you so much!<br><br><div class="gmail_quote">2009/7/15 Huihong Luo <span dir="ltr"><<a href="mailto:huisinro@yahoo.com">huisinro@yahoo.com</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font: inherit;" valign="top"><div>those APIs are provided from VBoxDDU.dll, you just need to link with VBoxDDu.lib, no need to use the disk source files in your project.</div>

<div> </div>
<div>Since they are low level APIs, I think make perfect sense not doing throug COM, so you can operate without vbox installations. In our case, we used those apis to do virtual disks, so .vdi/.vhd/.vmdk files can be mounted, partitioned, or formatted, etc.<div class="im">
<br><br>--- On <b>Wed, 7/15/09, Shu Wu <i><<a href="mailto:superwushu@gmail.com" target="_blank">superwushu@gmail.com</a>></i></b> wrote:<br></div></div>
<blockquote style="padding-left: 5px; margin-left: 5px; border-left: 2px solid rgb(16, 16, 255);"><div class="im"><br>From: Shu Wu <<a href="mailto:superwushu@gmail.com" target="_blank">superwushu@gmail.com</a>><br>
</div>Subject: Re: [vbox-dev] Is there any APIs to read/write VDI directly?<br>To: "Huihong Luo" <<a href="mailto:huisinro@yahoo.com" target="_blank">huisinro@yahoo.com</a>><br>Date: Wednesday, July 15, 2009, 8:19 AM<div>
<div></div><div class="h5"><br><br>
<div>Yeah, thank you. But those in VBoxHDD.h are not APIs provided by VirtualBox SDK, that is, cannot called through COM or web services. If the prototypes in VBoxHDD.h change in new version, I have to change my code, too. So is there any plan to add new vdi APIs to the SDK?<br>
<br>
<div class="gmail_quote">2009/7/15 Huihong Luo <span dir="ltr"><<a href="http://us.mc343.mail.yahoo.com/mc/compose?to=huisinro@yahoo.com" rel="nofollow" target="_blank">huisinro@yahoo.com</a>></span><br>
<blockquote class="gmail_quote" style="padding-left: 1ex; margin: 0px 0px 0px 0.8ex; border-left: 1px solid rgb(204, 204, 204);">
<table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td valign="top">VBoxHDD.h is the direct APIs you can use.<br><br>--- On <b>Wed, 7/15/09, Shu Wu <i><<a href="http://us.mc343.mail.yahoo.com/mc/compose?to=superwushu@gmail.com" rel="nofollow" target="_blank">superwushu@gmail.com</a>></i></b> wrote:<br>

<blockquote style="padding-left: 5px; margin-left: 5px; border-left: 2px solid rgb(16, 16, 255);"><br>From: Shu Wu <<a href="http://us.mc343.mail.yahoo.com/mc/compose?to=superwushu@gmail.com" rel="nofollow" target="_blank">superwushu@gmail.com</a>><br>
Subject: [vbox-dev] Is there any APIs to read/write VDI directly?<br>To: <a href="http://us.mc343.mail.yahoo.com/mc/compose?to=vbox-dev@virtualbox.org" rel="nofollow" target="_blank">vbox-dev@virtualbox.org</a><br>Date: Wednesday, July 15, 2009, 7:20 AM 
<div><br><br>
<div>Hi, buddies. Is there any APIs in SDK to read or write data (in block or byte) to vdi? I mean, if I want to perform partitioning and formatting operations in a vdi, I have to run an OS to do that. But I want to do it outside VirtualBox. Analysizing and operating on the structure of the vdi should be tough, so is there a better way provided by VirtualBox? Thanks! </div>
<br></div>-----Inline Attachment Follows-----<br><br>
<div>_______________________________________________<br>vbox-dev mailing list<br><a href="http://us.mc343.mail.yahoo.com/mc/compose?to=vbox-dev@virtualbox.org" rel="nofollow" target="_blank">vbox-dev@virtualbox.org</a><br>
<a href="http://vbox.innotek.de/mailman/listinfo/vbox-dev" rel="nofollow" target="_blank">http://vbox.innotek.de/mailman/listinfo/vbox-dev</a><br></div></blockquote></td></tr></tbody></table></blockquote></div><br></div></div>
</div></blockquote></td></tr></tbody></table></blockquote></div><br>