ReactOS 0.4.16-dev-117-g38f21f9
|
#include "interop.h"
#include <winnls.h>
#include <strsafe.h>
#include <shlwapi.h>
#include <set>
#include <map>
Go to the source code of this file.
Classes | |
struct | PART_TEST |
struct | PART |
struct | PART_MATCH |
struct | PART_PAIR |
Macros | |
#define | ADD_LIB(eModule, pszPath) lib.insert(std::make_pair(eModule, pszPath)) |
Typedefs | |
typedef struct PART_TEST | PART_TEST |
typedef struct PART | PART |
typedef struct PART_MATCH | PART_MATCH |
Enumerations | |
enum | E_MODULE { shell32 , userenv , syssetup , mmsys , explorer_old } |
enum | E_STRING { SH32_PROGRAMS , SH32_STARTUP , SH32_STARTMENU , SH32_PROGRAM_FILES , SH32_PROGRAM_FILES_COMMON , SH32_ADMINTOOLS , UENV_STARTMENU , UENV_PROGRAMS , UENV_STARTUP , SYSS_PROGRAMFILES , SYSS_COMMONFILES , MMSY_STARTMENU , EOLD_PROGRAMS } |
Functions | |
static void | InitParts (void) |
static int | GetLocalisedText (_In_opt_ HINSTANCE hInstance, _In_ UINT uID, _Out_ LPWSTR lpBuffer, _In_ int cchBufferMax) |
static int | LoadStringWrapW (_In_opt_ HINSTANCE hInstance, _In_ UINT uID, _Out_ LPWSTR lpBuffer, _In_ int cchBufferMax) |
static DWORD | CountParts (_In_ LPWSTR str) |
static LPWSTR | GetPart (_In_ LPWSTR str, _In_ SIZE_T num, _Out_ SIZE_T *len) |
static BOOL CALLBACK | find_locale_id_callback (_In_ HMODULE hModule, _In_ LPCWSTR type, _In_ LPCWSTR name, _In_ LANGID lang, _In_ LPARAM lParam) |
static void | SetLocale (_In_ LCID lcid) |
static void | TEST_NumParts (void) |
static BOOL | LoadPart (_In_ PART *p, _Out_ LPWSTR str, _In_ SIZE_T size) |
static void | TEST_PartMatches (void) |
static void | TEST_LocaleTests (void) |
START_TEST (LocaleTests) | |
Variables | |
DWORD | dwVersion |
LCID | curLcid = 0 |
std::set< LANGID > | langs |
std::map< E_MODULE, HMODULE > | mod |
std::map< E_STRING, PART_TEST > | parts |
static PART_MATCH | PartMatches [] |
#define ADD_LIB | ( | eModule, | |
pszPath | |||
) | lib.insert(std::make_pair(eModule, pszPath)) |
typedef struct PART_MATCH PART_MATCH |
Enumerator | |
---|---|
shell32 | |
userenv | |
syssetup | |
mmsys | |
explorer_old |
Definition at line 18 of file LocaleTests.cpp.
Definition at line 27 of file LocaleTests.cpp.
Definition at line 160 of file LocaleTests.cpp.
Referenced by TEST_NumParts().
|
static |
|
static |
Definition at line 125 of file LocaleTests.cpp.
Referenced by LoadStringWrapW().
Definition at line 177 of file LocaleTests.cpp.
Referenced by LoadPart().
Definition at line 75 of file LocaleTests.cpp.
Referenced by TEST_LocaleTests().
Definition at line 232 of file LocaleTests.cpp.
Referenced by TEST_PartMatches().
|
static |
Definition at line 151 of file LocaleTests.cpp.
Referenced by LoadPart(), and TEST_NumParts().
Definition at line 203 of file LocaleTests.cpp.
Referenced by TEST_LocaleTests().
START_TEST | ( | LocaleTests | ) |
Definition at line 366 of file LocaleTests.cpp.
Definition at line 285 of file LocaleTests.cpp.
Referenced by START_TEST().
Definition at line 210 of file LocaleTests.cpp.
Referenced by TEST_LocaleTests().
Definition at line 260 of file LocaleTests.cpp.
Referenced by TEST_LocaleTests().
LCID curLcid = 0 |
Definition at line 64 of file LocaleTests.cpp.
Referenced by GetLocalisedText(), SetLocale(), TEST_NumParts(), and TEST_PartMatches().
DWORD dwVersion |
Definition at line 63 of file LocaleTests.cpp.
Referenced by _dump_DIDEVTYPE_value(), CreateIconFromResourceEx(), CRYPT_AsnDecodeCertInfo(), CRYPT_AsnDecodeCMSSignerInfoInternal(), CRYPT_AsnDecodeCRLInfo(), CRYPT_AsnDecodeCTL(), CRYPT_AsnDecodePKCSSignerInfoInternal(), CRYPT_AsnDecodeRecipientInfo(), DECLARE_INTERFACE_(), DirectInputCreateA(), DirectInputCreateEx(), DirectInputCreateW(), get_module_version(), IDirectInputDevice2AImpl_Initialize(), IDirectInputDevice2WImpl_Initialize(), initialize_directinput_instance(), LoadStringWrapW(), QuerySpoolMode(), START_TEST(), stillimagew_Initialize(), test_DirectInput8Create(), test_DirectInputCreateEx(), and TEST_LocaleTests().
std::set<LANGID> langs |
Definition at line 65 of file LocaleTests.cpp.
Referenced by find_locale_id_callback(), set_lang(), and TEST_LocaleTests().
Definition at line 66 of file LocaleTests.cpp.
Referenced by __subformat(), _CrtGetMessageBox(), _CrtGetUser32(), abs_modifier(), asmparser_dcl_input(), asmparser_dcl_input_ps_2(), asmparser_dcl_sampler(), asmparser_instr(), asmparser_sincos(), asmparser_tex(), asmparser_texcoord(), asmparser_texcrd(), asmparser_texhelper(), asmparser_texld14(), asmparser_texreg2ar(), asmparser_texreg2gb(), asmparser_texreg2rgb(), AtlComModuleRegisterServer(), ATL::AtlComModuleRegisterServer(), ATL::AtlComModuleUnregisterServer(), CallShellDimScreen(), codeview_get_type(), debug_argmod(), debug_dstmod(), debug_print_dstmod(), debug_print_srcmod(), do_div64(), ExceptionFilter(), execute_test(), extract_one(), get_module_version(), get_objmap_entry(), GetScanCode(), gray_render_line(), gray_render_scanline(), init_test_functions(), InitFunctionPointers(), ldr_notify_callback1(), ldr_notify_callback_dll_main(), ldr_notify_callback_fail(), LdrpAccessResource(), LoadAndInitialize(), LoadPart(), map_image_section(), ME_ApplyStyle(), ME_SetDefaultCharFormat(), mixerOpen(), negate_modifiers(), PrintBugreport(), ps_1_0123_dstreg(), ps_1_4_dstreg(), ps_2_0_dstreg(), rdssl_mod_exp(), record_declaration(), record_sampler(), register_for_arg(), sec_rsa_encrypt(), SeiCombineHookInfo(), shader_arb_get_modifier(), shader_hw_sample(), sm_3_dstreg(), START_TEST(), sym_enum(), test_converttoemfplus(), test_createeffect(), test_dc_layout(), test_filenames(), test_GetFileVersionInfoEx(), test_GetProcAddress(), test_import_resolution(), test_LdrAddRefDll(), test_LdrRegisterDllNotification(), test_LoadLibraryEx_search_flags(), test_loadres(), Test_LoadUnload(), TEST_LocaleTests(), test_normal_imports(), TEST_NumParts(), test_ordinal_imports(), test_SetDefaultDllDirectories(), test_ToUnicode(), testGetModuleHandleEx(), testK32GetModuleInformation(), uninit_test_functions(), User32CallEventProcFromKernel(), User32CallHookProcFromKernel(), VectorTest(), vs_12_dstreg(), WCacheCheckLimitsR(), WCacheDiscardBlocks__(), WCacheFindFrameToRelease(), WCachePurgeAllR(), WCacheSyncReloc__(), WCacheUpdatePacket(), and write_declarations().
|
static |
Definition at line 100 of file LocaleTests.cpp.
Referenced by TEST_PartMatches().
Definition at line 67 of file LocaleTests.cpp.
Referenced by ComposeConsonants(), DecomposeVowels(), DIALOG_StatusBarAlignParts(), inet_addr(), InitParts(), ipaddr_aton(), LoadPart(), log_file_checksum_error(), MMDRV_InitPerType(), open_fileref(), ParseV4Address(), MainFrameBase::resize_frame(), MDIMainFrame::resize_frame(), SDIMainFrame::resize_frame(), resize_frame_rect(), split_path(), STATUSBAR_GetParts(), STATUSBAR_SetParts(), test_clock(), TEST_NumParts(), WndProc(), and write_compressed().