Searched refs:pFh (Results 1 - 2 of 2) sorted by relevance

/vbox/src/VBox/Additions/WINNT/Installer/InstallHelper/
H A DVBoxGuestInstallHelper.cpp286 FILE *pFh = fopen(szFile, "rb"); local
287 if (pFh)
297 if ( fread(&byBuf, sizeof(BYTE), 2, pFh) == 2
301 if (!fseek(pFh, 60L /*0x3C*/, SEEK_SET))
304 if (fread(&byOffsetPE, sizeof(BYTE), 1, pFh) == 1)
307 if (!fseek(pFh, byOffsetPE, SEEK_SET))
310 if (fread(byBuf, sizeof(BYTE), 4, pFh) == 4)
331 if (!fseek(pFh, byOffsetCOFF, SEEK_SET))
335 sizeof(wMachineType), pFh) == 2)
359 fclose(pFh);
[all...]
/vbox/src/VBox/Additions/common/VBoxService/
H A DVBoxServiceAutoMount.cpp116 * FILE *pFh = setmntent("/proc/mounts", "r+t"); */
118 FILE *pFh = fopen(_PATH_MOUNTED, "r"); local
119 if (!pFh)
125 while ((getmntent(pFh, &mntTab)))
134 fclose(pFh);
137 FILE *pFh = setmntent(_PATH_MOUNTED, "r+t"); local
138 if (pFh == NULL)
144 while ((pMntEnt = getmntent(pFh)))
153 endmntent(pFh);

Completed in 45 milliseconds