Zitat von Antoine Pitrou <solip...@pitrou.net>:
> When you say MoveFile is absent, is MoveFileEx supported instead?
WinRT strongly prefers asynchronous methods for all lengthy
operations. The most likely call to use for moving files is
StorageFile.MoveAsync.
http://msdn.microsoft.com/en-us/library/windows/apps/br227219.aspx
How does it translate to C?
Not sure whether you are asking literally for *C*: please remember that
my original report said that C is apparently not currently supported for
Apps.
In any case, for native C++ code, do
StorageFile ^the_file = something();
the_file->MoveAsync(destinationFolder, "newfile.txt");
This may look like managed C++ to you, but it really compiles into
native code.
Regards,
Martin
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com