| 54 | } |
| 55 | |
| 56 | static bool FindFirst(const AdsDevice &route, TcFileFindData &item, |
| 57 | const std::string &path) |
| 58 | { |
| 59 | enum FFILEFIND : uint32_t { |
| 60 | GENERIC = 1 << 0, |
| 61 | }; |
| 62 | |
| 63 | item.hFile = FFILEFIND::GENERIC; |
| 64 | return FindNext(route, item, path.length(), path.c_str()); |
| 65 | } |
| 66 | |
| 67 | AdsFile::AdsFile(const AdsDevice &route, const std::string &filename, |
| 68 | const uint32_t flags) |