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: 18
User Contributed Notes:
There are no notes on this subject.

Copyright 2001-2017 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.36), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (
7 sec.Function: 'IsChild'
Function group: 'Window'
15 sec.Example: 'Reading keys in the specified section of the Win.ini file'
22 sec.Example: 'Using Video Capture: enumerating installed capture drivers'
31 sec.Function: 'getsockopt'
40 sec.Function: 'UuidCreate'
47 sec.
Function group: 'Process and Thread'
54 sec.Function: 'CryptGetProvParam'
Function group: 'Cryptography Reference'
1.03 min.Example: 'Printing text on the main VFP window'
1.17 min.Function: 'SendMessage'
1.28 min.Example: 'GDI+: loading image file, drawing on it, saving the result to another file'
Advertise here!