win32file.DeleteFileW

DeleteFileW(FileName, Transaction)

Deletes a file (Unicode version)

Parameters

FileName : PyUnicode

Name of file to be deleted

Transaction=None : PyHANDLE

Transaction handle as returned by win32transaction::CreateTransaction

Comments

If a transaction handle is passed in, DeleteFileTransacted will be called (requires Windows Vista).

Accepts keyword arguments.

Win32 API References

Search for DeleteFile at msdn, google or google groups.

Search for DeleteFileTransacted at msdn, google or google groups.