ReactOS 0.4.16-dev-197-g92996da
|
Go to the source code of this file.
Macros | |
#define | MAKEFUNC(f) (p##f = (void*)GetProcAddress(hKernel32, #f)) |
Functions | |
static | DWORD (WINAPI *pGetDllDirectoryA)(DWORD |
static | BOOL (WINAPI *pSetDllDirectoryA)(LPCSTR) |
static | DLL_DIRECTORY_COOKIE (WINAPI *pAddDllDirectory)(const WCHAR *) |
static BOOL | cmpStrAW (const char *a, const WCHAR *b, DWORD lenA, DWORD lenB) |
static void | create_test_dll (const char *name) |
static void | testGetModuleFileName (const char *name) |
static void | testGetModuleFileName_Wrong (void) |
static void | testLoadLibraryA (void) |
static void | testNestedLoadLibraryA (void) |
static void | testLoadLibraryA_Wrong (void) |
static void | testGetProcAddress_Wrong (void) |
static void | testLoadLibraryEx (void) |
static void | test_LoadLibraryEx_search_flags (void) |
static void | testGetDllDirectory (void) |
static void | init_pointers (void) |
static void | testGetModuleHandleEx (void) |
static void | testK32GetModuleInformation (void) |
static void | test_AddDllDirectory (void) |
static void | test_SetDefaultDllDirectories (void) |
START_TEST (module) | |
Variables | |
static | LPSTR |
static | LPWSTR |
static HMODULE | module |
static HMODULE MODULEINFO * | modinfo |
static HMODULE MODULEINFO DWORD | cb |
static BOOL | is_unicode_enabled = TRUE |
struct { | |
IMAGE_DOS_HEADER dos | |
IMAGE_NT_HEADERS nt | |
IMAGE_SECTION_HEADER section | |
} | dll_image |
Definition at line 37 of file module.c.
Referenced by testGetDllDirectory(), and testGetModuleFileName().
Definition at line 118 of file module.c.
Referenced by test_LoadLibraryEx_search_flags().
|
static |
Definition at line 688 of file module.c.
Referenced by START_TEST().
START_TEST | ( | module | ) |
Definition at line 1017 of file module.c.
Definition at line 904 of file module.c.
Referenced by START_TEST().
Definition at line 462 of file module.c.
Referenced by START_TEST().
Definition at line 950 of file module.c.
Referenced by START_TEST().
Definition at line 588 of file module.c.
Referenced by START_TEST().
Definition at line 130 of file module.c.
Referenced by START_TEST().
Definition at line 185 of file module.c.
Referenced by START_TEST().
Definition at line 710 of file module.c.
Referenced by START_TEST().
Definition at line 291 of file module.c.
Referenced by START_TEST().
Definition at line 883 of file module.c.
Referenced by START_TEST().
Definition at line 203 of file module.c.
Referenced by START_TEST().
Definition at line 277 of file module.c.
Referenced by START_TEST().
Definition at line 306 of file module.c.
Referenced by START_TEST().
Definition at line 226 of file module.c.
Referenced by START_TEST().
Definition at line 33 of file module.c.
Referenced by _bdf_readstream(), CRegPropertyBag::_CopyStreamIntoBuff(), AboutProtocol_Read(), accumulating_stream_output(), add_ms_root_certs(), add_properties(), CDefaultContextMenu::AddStaticEntriesForKey(), AllocADsMem(), anonymous_namespace{activex.cpp}::AllocLpsz(), AMFilterData_ParseFilterData(), AVISplitter_ProcessIndex(), AVISplitter_ProcessODML(), AVISplitter_ProcessStreamList(), BindProtocol_Read(), cabinet_alloc(), cabinet_read(), cabinet_read_stream(), cabinet_write(), cert_mgr_dlg_proc(), CertContext_CopyParam(), check_convertible(), check_wellknown_name(), compareStore(), _com_util::ConvertBSTRToString(), create_show_list(), CardWindow::CreateButton(), CreateRegItem(), CRYPT_findPropID(), CRYPT_ReadContextProp(), cvid_v1_15(), cvid_v1_16(), cvid_v1_24(), cvid_v1_32(), cvid_v4_15(), cvid_v4_16(), cvid_v4_24(), cvid_v4_32(), d3dcompiler_parse_rdef(), d3dcompiler_parse_variables(), d3dcompiler_shader_reflection_GetVariableByName(), d3drm1_CreateUserVisual(), d3drm1_EnumerateObjects(), d3drm2_CreateUserVisual(), d3drm2_EnumerateObjects(), d3drm3_CreateUserVisual(), d3drm3_EnumerateObjects(), d3drm_animation1_AddDestroyCallback(), d3drm_animation1_DeleteDestroyCallback(), d3drm_animation2_AddDestroyCallback(), d3drm_animation2_DeleteDestroyCallback(), d3drm_device1_AddDestroyCallback(), d3drm_device1_AddUpdateCallback(), d3drm_device1_DeleteDestroyCallback(), d3drm_device1_DeleteUpdateCallback(), d3drm_device2_AddDestroyCallback(), d3drm_device2_AddUpdateCallback(), d3drm_device2_DeleteDestroyCallback(), d3drm_device2_DeleteUpdateCallback(), d3drm_device3_AddDestroyCallback(), d3drm_device3_AddUpdateCallback(), d3drm_device3_DeleteDestroyCallback(), d3drm_device3_DeleteUpdateCallback(), d3drm_device_win_AddDestroyCallback(), d3drm_device_win_DeleteDestroyCallback(), d3drm_face1_AddDestroyCallback(), d3drm_face1_DeleteDestroyCallback(), d3drm_face2_AddDestroyCallback(), d3drm_face2_DeleteDestroyCallback(), d3drm_frame1_AddDestroyCallback(), d3drm_frame1_AddMoveCallback(), d3drm_frame1_DeleteDestroyCallback(), d3drm_frame1_DeleteMoveCallback(), d3drm_frame1_Load(), d3drm_frame2_AddDestroyCallback(), d3drm_frame2_AddMoveCallback(), d3drm_frame2_AddMoveCallback2(), d3drm_frame2_DeleteDestroyCallback(), d3drm_frame2_DeleteMoveCallback(), d3drm_frame2_Load(), d3drm_frame3_AddDestroyCallback(), d3drm_frame3_AddMoveCallback(), d3drm_frame3_DeleteDestroyCallback(), d3drm_frame3_DeleteMoveCallback(), d3drm_frame3_Load(), d3drm_light_AddDestroyCallback(), d3drm_light_DeleteDestroyCallback(), d3drm_material_AddDestroyCallback(), d3drm_material_DeleteDestroyCallback(), d3drm_mesh_AddDestroyCallback(), d3drm_mesh_builder2_AddDestroyCallback(), d3drm_mesh_builder2_DeleteDestroyCallback(), d3drm_mesh_builder2_Load(), d3drm_mesh_builder3_AddDestroyCallback(), d3drm_mesh_builder3_DeleteDestroyCallback(), d3drm_mesh_builder3_Load(), d3drm_mesh_DeleteDestroyCallback(), d3drm_object_add_destroy_callback(), d3drm_object_delete_destroy_callback(), d3drm_texture1_AddDestroyCallback(), d3drm_texture1_DeleteDestroyCallback(), d3drm_texture2_AddDestroyCallback(), d3drm_texture2_DeleteDestroyCallback(), d3drm_texture3_AddDestroyCallback(), d3drm_texture3_DeleteDestroyCallback(), d3drm_texture3_SetDownsampleCallback(), d3drm_texture3_SetValidationCallback(), d3drm_viewport1_AddDestroyCallback(), d3drm_viewport1_DeleteDestroyCallback(), d3drm_viewport2_AddDestroyCallback(), d3drm_viewport2_DeleteDestroyCallback(), d3drm_wrap_AddDestroyCallback(), d3drm_wrap_DeleteDestroyCallback(), DdeAddData(), DdeCreateDataHandle(), ddraw7_EnumDisplayModes(), ddraw_surface7_EnumAttachedSurfaces(), ddraw_surface7_EnumOverlayZOrders(), DECLARE_INTERFACE_(), CardWindow::DeleteButton(), DeleteExt(), detail_dlg_proc(), dispex_traverse(), DlgMainProc(), BtrfsChangeDriveLetter::DlgProc(), do_searchW(), do_test_about_protocol(), downloadcb_create(), Graphics::DrawCachedBitmap(), DumpBytes(), DuplicateString(), DuplicationString(), EditStreamCallback(), elf_enum_modules(), elf_enum_modules_internal(), EnumDeviceDrivers(), EnumDirTree(), EnumDirTreeW(), EnumProcesses(), EnumProcessModules(), EnumWindowsProc(), ExtractFilesFromZip(), fci_get_checksum(), fci_read(), fci_write(), fdi_alloc(), fdi_mem_read(), fdi_mem_write(), fdi_read(), fdi_read_static(), fdi_write(), FileLockBytesImpl_LockRegion(), FileLockBytesImpl_ReadAt(), FileLockBytesImpl_UnlockRegion(), FileLockBytesImpl_WriteAt(), FileProtocol_Read(), fill_filter_data_information(), FindExeCplClass(), findPropID(), FNALLOC(), FNREAD(), FNWRITE(), format_enhanced_key_usage_value(), format_hex_string(), format_string_callback(), free_constant_buffer(), FtpProtocol_Read(), GdipGetImageThumbnail(), CGlobalFolderSettings::Get(), get_cert_property_as_string(), GetAssocClass(), CExtractIcon::GetIconLocation(), GetModuleInformation(), GetPerformanceInfo(), GetProcessMemoryInfo(), GetRegDWORD(), GetRegString(), GetTypeName(), GetWsChanges(), GopherProtocol_Read(), HEXEDIT_Copy(), HEXEDIT_Paste(), HGLOBALLockBytesImpl_ReadAt(), HGLOBALLockBytesImpl_WriteAt(), HGLOBALStreamImpl_CopyTo(), HGLOBALStreamImpl_Read(), HGLOBALStreamImpl_Write(), HLPFILE_BPTreeEnum(), horAcc8(), HTMLAnchorElement_traverse(), HTMLBodyElement_traverse(), HTMLButtonElement_traverse(), HTMLDocumentNode_traverse(), HTMLDOMNode_traverse(), HTMLFormElement_traverse(), HTMLFrameElement_traverse(), HTMLIFrame_traverse(), HTMLImgElement_traverse(), HTMLInputElement_traverse(), HTMLLinkElement_traverse(), HTMLObjectElement_traverse(), HTMLOptionElement_traverse(), HTMLScriptElement_traverse(), HTMLSelectElement_traverse(), HTMLStyleElement_traverse(), HTMLTable_traverse(), HTMLTableCell_traverse(), HTMLTableRow_traverse(), HTMLTextAreaElement_traverse(), HttpProtocol_Read(), ICGetInfo(), IchAnsiFromWide(), IFillLockBytes_FillAppend_Proxy(), IFillLockBytes_FillAppend_Stub(), IFillLockBytes_FillAt_Proxy(), IFillLockBytes_FillAt_Stub(), III_dequantize_sample(), ILockBytes_ReadAt_Proxy(), ILockBytes_ReadAt_Stub(), ILockBytes_WriteAt_Proxy(), ILockBytes_WriteAt_Stub(), IMalloc_fnAlloc(), IMalloc_fnRealloc(), IMAPIMalloc_fnAlloc(), IMAPIMalloc_fnRealloc(), Imm32CompStrAnsiToWide(), Imm32CompStrWideToAnsi(), ImmGetConversionListA(), ImmGetConversionListW(), ImmGetGuideLineAW(), init_layer3(), initFileFromData(), initialize_purpose_selection(), InitPropVariantFromBuffer(), InitVariantFromBuffer(), SEALED_::IQuickActivate::QuickActivate(), ISequentialStream_Read_Proxy(), ISequentialStream_Read_Stub(), ISequentialStream_Write_Proxy(), ISequentialStream_Write_Stub(), IStream_CopyTo_Proxy(), IStream_CopyTo_Stub(), IStream_fnCopyTo(), IStream_fnLockUnlockRegion(), IStream_fnRead(), IStream_fnWrite(), ITSProtocol_Read(), ITSS_IStream_Read(), IWICStreamImpl_CopyTo(), IWICStreamImpl_LockRegion(), IWICStreamImpl_Read(), IWICStreamImpl_UnlockRegion(), IWICStreamImpl_Write(), JoyConfig8Impl_EnumTypes(), LayoutInit(), CGlobalFolderSettings::Load(), CInternetToolbar::Load(), macho_enum_load_commands(), macho_enum_modules(), macho_enum_modules_internal(), MD_ComboBox_OnInitStorage(), MD_ListBox_OnInitStorage(), ME_AppendToHGLOBAL(), ME_ReadFromHGLOBALRTF(), ME_ReadFromHGLOBALUnicode(), ME_ReadFromRTFString(), mem_alloc(), MimeAlloc_Alloc(), MimeAlloc_Realloc(), MimeFilterProtocol_Read(), MimeHtmlProtocol_Read(), MimeProtocol_Read(), MkProtocol_Read(), mmTaskCreate(), mp_prime_random_ex(), mxstream_Write(), NetBIOSEnumAdapters(), CACLCustomMRU::Next(), nfs41_handle_callback(), NoStatStreamImpl_CopyTo(), NoStatStreamImpl_Read(), NoStatStreamImpl_Write(), pdb_load_stream_name_table(), pdlgex_hook_proc(), printBytes(), PropVariantToBuffer(), Protocol_Read(), ProtocolEmul_Read(), ProtocolHandler_Read(), ProtocolSink_ReportData(), ProtocolStream_CopyTo(), ProtocolStream_LockRegion(), ProtocolStream_Read(), ProtocolStream_UnlockRegion(), ProtocolStream_Write(), QueryWorkingSet(), QueryWorkingSetEx(), Read(), read_key(), read_text_callback(), ReadChunkIntoExtra(), ReadExtraChunk(), refresh_details_view(), RegFindRecurse(), ResProtocol_Read(), RpcStream_Read(), RpcStream_Write(), rpn_exec_int(), SampleGrabber_ISampleGrabber_SetCallback(), CGlobalFolderSettings::Save(), save_base64(), save_der(), sc_cb_alloc(), sc_cb_read(), sc_cb_write(), CGlobalFolderSettings::Set(), SHELL_GetRegCLSID(), SHGetSetSettings(), show_store_certs(), START_TEST(), StgStreamImpl_CopyTo(), StgStreamImpl_Read(), StgStreamImpl_Write(), StorageImpl_CheckLockRange(), StorageImpl_Destroy(), StorageImpl_GrabLocks(), StorageImpl_LockOne(), StorageImpl_LockRegion(), StorageImpl_LockRegionSync(), StorageImpl_LockTransaction(), StorageImpl_UnlockRegion(), StorageImpl_UnlockTransaction(), stream_in(), stream_out(), Stream_Read(), StreamOnFileHandle_CopyTo(), StreamOnFileHandle_LockRegion(), StreamOnFileHandle_Read(), StreamOnFileHandle_UnlockRegion(), StreamOnFileHandle_Write(), StreamOnMemory_CopyTo(), StreamOnMemory_LockRegion(), StreamOnMemory_Read(), StreamOnMemory_UnlockRegion(), StreamOnMemory_Write(), StreamOnStreamRange_CopyTo(), StreamOnStreamRange_LockRegion(), StreamOnStreamRange_Read(), StreamOnStreamRange_UnlockRegion(), StreamOnStreamRange_Write(), sub_stream_CopyTo(), sub_stream_Read(), sym_register_cb(), SymEnumLines(), SymFindFileInPath(), SymFindFileInPathW(), SymRegisterFunctionEntryCallback(), SymRegisterFunctionEntryCallback64(), template_hook(), test_CoInternetQueryInfo(), test_copyto(), test_CreateWellKnownSid(), test_EM_GETMODIFY_esCallback(), test_EM_STREAMIN_esCallback(), test_EM_STREAMIN_esCallback2(), test_esCallback_written_1(), test_file_protocol_url(), test_ftp_protocol(), test_http_protocol_url(), test_open_url_async(), test_pack_DISPLAY_DEVICEA(), test_pack_DISPLAY_DEVICEW(), test_pack_SHChangeDWORDAsIDList(), test_pack_SHChangeProductKeyAsIDList(), test_pack_SHITEMID(), test_pack_STARTUPINFOA(), test_pack_STARTUPINFOW(), test_pack_TTPOLYGONHEADER(), test_protocol_terminate(), test_protocol_url(), test_rasenum(), test_res_protocol(), test_status_callbacks(), Test_Stream_Read(), Test_Stream_Write(), test_WM_SETTEXT_esCallback(), TestLockBytes_ReadAt(), TestLockBytes_SetSize(), TestLockBytes_WriteAt(), teststream_Write(), Thunk_DDrawSurface3_EnumAttachedSurfaces(), Thunk_DDrawSurface3_EnumOverlayZOrders(), ThunkDirectDraw2_EnumDisplayModes(), ThunkDirectDraw2_EnumSurfaces(), ThunkDirectDraw4_EnumDisplayModes(), ThunkDirectDraw4_EnumSurfaces(), ThunkDirectDraw_EnumDisplayModes(), ThunkDirectDraw_EnumSurfaces(), WINHELP_RtfStreamIn(), WINTRUST_Alloc(), WINTRUST_ReAlloc(), CRegPropertyBag::Write(), ycc_rgb_convert(), and ycck_cmyk_convert().
const struct { ... } dll_image |
Referenced by create_test_dll().
IMAGE_DOS_HEADER dos |
Definition at line 49 of file module.c.
Referenced by build_exe(), check_exe(), create_fake_dll(), debug_target_get_module_machine(), debug_target_get_module_timestamp(), ExtractFilesFromZip(), get_nt_header(), image_nt_header(), pe_load_nt_header(), Rva2Addr(), SdbpGetModuleType(), START_TEST(), test_FileMapping(), and test_WaitForInputIdle().
Definition at line 35 of file module.c.
Referenced by START_TEST(), test_32bit_win(), testGetModuleFileName(), testGetModuleFileName_Wrong(), and testLoadLibraryEx().
HMODULE MODULEINFO* modinfo |
Definition at line 33 of file module.c.
Referenced by test_pe_checksum().
Definition at line 50 of file module.c.
Referenced by __attribute__(), build_exe(), check_exe(), check_pe_exe(), create_fake_dll(), do_register_dll(), get_nt_header(), get_resource_section(), get_section_header(), ImageDirectoryEntryToDataEx(), MIDI_GetMThdLengthMS(), MIDI_mciFindNextEvent(), MIDI_mciReadMThd(), MIDI_player(), nfstime_abs(), read_mapped_resources(), shgfi_get_exe_type(), split_tree_at(), START_TEST(), test_import_resolution(), test_NtQuerySection(), test_thread_start_address(), test_WaitForInputIdle(), tree_concat(), tree_const(), tree_host_lookup(), write_metadata_items(), write_raw_resources(), xdr_nfstime4(), and xdr_settime4().