KeePass   KeePass Help Center Home KeePass Home | Package Downloads | Flag Translations | Blocks Plugins  
Home Help Center Home | People Forums | Award Awards | Search Search  






Donate Donate

IKpFileTransaction Struct Reference

Interface to a file transaction object. More...

#include <IKpFileTransaction.h>

Inheritance diagram for IKpFileTransaction:

IKpUnknown

List of all members.


Public Member Functions

virtual HRESULT QueryInterface (REFIID riid, void **ppvObject)=0
 COM infrastructure, provides access to all interfaces supported by this object.
virtual ULONG AddRef ()=0
 COM infrastructure, increments the reference count for this object.
virtual ULONG Release ()=0
 COM infrastructure, decrements the reference count for this object and eventually deletes it.
virtual BOOL OpenWrite (LPTSTR lpOutBufferFilePath)=0
 Begin a file write transaction.
virtual BOOL CommitWrite ()=0
 Commit a file write transaction.

Detailed Description

Interface to a file transaction object.

Instances of classes supporting this interface can be created using IKpAPI::CreateInstanceEx.


Member Function Documentation

virtual ULONG IKpFileTransaction::AddRef (  )  [pure virtual]

COM infrastructure, increments the reference count for this object.

Returns:
Returns the new number of references, only for debugging purposes.

Implements IKpUnknown.

virtual BOOL IKpFileTransaction::CommitWrite (  )  [pure virtual]

Commit a file write transaction.

virtual BOOL IKpFileTransaction::OpenWrite ( LPTSTR  lpOutBufferFilePath  )  [pure virtual]

Begin a file write transaction.

Parameters:
lpOutBufferFilePath KeePass will copy the path of the file into this buffer (which should be able to hold at least MAX_PATH characters), to which you should write the data that should be written to the original file when committing.

virtual HRESULT IKpFileTransaction::QueryInterface ( REFIID  riid,
void **  ppvObject 
) [pure virtual]

COM infrastructure, provides access to all interfaces supported by this object.

Implements IKpUnknown.

virtual ULONG IKpFileTransaction::Release (  )  [pure virtual]

COM infrastructure, decrements the reference count for this object and eventually deletes it.

If the number of references reaches zero, the object should delete itself (exception: singletons).

Returns:
Returns the new number of references, only for debugging purposes.

Implements IKpUnknown.


The documentation for this struct was generated from the following file:



Documentation generated with Doxygen.




Valid XHTML 1.0 Transitional Document

Get Thunderbird

Get KeePass


KeePass is OSI Certified Open Source Software
Copyright © 2003-2010
Dominik Reichl, [Legal Contact / Imprint] [Disclaimer] [Acknowledgements] [Donate], Downloads hosted at

Get KeePass Password Safe at
SourceForge.net. Fast, secure and Free Open Source software downloads