¡@

Home 

c++ Programming Glossary: findxfilefunctions_t

How might I wrap the FindXFile-style APIs to the STL-style Iterator Pattern in C++?

http://stackoverflow.com/questions/2531874/how-might-i-wrap-the-findxfile-style-apis-to-the-stl-style-iterator-pattern-in-c

return internalData.ftLastWriteTime template typename FindXFileFunctions_T class BasicNonRecursiveEnumeration public boost noncopyable.. if hFind INVALID_HANDLE_VALUE return BOOL success FindXFileFunctions_T FindNext hFind currentData if success return DWORD error GetLastError.. DWORD error GetLastError if error ERROR_NO_MORE_FILES FindXFileFunctions_T Close hFind hFind INVALID_HANDLE_VALUE else WindowsApiException..