Lines Matching refs:handle
52 string GetMsiProperty(MSIHANDLE handle, const string& sProperty) in GetMsiProperty() argument
58 if (MsiGetProperty(handle, sProperty.c_str(), szDummy, &nChars) == ERROR_MORE_DATA) in GetMsiProperty()
63 MsiGetProperty(handle, sProperty.c_str(), buffer, &nChars); in GetMsiProperty()
69 inline bool IsSetMsiProperty(MSIHANDLE handle, const string& sProperty) in IsSetMsiProperty() argument
71 return (GetMsiProperty(handle, sProperty).length() > 0); in IsSetMsiProperty()
74 inline void UnsetMsiProperty(MSIHANDLE handle, const string& sProperty) in UnsetMsiProperty() argument
76 MsiSetProperty(handle, sProperty.c_str(), NULL); in UnsetMsiProperty()
79 inline void SetMsiProperty(MSIHANDLE handle, const string& sProperty, const string&) in SetMsiProperty() argument
81 MsiSetProperty(handle, sProperty.c_str(), TEXT("1")); in SetMsiProperty()
95 extern "C" UINT __stdcall CreateLayerLinks(MSIHANDLE handle) in CreateLayerLinks() argument
97 string sInstallPath = GetMsiProperty(handle, TEXT("INSTALLLOCATION")); in CreateLayerLinks()
106 if ( IsSetMsiProperty(handle, TEXT("ADMININSTALL")) ) in CreateLayerLinks()
207 extern "C" UINT __stdcall RemoveLayerLinks(MSIHANDLE handle) in RemoveLayerLinks() argument
209 string sInstallPath = GetMsiProperty(handle, TEXT("INSTALLLOCATION")); in RemoveLayerLinks()