DSNAttributes.h
Go to the documentation of this file.
1 #pragma once
2 
7 {
8 private:
9  MSIHANDLE _h;
10  std::vector<std::wstring> _attributes;
11 public:
12  DSNAttributes(MSIHANDLE hInstall);
14  void AddPropertyValue(const std::wstring& property_name, const std::wstring& attribute_name, bool blank = false);
16  std::wstring GetAttributes() const;
17 };
void AddPropertyValue(const std::wstring &property_name, const std::wstring &attribute_name, bool blank=false)
add the value of property_name as attribute_name to DSN_ATTRIBUTES
Definition: DSNAttributes.cpp:10
DSNAttributes collects MSI attributes and translates them onto an attribute string.
Definition: DSNAttributes.h:6
DSNAttributes()
Definition: DSNAttributes.cpp:4
std::wstring GetAttributes() const
get the attributes value string
Definition: DSNAttributes.cpp:25


© Application Security Inc. - All Rights Reserved http://msiext.codeplex.com