static int drvNATFindSpecialOptions(PCFGMNODE pCfgHandle) { for (PCFGMNODE pNode = CFGMR3GetFirstChild(pCfgHandle); pNode; pNode = CFGMR3GetNextChild(pNode)) { /* Find boop_filename */ char bootp_filename[255]; int rc = CFGMR3QueryString(pNode, "bootp_filename", &bootp_filename[0], sizeof(bootp_filename)); if (rc == VERR_CFGM_VALUE_NOT_FOUND) { LogRel(("Error, bootp_filename can't be found\n")); } else { LogRel(("Found bootp_filname = %s\n",bootp_filename)); } } return 0; }