Lines Matching refs:handle
72 static std::_tstring GetMsiProperty( MSIHANDLE handle, const std::_tstring& sProperty ) in GetMsiProperty() argument
78 if ( MsiGetProperty( handle, sProperty.c_str(), szDummy, &nChars ) == ERROR_MORE_DATA ) in GetMsiProperty()
83 MsiGetProperty(handle, sProperty.c_str(), buffer, &nChars); in GetMsiProperty()
90 static inline bool IsSetMsiProperty(MSIHANDLE handle, const std::_tstring& sProperty) in IsSetMsiProperty() argument
92 std::_tstring value = GetMsiProperty(handle, sProperty); in IsSetMsiProperty()
96 static inline void UnsetMsiProperty(MSIHANDLE handle, const std::_tstring& sProperty) in UnsetMsiProperty() argument
98 MsiSetProperty(handle, sProperty.c_str(), NULL); in UnsetMsiProperty()
101 static inline void SetMsiProperty(MSIHANDLE handle, const std::_tstring& sProperty) in SetMsiProperty() argument
103 MsiSetProperty(handle, sProperty.c_str(), TEXT("1")); in SetMsiProperty()
174 extern "C" UINT __stdcall IsOfficeRunning( MSIHANDLE handle ) in IsOfficeRunning() argument
183 std::_tstring sInstDir = GetMsiProperty( handle, TEXT("INSTALLLOCATION") ); in IsOfficeRunning()
218 MsiSetProperty(handle, TEXT("OFFICERUNS"), TEXT("1")); in IsOfficeRunning()
232 std::_tstring sOfficeInstallPath = GetMsiProperty(handle, TEXT("INSTALLLOCATION")); in IsOfficeRunning()
277 MsiSetProperty( handle, TEXT("OFFICERUNS"), TEXT("1") ); in IsOfficeRunning()