1. int WriteLog(char* _pcFullFileName, char* _pcWrite, int _iWriteLen, unsigned long * _pdwWritten) { HANDLE hLogFile = CreateFileA(_pcFullFileName, GENERIC_WRITE, FILE_SHARE_READ, , OPEN_ALWAYS, );// ZC: 存在:打开;不存在:创建 if (hLogFile == INVALID_HANDLE_V…