KeePass   KeePass Help Center Home KeePass Home | Package Downloads | Flag Translations | Blocks Plugins | Donate Donate  
Home Help Center Home | People Forums | Award Awards | Link Links  

IKpFileTransaction Struct Referenceabstract

Interface to a file transaction object. More...

#include <IKpFileTransaction.h>

Inheritance diagram for IKpFileTransaction:

Public Member Functions

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

Detailed Description

Interface to a file transaction object.

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

Member Function Documentation

virtual BOOL IKpFileTransaction::CommitWrite ( )
pure virtual

Commit a file write transaction.

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

Begin a file write transaction.

lpOutBufferFilePathKeePass 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.

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

Documentation generated with Doxygen.

Valid XHTML 1.0 Transitional Document

Get KeePass

Copyright © 2003-2019 Dominik Reichl, [Legal Contact / Imprint] [Terms & Privacy] [Acknowledgements] [Donate]