 |
DeleteFileTransacted ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
Deletes an existing file as a transacted operation. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| 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. |
 |
 |
| Usage: |
 |
nResult = DeleteFileTransacted( m.cFilename,;
m.hTransaction )
IF nResult = 0
RollbackTransaction( m.hTransaction )
ELSE
CommitTransaction( m.hTransaction )
ENDIF
|
 |
 |
| My comment: |
 |
Minimal OS: Vista
See also: RemoveDirectoryTransacted, CreateTransaction, CommitTransaction, RollbackTransaction, DeleteFile |
 |
 |
| Word Index links for the DeleteFileTransacted : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2010-05-24 12:02:07 | | Modified: | 2010-05-24 12:07:31 | Visited in last 7 days: 17 |