Server : Apache/2.4.43 (Win64) OpenSSL/1.1.1g PHP/7.4.6 System : Windows NT USER-PC 6.1 build 7601 (Windows 7 Professional Edition Service Pack 1) AMD64 User : User ( 0) PHP Version : 7.4.6 Disable Function : NONE Directory : C:/Program Files/CyberLink/PowerDirector/MUITransfer/Interface/ |
// MUIXMLManager.h : main header file for the MUIXMLManager DLL // #pragma once #ifndef __AFXWIN_H__ #error include 'stdafx.h' before including this file for PCH #endif int LoadXMLFileW(IN const wchar_t* pwszXML_SourceFileName); int GetLanguagesInXmlW(OUT int* pnNumOfLang, OUT wchar_t* pwszLangBuffer, IN const int nElementValueBufSize);//Ex: [Enu,Cht,Chs,Jpn] int ModifyElementValueByItemIDW(IN const wchar_t* pwszLanguage, IN const int nItemID, IN const wchar_t* pwszElementName, IN const wchar_t* pwszNewElementValue); //Only support StartMenu int ModifyElementValueByTagW(IN const wchar_t* pwszLanguage, IN const wchar_t* pwszTag, IN const wchar_t* pwszElementName, IN const wchar_t* pwszNewElementValue); int RemoveByIDW(IN const wchar_t* pwszLanguage, IN const int nItemID); int GetElementValueW(IN const wchar_t* pwszLanguage, IN const int nItemID, IN const wchar_t* pwszElementName, OUT wchar_t* pwszElementValueToReturn, IN const int nElementValueBufSize); int GetTagCountW(IN const wchar_t* pwszLanguage, IN const wchar_t* pwszTag); int GetTagInfoW(IN const wchar_t* pwszLanguage, IN const wchar_t* pwszTag, IN const int nIndex, OUT int* pnItemID, OUT wchar_t* pwszElementValueToReturn, IN const int nElementValueBufSize); int SaveXMLFileW(IN const wchar_t* pwszXML_DestinationFileName); //Must call LoadXMLFileW before this //wszIniFilePath can't change int ReplaceValueByIniW(IN const wchar_t* wszIniFilePath, IN const wchar_t* wszIniKeyName, IN const int nXmlItemID, IN const wchar_t* wszXmlItemAttribute); int GetCurMUILanguageW(IN const wchar_t* pwszInstallPath, IN const wchar_t* pwszStartMenuPath, OUT wchar_t* wszLanguageReturn); int RemoveLanguageSectionW(IN const wchar_t* wszLanguageToRemove); //----------------------------------------------------------------------------------------------------------------------------------- int LoadXMLFileA(IN const char* pszXML_SourceFileName); int GetLanguagesInXmlA(OUT int* pnNumOfLang, OUT char* pszLangBuffer, IN const int nElementValueBufSize); int ModifyElementValueByItemIDA(IN const char* pszLanguage, IN const int nItemID, IN const char* pszElementName, IN const char* pszNewElementValue); //Only support StartMenu int ModifyElementValueByTagA(IN const char* pszLanguage, IN const char* pszTag, IN const char* pszElementName, IN const char* pszNewElementValue); int RemoveByIDA(IN const char* pszLanguage, IN const int nItemID); int GetElementValueA(IN const char* pszLanguage, IN const int nItemID, IN const char* pszElementName, OUT char* pszElementValueToReturn, IN const int nElementValueBufSize); int GetTagCountA(IN const char* pszLanguage, IN const char* pszTag); int GetTagInfoA(IN const char* pszLanguage, IN const char* pszTag, IN const int nIndex, OUT int* pnItemID, OUT char* pszElementValueToReturn, IN const int nElementValueBufSize); int SaveXMLFileA(IN const char* pszXML_DestinationFileName); //Must call LoadXMLFileA before this //szIniFilePath can't change int ReplaceValueByIniA(IN const char* szIniFilePath, IN const char* szIniKeyName, IN const int nXmlItemID, IN const char* szXmlItemAttribute); int GetCurMUILanguageA(IN const char* pszInstallPath, IN const char* pszStartMenuPath, OUT char* szLanguageReturn); int RemoveLanguageSectionA(IN const char* pszLanguageToRemove);