Using Win32 functions in Visual FoxPro Image Gallery
Kernel Transaction Manager
Code examples:
Copying files as a transacted operation (Vista)
..msdn    Add comment     W32 Constants      Translate this page
Requests that the specified transaction be rolled back. This function is synchronous.
Code examples:
Copying files as a transacted operation (Vista)
BOOL WINAPI RollbackTransaction(
  __in  HANDLE TransactionHandle

FoxPro declaration:
DECLARE INTEGER RollbackTransaction IN KtmW32;
    INTEGER TransactionHandle
A handle to the transaction.
Return value:
If the function succeeds, the return value is nonzero.
LOCAL hTrans

hTrans = CreateTransaction(0, 0, 0, 0, 0, 1000, NULL)

    ? "CreateTransaction call failed:", GetLastError()

* . . .

= RollbackTransaction(m.hTrans)
= CloseHandle(m.hTrans)

My comment:
Requires Windows Vista.

See also: CreateTransaction, CommitTransaction
Translate this page:
  Spanish    Portuguese    German    French    Italian offers instant, free translations of text or web pages.
Created: 2008-12-04 15:51:13
Modified: 2008-12-04 15:57:20
Visited in last 7 days: 42
User Contributed Notes:
There are no notes on this subject.

Copyright 2001-2018 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.6.39), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (
3 sec.Function: 'MoveFile'
Function group: 'File Management'
5 sec.Example: 'Pocket PC: custom RAPI class for operating with files and folders on mobile device'
11 sec.Function: 'StrFromTimeInterval'
Function group: 'String'
13 sec.Function: 'GetPriorityClass'
Function group: 'Process and Thread'
15 sec.Function: 'CeEnumDBVolumes'
Function group: 'Remote Application Programming (RAPI)'
17 sec.Function: 'OpenFile'
Function group: 'File Management'
20 sec.Function: 'IsWow64Process'
Function group: 'Process and Thread'
21 sec.
Function group: 'Filled Shape'
24 sec.
Function group: 'ODBC API'
27 sec.Updates
Advertise here!