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 committed.
Code examples:
Copying files as a transacted operation (Vista)
BOOL WINAPI CommitTransaction(
  __in  HANDLE TransactionHandle
FoxPro declaration:
DECLARE INTEGER CommitTransaction IN KtmW32;
    INTEGER TransactionHandle
A handle to the transaction to be committed.
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()

* . . .

= CommitTransaction(m.hTrans)
= CloseHandle(m.hTrans)
My comment:
Requires Windows Vista.

See also: CreateTransaction, RollbackTransaction
Translate this page:
  Spanish    Portuguese    German    French    Italian offers instant, free translations of text or web pages.
Created: 2008-12-04 15:48:21
Modified: 2008-12-04 15:56:53
Visited in last 7 days: 32
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 (
17 sec.Function: 'CeGetVersionEx'
Function group: 'Remote Application Programming (RAPI)'
35 sec.Function: 'GdipGetPageUnit'
52 sec.Function: 'GetTempFileName'
Function group: 'File Management'
1.18 min.Function: 'CeSetFilePointer'
1.52 min.
Function group: 'Network Management'
1.83 min.Function: 'DragFinish'
Function group: 'Shell Functions'
2.13 min.Function: 'GetSystemPowerStatus'
2.47 min.Example: 'GDI+: converting text strings to images and saving in a graphics file'
2.78 min.Function: 'SHAddToRecentDocs'
Function group: 'Shell Functions'
3.45 min.Function: 'MQHandleToFormatName'
Function group: 'Message and Message Queue'
Advertise here!