Lines Matching refs:handle
33 std::string GetOfficeInstallationPath(MSIHANDLE handle) in GetOfficeInstallationPath() argument
39 if (MsiGetProperty(handle, TEXT("INSTALLLOCATION"), dummy, &sz) == ERROR_MORE_DATA) in GetOfficeInstallationPath()
45 MsiGetProperty(handle, TEXT("INSTALLLOCATION"), buff, &sz); in GetOfficeInstallationPath()
51 std::string GetOfficeProductName(MSIHANDLE handle) in GetOfficeProductName() argument
57 if (MsiGetProperty(handle, TEXT("ProductName"), dummy, &sz) == ERROR_MORE_DATA) in GetOfficeProductName()
63 MsiGetProperty(handle, TEXT("ProductName"), buff, &sz); in GetOfficeProductName()
69 std::string GetQuickstarterLinkName(MSIHANDLE handle) in GetQuickstarterLinkName() argument
75 if (MsiGetProperty(handle, TEXT("Quickstarterlinkname"), dummy, &sz) == ERROR_MORE_DATA) in GetQuickstarterLinkName()
81 MsiGetProperty(handle, TEXT("Quickstarterlinkname"), buff, &sz); in GetQuickstarterLinkName()
84 else if (MsiGetProperty(handle, TEXT("ProductName"), dummy, &sz) == ERROR_MORE_DATA) in GetQuickstarterLinkName()
90 MsiGetProperty(handle, TEXT("ProductName"), buff, &sz); in GetQuickstarterLinkName()
96 inline bool IsValidHandle( HANDLE handle ) in IsValidHandle() argument
98 return NULL != handle && INVALID_HANDLE_VALUE != handle; in IsValidHandle()