Skip to content

Latest commit

 

History

History
51 lines (34 loc) · 1.16 KB

File metadata and controls

51 lines (34 loc) · 1.16 KB

Home

Function name : DeleteFileTransacted

Group: File Management - Library: kernel32


Deletes an existing file as a transacted operation.


Declaration:

BOOL WINAPI DeleteFileTransacted(
	__in  LPCTSTR lpFileName,
	__in  HANDLE hTransaction
);  

FoxPro declaration:

DECLARE INTEGER DeleteFileTransacted IN kernel32;
	STRING lpFileName,;
	INTEGER hTransaction  

Parameters:

lpFileName [in] The name of the file to be deleted.

hTransaction [in] A handle to the transaction. This handle is returned by the CreateTransaction function.


Return value:

If the function succeeds, the return value is nonzero.


Comments:

Minimal OS: Vista

See also: RemoveDirectoryTransacted, CreateTransaction, CommitTransaction, RollbackTransaction, DeleteFile.