?? samplelocales_mod.c
字號(hào):
/*===========================================================================
|| examplelocales specific xModule stuff
===========================================================================*/
#include "AEEStdLib.h"
#include "AEEShell.h" /* Shell interface definitions */
#include "aeeclsid_localedede.bid"
#include "aeeclsid_localeengb.bid"
// extern declarations of the NEW routines supported by this module.
// In this sample extension, ENGB and DEDE locales are implemented.
// Their create routines are declared here and called below.
extern int xModule_LocaleENGBCreateInstance(IModule *module, IShell *shell, AEECLSID idClass, void **pp);
extern int xModule_LocaleDEDECreateInstance(IModule *module, IShell *shell, AEECLSID idClass, void **pp);
int xModule_CreateInstance(IModule *module, IShell *shell, AEECLSID idClass, void **pp)
{
if (idClass == AEECLSID_LOCALEENGB)
return xModule_LocaleENGBCreateInstance(module, shell, idClass, pp);
else if (idClass == AEECLSID_LOCALEDEDE)
return xModule_LocaleDEDECreateInstance(module, shell, idClass, pp);
return (ECLASSNOTSUPPORT);
}
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -