HANDLE hFile;
DWORD dwBuf;


WriteFile(hFile, &temp, sizeof(temp), &dwBuf, NULL);