<div dir="ltr">The most code in vbox_common.h is extracted from the vbox_CAPI_v*.h.​ I know some symbols like <span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:14px">PR_INT16_MAX or </span><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:14px">PR_INT16_MIN may not be necessary, as well as the</span><br>
<div><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:14px">definition of the NS_LIKELY and NS_UNLIKEY. But I put it here because I treat these codes as a whole thing and not </span><font color="#500050" face="arial, sans-serif"><span style="font-size:14px">separate them.</span></font></div>
<div><font color="#500050" face="arial, sans-serif"><span style="font-size:14px">I think your suggestion on handling API fails is better than mine, I would take it.</span></font></div></div>