A smart pointer for an MSI database. More...
#include <MsiDatabase.h>
  
 Public Member Functions | |
| MsiDatabase () | |
| empty database object  More... | |
| MsiDatabase (const std::wstring &filepath, LPCTSTR openmode=MSIDBOPEN_READONLY) | |
| create a new or open an existing msi database  More... | |
| void | Commit () | 
| commit database changes to disk  More... | |
| void | Create (const std::wstring &filepath) | 
| create a usable empty database with a base summary  More... | |
| void | Open (const std::wstring &filepath, LPCTSTR openmode=MSIDBOPEN_READONLY) | 
| create or open a database file  More... | |
| void | Close () | 
| close the database  More... | |
| void | SetSummary (const std::vector< MsiDatabaseSummaryEntry > &summary) | 
| set database summary fields  More... | |
| void | SetSummary (const MsiDatabaseSummaryEntry summary[], int size) | 
| set database summary fields  More... | |
| void | Import (const std::wstring &path, const std::wstring &file) | 
| import a previously exported database file  More... | |
| void | Execute (const std::wstring &query) | 
| execute an MSI query  More... | |
  Public Member Functions inherited from AppSecInc::Msi::MsiHandle | |
| MsiHandle () | |
| MsiHandle (MSIHANDLE h) | |
| virtual | ~MsiHandle () | 
| void | operator= (MSIHANDLE h) | 
| virtual bool | IsOpen () const | 
| operator MSIHANDLE () | |
| MSIHANDLE * | operator& () | 
Additional Inherited Members | |
  Protected Attributes inherited from AppSecInc::Msi::MsiHandle | |
| MSIHANDLE | m_h | 
A smart pointer for an MSI database.
| MsiDatabase::MsiDatabase | ( | ) | 
empty database object
| MsiDatabase::MsiDatabase | ( | const std::wstring & | filepath, | 
| LPCTSTR | openmode = MSIDBOPEN_READONLY  | 
        ||
| ) | 
create a new or open an existing msi database
      
  | 
  virtual | 
close the database
Reimplemented from AppSecInc::Msi::MsiHandle.
| void MsiDatabase::Commit | ( | ) | 
commit database changes to disk
| void MsiDatabase::Create | ( | const std::wstring & | filepath | ) | 
create a usable empty database with a base summary
| void MsiDatabase::Execute | ( | const std::wstring & | query | ) | 
execute an MSI query
| void MsiDatabase::Import | ( | const std::wstring & | path, | 
| const std::wstring & | file | ||
| ) | 
import a previously exported database file
| void MsiDatabase::Open | ( | const std::wstring & | filepath, | 
| LPCTSTR | openmode = MSIDBOPEN_READONLY  | 
        ||
| ) | 
create or open a database file
| void MsiDatabase::SetSummary | ( | const std::vector< MsiDatabaseSummaryEntry > & | summary | ) | 
set database summary fields
| void MsiDatabase::SetSummary | ( | const MsiDatabaseSummaryEntry | summary[], | 
| int | size | ||
| ) | 
set database summary fields
| © Application Security Inc. - All Rights Reserved | http://msiext.codeplex.com |