On Sat Nov 19 18:56:07 2022 +0000, Etaash Mathamsetty wrote:
instead of saving the return value to a temp variable and returning the temp variable, I think you could moving the FIXME before the call and just return MoveFileWithProgressA, thus removing the need of the variable
I thought about it. But having the fixme after provides feedback in the event something goes wrong inside of MoveFile... Although maybe that is no with the memory allocation thats going to be held onto for the life the the call.