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

// MsiDatabase.h: interface for the CMsiDatabase class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_MSIDATABASE_H__43FFFD81_6D04_11D2_9EE3_00C04FC2F1A5__INCLUDED_)
#define AFX_MSIDATABASE_H__43FFFD81_6D04_11D2_9EE3_00C04FC2F1A5__INCLUDED_
#include <tchar.h>
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#define BUFFERSIZE 1000
class CMsiDatabase
{
public:
BOOL GetProperty(TCHAR* name, TCHAR** pszBuf);
BOOL SetProperty(TCHAR* ptName, TCHAR* ptValue);
CMsiDatabase();
CMsiDatabase(MSIHANDLE hInstall);
virtual ~CMsiDatabase();
protected:
MSIHANDLE m_hDatabase;
MSIHANDLE m_hInstall;
TCHAR** m_pszBuf;
private:
};
#endif // !defined(AFX_MSIDATABASE_H__43FFFD81_6D04_11D2_9EE3_00C04FC2F1A5__INCLUDED_)