< prev index next >

src/jdk.incubator.jpackage/windows/native/libjpackage/VersionInfoSwap.h

Print this page




  33 
  34 class VersionInfoSwap {
  35 public:
  36     VersionInfoSwap(wstring executableProperties, wstring launcher);
  37 
  38     bool PatchExecutable();
  39 
  40 private:
  41     wstring m_executableProperties;
  42     wstring m_launcher;
  43 
  44     map<wstring, wstring> m_props;
  45 
  46     bool LoadFromPropertyFile();
  47     bool CreateNewResource(ByteBuffer *buf);
  48     bool UpdateResource(LPVOID lpResLock, DWORD size);
  49     bool FillFixedFileInfo(VS_FIXEDFILEINFO *fxi);
  50 };
  51 
  52 #endif // VERSIONINFOSWAP_H



  33 
  34 class VersionInfoSwap {
  35 public:
  36     VersionInfoSwap(wstring executableProperties, wstring launcher);
  37 
  38     bool PatchExecutable();
  39 
  40 private:
  41     wstring m_executableProperties;
  42     wstring m_launcher;
  43 
  44     map<wstring, wstring> m_props;
  45 
  46     bool LoadFromPropertyFile();
  47     bool CreateNewResource(ByteBuffer *buf);
  48     bool UpdateResource(LPVOID lpResLock, DWORD size);
  49     bool FillFixedFileInfo(VS_FIXEDFILEINFO *fxi);
  50 };
  51 
  52 #endif // VERSIONINFOSWAP_H
  53 
< prev index next >