CopyFileEx notification??
-
When I used copyfileex, I'm marshalling an interface for use in the callback. What I want to make sure is that if the user cancels the copy, that I get a notification that (final step e.g.) the Copy has been cancelled coming into the CopyProgressRoutine, so that I can release the necessary interfaces. Am I missing something, or do I not have to marshall the interface for use in the CopyFileEx scenario?
-
When I used copyfileex, I'm marshalling an interface for use in the callback. What I want to make sure is that if the user cancels the copy, that I get a notification that (final step e.g.) the Copy has been cancelled coming into the CopyProgressRoutine, so that I can release the necessary interfaces. Am I missing something, or do I not have to marshall the interface for use in the CopyFileEx scenario?
CopyFileEx is not a COM method, it's just a plain stdcall API function. Same thing with it's callback, there's no interface there at all, just a function pointer to a stdcall function. Nothing to marshal. -Blake