Searched refs:hDev (Results 1 – 1 of 1) sorted by relevance
666 int hDev = -1; in GetPubicKeyFromExternal() local682 hDev = open(szDev, O_RDONLY, 0); in GetPubicKeyFromExternal()683 if (hDev < 0) in GetPubicKeyFromExternal()695 pLog->Record(_T("INFO:GetPubicKeyFromExternal-->%s=%d"), szDev, hDev); in GetPubicKeyFromExternal()699 ret = lseek(hDev, 64 * 512, SEEK_SET); in GetPubicKeyFromExternal()708 ret = read(hDev, bData, 8 * 512); in GetPubicKeyFromExternal()769 if (hDev != -1) in GetPubicKeyFromExternal()771 close(hDev); in GetPubicKeyFromExternal()