¡@

Home 

c++ Programming Glossary: pszfilename

C++/Win32: How to wait for a pending delete to complete?

http://stackoverflow.com/questions/3764072/c-win32-how-to-wait-for-a-pending-delete-to-complete

something like this while true HANDLE hFile CreateFileA pszFilename FILE_ALL_ACCESS FILE_SHARE_READ NULL CREATE_NEW FILE_ATTRIBUTE_NORMAL.. return OpenFailed const DWORD dwWrite strlen pszFilename DWORD dwWritten if WriteFile hFile pszFilename dwWrite dwWritten.. strlen pszFilename DWORD dwWritten if WriteFile hFile pszFilename dwWrite dwWritten NULL dwWritten dwWrite return WriteFailed..