vendor/bela/src/belawin/pe/version.cc
LanguageAndCodePage *GetTranslate(const void *data) {
  static constexpr wchar_t kTranslation[] = L"\\VarFileInfo\\Translation";
  LPVOID translate = nullptr;
  UINT dummy_size;
  if (::VerQueryValue(data, kTranslation, &translate, &dummy_size)) {
    return static_cast<LanguageAndCodePage *>(translate);
  }
  return nullptr;
}
// Returns the \VarFileInfo\Translation value extracted from the
// VS_VERSION_INFO resource in |data|.
Returns the \VarFileInfo\Translation value extracted from the
VS_VERSION_INFO resource in |data|.
Returns the \ VarFileInfo \ Translation value extracted from the VS_VERSION_INFO resource in |data| .
LanguageAndCodePage *GetTranslate(const void *data) {
  static constexpr wchar_t kTranslation[] = L"\\VarFileInfo\\Translation";
  LPVOID translate = nullptr;
  UINT dummy_size;
  if (::VerQueryValue(data, kTranslation, &translate, &dummy_size)) {
    return static_cast<LanguageAndCodePage *>(translate);
  }
  return nullptr;
}
LanguageAndCodePage * GetTranslate ( const void * data ) { static constexpr wchar_t kTranslation [ ] = L" \\ \\ " ; LPVOID translate = nullptr ; UINT dummy_size ; if ( :: VerQueryValue ( data , kTranslation , & translate , & dummy_size ) ) { return static_cast < LanguageAndCodePage * > ( translate ) ; } return nullptr ; }
Returns the \VarFileInfo\Translation value extracted from the
VS_VERSION_INFO resource in |data|.
Returns the \ VarFileInfo \ Translation value extracted from the VS_VERSION_INFO resource in |data| .