Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
815 B

  1. // MsiDatabase.h: interface for the CMsiDatabase class.
  2. //
  3. //////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_MSIDATABASE_H__43FFFD81_6D04_11D2_9EE3_00C04FC2F1A5__INCLUDED_)
  5. #define AFX_MSIDATABASE_H__43FFFD81_6D04_11D2_9EE3_00C04FC2F1A5__INCLUDED_
  6. #include <tchar.h>
  7. #if _MSC_VER > 1000
  8. #pragma once
  9. #endif // _MSC_VER > 1000
  10. #define BUFFERSIZE 1000
  11. class CMsiDatabase
  12. {
  13. public:
  14. BOOL GetProperty(TCHAR* name, TCHAR** pszBuf);
  15. BOOL SetProperty(TCHAR* ptName, TCHAR* ptValue);
  16. CMsiDatabase();
  17. CMsiDatabase(MSIHANDLE hInstall);
  18. virtual ~CMsiDatabase();
  19. protected:
  20. MSIHANDLE m_hDatabase;
  21. MSIHANDLE m_hInstall;
  22. TCHAR** m_pszBuf;
  23. private:
  24. };
  25. #endif // !defined(AFX_MSIDATABASE_H__43FFFD81_6D04_11D2_9EE3_00C04FC2F1A5__INCLUDED_)