Home
last modified time | relevance | path

Searched refs:versionInfoData (Results 1 – 2 of 2) sorted by relevance

/external/webkit/Source/WebKit2/Shared/Plugins/Netscape/win/
DNetscapePluginModuleWin.cpp36 static String getVersionInfo(const LPVOID versionInfoData, const String& info) in getVersionInfo() argument
41 …if (!::VerQueryValueW(versionInfoData, const_cast<UChar*>(subInfo.charactersWithNullTermination())… in getVersionInfo()
63 OwnArrayPtr<char> versionInfoData = adoptArrayPtr(new char[versionInfoSize]); in getPluginInfo() local
64 …eVersionInfoW(pathCopy.charactersWithNullTermination(), 0, versionInfoSize, versionInfoData.get())) in getPluginInfo()
67 String name = getVersionInfo(versionInfoData.get(), "ProductName"); in getPluginInfo()
68 String description = getVersionInfo(versionInfoData.get(), "FileDescription"); in getPluginInfo()
74 …if (!::VerQueryValueW(versionInfoData.get(), L"\\", reinterpret_cast<void**>(&info), &infoSize) ||… in getPluginInfo()
78 getVersionInfo(versionInfoData.get(), "MIMEType").split('|', types); in getPluginInfo()
80 getVersionInfo(versionInfoData.get(), "FileExtents").split('|', extensionLists); in getPluginInfo()
82 getVersionInfo(versionInfoData.get(), "FileOpenName").split('|', descriptions); in getPluginInfo()
/external/webkit/Source/WebCore/plugins/win/
DPluginPackageWin.cpp44 static String getVersionInfo(const LPVOID versionInfoData, const String& info) in getVersionInfo() argument
49 bool retval = VerQueryValueW(versionInfoData, in getVersionInfo()
174 OwnArrayPtr<char> versionInfoData = adoptArrayPtr(new char[versionInfoSize]); in fetchInfo() local
177 0, versionInfoSize, versionInfoData.get())) in fetchInfo()
180 m_name = getVersionInfo(versionInfoData.get(), "ProductName"); in fetchInfo()
181 m_description = getVersionInfo(versionInfoData.get(), "FileDescription"); in fetchInfo()
187 …if (!VerQueryValueW(versionInfoData.get(), L"\\", (LPVOID*) &info, &infoSize) || infoSize < sizeof… in fetchInfo()
196 getVersionInfo(versionInfoData.get(), "MIMEType").split('|', types); in fetchInfo()
198 getVersionInfo(versionInfoData.get(), "FileExtents").split('|', extensionLists); in fetchInfo()
200 getVersionInfo(versionInfoData.get(), "FileOpenName").split('|', descriptions); in fetchInfo()