KeePass Help Center KeePass Home | Downloads | Translations | Plugins | Donate 
Help Center Home | Forums | Awards | Links 







IKpAPI2 Struct Referenceabstract

KeePass API for plugins, provides access to all objects in KeePass (singletons, instantiable objects, utility method classes, etc). More...

#include <IKpAPI2.h>

Inheritance diagram for IKpAPI2:
IKpAPI IKpUnknown IKpAPI3

Public Member Functions

virtual BOOL IsInitialCommandLineFile ()=0
 
virtual HRESULT GetProperty (DWORD dwID, void *pOutValue)=0
 Reserved for future use. More...
 
virtual HRESULT SetProperty (DWORD dwID, void *pNewValue)=0
 Reserved for future use. More...
 
- Public Member Functions inherited from IKpAPI
virtual HRESULT CreateInstance (REFCLSID rclsid, REFIID riid, void **ppvObject)=0
 Create an object of the class associated with a specified class ID. More...
 
virtual HRESULT CreateInstanceEx (REFCLSID rclsid, REFIID riid, void **ppvObject, LPARAM lParamW, LPARAM lParamL)=0
 Create an object of the class associated with a specified class ID. More...
 
virtual HRESULT QueryInstance (REFCLSID rclsid, REFIID riid, void **ppvObject)=0
 Get an interface to a static or singleton object. More...
 
virtual HRESULT DeleteObject (void *pObject)=0
 Delete an object that has been allocated by the KeePass CRT. More...
 
virtual HRESULT DeleteArray (void *pArray)=0
 Delete an array/string that has been allocated by the KeePass CRT. More...
 
virtual DWORD GetVersion ()=0
 Get the KeePass version as integer. More...
 
virtual LPCTSTR GetVersionStr ()=0
 Get the KeePass version as string. More...
 
virtual DWORD GetCharSize ()=0
 Get the size of a TCHAR in bytes (can be used to detect whether KeePass is compiled in multi-byte or Unicode mode). More...
 
virtual DWORD GetPointerSize ()=0
 Get the size of a pointer in bytes (can be used to detect whether KeePass is compiled in 32 or 64 bit mode). More...
 
virtual DWORD GetDebugLevel ()=0
 Get a value indicating which debugging features are present. More...
 
virtual HWND GetMainWindowHandle ()=0
 Get a handle to the KeePass main window. More...
 
virtual HIMAGELIST GetClientIconsImageList ()=0
 Get a handle to the client icons image list. More...
 
virtual LPCTSTR GetTranslationName ()=0
 Get the name of the currently active translation table. More...
 
virtual LPCTSTR Translate (LPCTSTR lpDefString)=0
 Translate a string using the currently active translation file of KeePass. More...
 
virtual HRESULT GetNeverExpireTime (PW_TIME *pBuf)=0
 Get the predefined PW_TIME value that indicates infinity. More...
 
virtual HRESULT GetCurrentPwTime (PW_TIME *pBuf)=0
 Get the current local system time as PW_TIME structure. More...
 
virtual BOOL IsFileOpen ()=0
 Indicates whether there's currently a file open (if this is the case, the methods of the IKpDatabase interface can be used). More...
 
virtual LPCTSTR GetAbsoluteDatabasePath ()=0
 
virtual DWORD GetEntryListItemCount ()=0
 
virtual DWORD GetSelectedGroupId ()=0
 
virtual BOOL IsFileModified ()=0
 Get the 'modified' bit of the current database. More...
 
virtual HRESULT SetFileModified (BOOL bModified)=0
 Set the 'modified' bit of the current database. More...
 
virtual BOOL IsDisplayingDialog ()=0
 Get a bit indicating whether KeePass is currently showing a modal dialog. More...
 
virtual HRESULT SetDisplayDialog (BOOL bDialogDisplayed)=0
 Set a bit indicating whether KeePass is currently showing a modal dialog. More...
 
virtual HRESULT EntryListEnsureVisible (INT nItem, BOOL bPartialOK)=0
 
virtual HRESULT UpdateUI ()=0
 Update group tree and entry list (preserving current view if possible). More...
 
virtual HRESULT UpdateGroupTree ()=0
 
virtual HRESULT UpdateEntryList ()=0
 
virtual HRESULT UpdateToolBar ()=0
 Update the toolbar state. More...
 
virtual HRESULT SetStatusBarText (LPCTSTR lpText)=0
 
virtual HRESULT ShowDialog (DWORD dwDialogId, DWORD dwVersion, void *pConfig, INT *pnResult, void *pOutput)=0
 Show one of the KeePass dialogs. More...
 
virtual HRESULT AutoType (PW_ENTRY *pEntry, LONG_PTR lFlags)=0
 
virtual HRESULT AddImportMenuItem (LPCTSTR lpText, UINT uId, INT nIconId)=0
 
- 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

KeePass API for plugins, provides access to all objects in KeePass (singletons, instantiable objects, utility method classes, etc).

Member Function Documentation

◆ GetProperty()

virtual HRESULT IKpAPI2::GetProperty ( DWORD  dwID,
void *  pOutValue 
)
pure virtual

Reserved for future use.

◆ IsInitialCommandLineFile()

virtual BOOL IKpAPI2::IsInitialCommandLineFile ( )
pure virtual

◆ SetProperty()

virtual HRESULT IKpAPI2::SetProperty ( DWORD  dwID,
void *  pNewValue 
)
pure virtual

Reserved for future use.


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

Documentation generated with Doxygen.





Get KeePass