/reactos/modules/rostests/winetests/kernel32/ |
H A D | module.c | 734 ok( mod != (HMODULE)0xdeadbeef, "got %p\n", mod ); in testGetModuleHandleEx() 743 ok( mod == NULL, "got %p\n", mod ); in testGetModuleHandleEx() 761 ok( mod != (HMODULE)0xdeadbeef, "got %p\n", mod ); in testGetModuleHandleEx() 770 ok( mod == NULL, "got %p\n", mod ); in testGetModuleHandleEx() 788 ok( mod != (HMODULE)0xdeadbeef, "got %p\n", mod ); in testGetModuleHandleEx() 796 ok( mod == NULL, "got %p\n", mod ); in testGetModuleHandleEx() 822 ok( mod == NULL, "got %p\n", mod ); in testGetModuleHandleEx() 842 ok( mod == mod_kernel32, "got %p\n", mod ); in testGetModuleHandleEx() 851 ok( mod == NULL, "got %p\n", mod ); in testGetModuleHandleEx() 869 ok( mod == mod_kernel32, "got %p\n", mod ); in testGetModuleHandleEx() [all …]
|
/reactos/sdk/lib/crt/misc/ |
H A D | i10output.c | 17 enum fpmod mod; member 28 if (fp->mod == FP_VAL_INFINITY) in fpnum_double() 34 if (fp->mod == FP_VAL_NAN) in fpnum_double() 44 fp->m, fp->exp, fp->mod); in fpnum_double() 75 else if(fp->mod == FP_ROUND_ZERO) fp->mod = FP_ROUND_EVEN; in fpnum_double() 86 if (fp->m & 1 && fp->mod == FP_ROUND_ZERO) fp->mod = FP_ROUND_EVEN; in fpnum_double() 88 else if (fp->mod != FP_ROUND_ZERO) fp->mod = FP_ROUND_DOWN; in fpnum_double() 93 if (fp->m & 1 && fp->mod == FP_ROUND_ZERO) fp->mod = FP_ROUND_EVEN; in fpnum_double() 95 else if (fp->mod != FP_ROUND_ZERO) fp->mod = FP_ROUND_DOWN; in fpnum_double() 101 if (fp->mod == FP_ROUND_UP || (fp->mod == FP_ROUND_EVEN && fp->m & 1)) in fpnum_double() [all …]
|
H A D | dbgrpt.cpp | 125 … HMODULE mod = LoadLibraryExW(L"user32.dll", NULL, 0 /* NT6+: LOAD_LIBRARY_SEARCH_SYSTEM32 */); in _CrtGetUser32() local 126 if (mod == NULL) in _CrtGetUser32() 127 mod = (HMODULE)INVALID_HANDLE_VALUE; in _CrtGetUser32() 129 if (_InterlockedCompareExchangePointer((PVOID*)&_CrtUser32Handle, mod, NULL)) in _CrtGetUser32() 131 if (mod != INVALID_HANDLE_VALUE) in _CrtGetUser32() 132 FreeLibrary(mod); in _CrtGetUser32() 141 HMODULE mod = _CrtGetUser32(); in _CrtGetMessageBox() local 143 if (_CrtMessageBoxW == NULL && mod != INVALID_HANDLE_VALUE) in _CrtGetMessageBox() 145 tMessageBoxW proc = (tMessageBoxW)GetProcAddress(mod, "MessageBoxW"); in _CrtGetMessageBox()
|
/reactos/dll/directx/wine/d3dcompiler_43/ |
H A D | asmshader.y | 90 DWORD mod; member 1181 $$.mod = 0; 1186 $$.mod = $1.mod | $2.mod; 1199 $$.mod = 0; 1204 $$.mod = 0; 1209 $$.mod = 0; 1214 $$.mod = 0; 1219 $$.mod = 0; 1224 $$.mod = 0; 1229 $$.mod = BWRITERSPDM_SATURATE; [all …]
|
H A D | asmparser.c | 128 if(mod != 0 && in asmparser_dcl_input() 130 (mod != BWRITERSPDM_MSAMPCENTROID && in asmparser_dcl_input() 138 instr.dstmod = mod; in asmparser_dcl_input() 153 instr.dstmod = mod; in asmparser_dcl_input_ps_2() 173 if(mod != 0 && in asmparser_dcl_sampler() 175 (mod != BWRITERSPDM_MSAMPCENTROID && in asmparser_dcl_sampler() 213 instr->dstmod = mod; in asmparser_sincos() 328 instr->dstmod = mod; in asmparser_texcrd() 384 instr->dstmod = mod; in asmparser_texhelper() 439 instr->dstmod = mod; in asmparser_texld14() [all …]
|
/reactos/modules/rostests/apitests/ntdll/ |
H A D | RtlGetUnloadEventTrace.c | 44 HMODULE mod; in Test_LoadUnload() local 47 mod = GetModuleHandleA(TESTDLL); in Test_LoadUnload() 48 ok(mod == NULL, "ERROR, %s already loaded\n", TESTDLL); in Test_LoadUnload() 50 mod = LoadLibraryA(Buffer[0] ? Buffer :TESTDLL); in Test_LoadUnload() 51 ok(mod != NULL, "ERROR, %s not loaded\n", TESTDLL); in Test_LoadUnload() 55 GetModuleFileNameA(mod, Buffer, _countof(Buffer)); in Test_LoadUnload() 62 FreeLibrary(mod); in Test_LoadUnload() 64 mod = GetModuleHandleA(TESTDLL); in Test_LoadUnload() 65 ok(mod == NULL, "ERROR, %s still loaded\n", TESTDLL); in Test_LoadUnload()
|
H A D | load_notifications.c | 90 HMODULE mod; in execute_test() local 99 mod = LoadLibraryW(dllpath); in execute_test() 108 FreeLibrary(mod); in execute_test() 129 mod = LoadLibraryW(dllpath); in execute_test() 139 if (mod) in execute_test() 141 FreeLibrary(mod); in execute_test() 162 mod = LoadLibraryW(dllpath); in execute_test() 169 FreeLibrary(mod); in execute_test() 189 mod = LoadLibraryW(dllpath); in execute_test() 196 FreeLibrary(mod); in execute_test() [all …]
|
/reactos/modules/rostests/apitests/shlwapi/ |
H A D | SHLoadIndirectString.c | 21 HMODULE mod; in execute_test() local 30 mod = GetModuleHandleW(DllFile); in execute_test() 31 if (mod != NULL) in execute_test() 46 mod = GetModuleHandleW(DllFile); in execute_test() 47 ok_ptr(mod, 0); in execute_test() 56 mod = LoadLibraryW(DllFile); in execute_test() 57 ok(mod != NULL, "Failed to load %S\n", DllFile); in execute_test() 59 if (mod) in execute_test() 63 FreeLibrary(mod); in execute_test()
|
/reactos/dll/win32/riched20/ |
H A D | style.c | 139 if (mod->dwMask & mask) { \ 141 fmt.member = mod->member;\ 145 if (mod->dwMask & mask) { \ 147 CopyMemory(fmt.member, mod->member, sizeof(mod->member));\ 171 if (mod->dwMask & CFM_SIZE) { in ME_ApplyStyle() 182 fmt.dwEffects |= mod->dwEffects & mod->dwMask; in ME_ApplyStyle() 183 fmt.dwMask |= mod->dwMask; in ME_ApplyStyle() 184 if (mod->dwMask & CFM_COLOR) in ME_ApplyStyle() 194 if ((mod->dwMask & CFM_UNDERLINETYPE) && !(mod->dwMask & CFM_UNDERLINE)) in ME_ApplyStyle() 203 if (mod->dwMask & CFM_BOLD && !(mod->dwMask & CFM_WEIGHT)) in ME_ApplyStyle() [all …]
|
/reactos/dll/win32/wldap32/ |
H A D | wldap32.h | 302 modW->mod_op = mod->mod_op; in modAtoW() 305 if (mod->mod_op & LDAP_MOD_BVALUES) in modAtoW() 313 static inline LDAPMod *modWtoU( LDAPModW *mod ) in modWtoU() argument 319 modU->mod_op = mod->mod_op; in modWtoU() 322 if (mod->mod_op & LDAP_MOD_BVALUES) in modWtoU() 330 static inline void modfreeW( LDAPModW *mod ) in modfreeW() argument 332 if (mod->mod_op & LDAP_MOD_BVALUES) in modfreeW() 336 heap_free( mod ); in modfreeW() 339 static inline void modfreeU( LDAPMod *mod ) in modfreeU() argument 341 if (mod->mod_op & LDAP_MOD_BVALUES) in modfreeU() [all …]
|
/reactos/dll/win32/atl80/ |
H A D | atl80.c | 37 HRESULT WINAPI AtlComModuleRegisterServer(_ATL_COM_MODULE *mod, BOOL bRegTypeLib, const CLSID *clsi… in AtlComModuleRegisterServer() argument 43 TRACE("(%p %x %s)\n", mod, bRegTypeLib, debugstr_guid(clsid)); in AtlComModuleRegisterServer() 45 for(iter = mod->m_ppAutoObjMapFirst; iter < mod->m_ppAutoObjMapLast; iter++) { in AtlComModuleRegisterServer() 63 hres = AtlRegisterTypeLib(mod->m_hInstTypeLib, NULL); in AtlComModuleRegisterServer()
|
/reactos/modules/rosapps/applications/devutils/shimtest_ros/ |
H A D | shimtest_ros.c | 31 HMODULE mod; in test_normal_imports() local 47 mod = GetModuleHandleA("kernel32.dll"); in test_normal_imports() 48 p_GetComputerNameA = (void*)GetProcAddress(mod, "GetComputerNameA"); in test_normal_imports() 74 HMODULE mod; in test_ordinal_imports() local 90 mod = GetModuleHandleA("shlwapi.dll"); in test_ordinal_imports() 91 p_SHStringFromGUIDA = (void*)GetProcAddress(mod, (LPCSTR)23); in test_ordinal_imports()
|
/reactos/drivers/filesystems/udfs/Include/CrossNt/ |
H A D | CrNtDecl.h | 15 #define CROSSNT_DECL_EX(mod, type, dspec, name, args, callargs) \ argument 28 #define CROSSNT_DECL_EX(mod, type, dspec, name, args, callargs) \ argument 47 #define CROSSNT_DECL_EX(mod, type, dspec, name, args, callargs) \ argument 48 KdPrint(("Init " mod "," #name " cur %x\n", CrNt##name)); \ 50 CrNt##name = (ptr##name)CrNtGetProcAddress(CrNtGetModuleBase(mod), #name); \ 51 KdPrint((" GetProcAddr(" mod "," #name ") = %x\n", CrNt##name)); \
|
/reactos/drivers/storage/ide/uniata/inc/ |
H A D | CrNtDecl.h | 15 #define CROSSNT_DECL_EX(mod, type, dspec, name, args, callargs) \ argument 28 #define CROSSNT_DECL_EX(mod, type, dspec, name, args, callargs) \ argument 47 #define CROSSNT_DECL_EX(mod, type, dspec, name, args, callargs) \ argument 48 KdPrint(("Init " mod "," #name " cur %x\n", CrNt##name)); \ 50 CrNt##name = (ptr##name)CrNtGetProcAddress(CrNtGetModuleBase(mod), #name); \ 51 KdPrint((" GetProcAddr(" mod "," #name ") = %x\n", CrNt##name)); \
|
/reactos/modules/rostests/apitests/pefile/ |
H A D | ntoskrnl.c | 110 HMODULE mod; in START_TEST() local 114 mod = LoadLibraryExA( buf, NULL, LOAD_LIBRARY_AS_DATAFILE ); in START_TEST() 115 if( mod != NULL ) in START_TEST() 118 PIMAGE_DOS_HEADER dos = (PIMAGE_DOS_HEADER)(((size_t)mod) & (~0xf)); in START_TEST() 126 FreeLibrary(mod); in START_TEST() 133 FreeLibrary(mod); in START_TEST() 166 FreeLibrary(mod); in START_TEST()
|
/reactos/modules/rostests/winetests/winetest/ |
H A D | port.h | 125 # define S_ISLNK(mod) (0) argument 129 # define S_ISSOCK(mod) (0) argument 133 # define S_ISDIR(mod) (((mod) & _S_IFMT) == _S_IFDIR) argument 137 # define S_ISCHR(mod) (((mod) & _S_IFMT) == _S_IFCHR) argument 141 # define S_ISFIFO(mod) (((mod) & _S_IFMT) == _S_IFIFO) argument 145 # define S_ISREG(mod) (((mod) & _S_IFMT) == _S_IFREG) argument
|
/reactos/modules/rostests/winetests/ntdll/ |
H A D | path.c | 379 HMODULE mod = GetModuleHandleA("ntdll.dll"); in START_TEST() local 380 if (!mod) in START_TEST() 386 pRtlMultiByteToUnicodeN = (void *)GetProcAddress(mod,"RtlMultiByteToUnicodeN"); in START_TEST() 387 pRtlUnicodeToMultiByteN = (void *)GetProcAddress(mod,"RtlUnicodeToMultiByteN"); in START_TEST() 388 pRtlDetermineDosPathNameType_U = (void *)GetProcAddress(mod,"RtlDetermineDosPathNameType_U"); in START_TEST() 389 pRtlIsDosDeviceName_U = (void *)GetProcAddress(mod,"RtlIsDosDeviceName_U"); in START_TEST() 390 pRtlOemStringToUnicodeString = (void *)GetProcAddress(mod,"RtlOemStringToUnicodeString"); in START_TEST() 391 pRtlIsNameLegalDOS8Dot3 = (void *)GetProcAddress(mod,"RtlIsNameLegalDOS8Dot3"); in START_TEST() 392 pRtlGetFullPathName_U = (void *)GetProcAddress(mod,"RtlGetFullPathName_U"); in START_TEST() 393 …pRtlDosPathNameToNtPathName_U_WithStatus = (void *)GetProcAddress(mod, "RtlDosPathNameToNtPathName… in START_TEST()
|
H A D | env.c | 279 HMODULE mod = GetModuleHandleA("ntdll.dll"); in START_TEST() local 280 if (!mod) in START_TEST() 286 pRtlMultiByteToUnicodeN = (void *)GetProcAddress(mod,"RtlMultiByteToUnicodeN"); in START_TEST() 287 pRtlCreateEnvironment = (void*)GetProcAddress(mod, "RtlCreateEnvironment"); in START_TEST() 288 pRtlDestroyEnvironment = (void*)GetProcAddress(mod, "RtlDestroyEnvironment"); in START_TEST() 289 pRtlQueryEnvironmentVariable_U = (void*)GetProcAddress(mod, "RtlQueryEnvironmentVariable_U"); in START_TEST() 290 pRtlSetCurrentEnvironment = (void*)GetProcAddress(mod, "RtlSetCurrentEnvironment"); in START_TEST() 291 pRtlSetEnvironmentVariable = (void*)GetProcAddress(mod, "RtlSetEnvironmentVariable"); in START_TEST() 292 pRtlExpandEnvironmentStrings_U = (void*)GetProcAddress(mod, "RtlExpandEnvironmentStrings_U"); in START_TEST()
|
H A D | process.c | 185 HMODULE mod; in START_TEST() local 196 mod = GetModuleHandleA("ntdll.dll"); in START_TEST() 197 if (!mod) in START_TEST() 203 pNtResumeProcess = (void*)GetProcAddress(mod, "NtResumeProcess"); in START_TEST() 204 pNtSuspendProcess = (void*)GetProcAddress(mod, "NtSuspendProcess"); in START_TEST() 205 pNtResumeThread = (void*)GetProcAddress(mod, "NtResumeThread"); in START_TEST() 206 pNtSuspendThread = (void*)GetProcAddress(mod, "NtSuspendThread"); in START_TEST()
|
H A D | time.c | 259 HMODULE mod = GetModuleHandleA("ntdll.dll"); in START_TEST() local 260 pRtlTimeToTimeFields = (void *)GetProcAddress(mod,"RtlTimeToTimeFields"); in START_TEST() 261 pRtlTimeFieldsToTime = (void *)GetProcAddress(mod,"RtlTimeFieldsToTime"); in START_TEST() 262 pNtQueryPerformanceCounter = (void *)GetProcAddress(mod, "NtQueryPerformanceCounter"); in START_TEST() 263 pNtGetTickCount = (void *)GetProcAddress(mod,"NtGetTickCount"); in START_TEST() 265 (void *)GetProcAddress(mod, "RtlQueryTimeZoneInformation"); in START_TEST() 267 (void *)GetProcAddress(mod, "RtlQueryDynamicTimeZoneInformation"); in START_TEST()
|
/reactos/modules/rostests/apitests/sfc/ |
H A D | SfcGetFiles.c | 68 HMODULE mod; in START_TEST() local 70 mod = LoadLibraryA("sfcfiles.dll"); in START_TEST() 71 if (!mod) in START_TEST() 77 SfcGetFiles = (void*)GetProcAddress(mod, "SfcGetFiles"); in START_TEST()
|
H A D | SfcIsFileProtected.c | 100 HMODULE mod; in START_TEST() local 102 mod = LoadLibraryA("sfc_os.dll"); in START_TEST() 103 ok(mod != NULL, "Unable to load sfc_os: 0x%lu\n", GetLastError()); in START_TEST() 104 if (!mod) in START_TEST() 107 SfcIsFileProtected = (void*)GetProcAddress(mod, "SfcIsFileProtected"); in START_TEST()
|
/reactos/modules/rostests/apitests/sdk/ |
H A D | delayimp.cpp | 349 HMODULE mod = LoadLibraryA("imagehlp.dll"); in ExceptionFilter() local 350 LoadInfo->pfnCur = GetProcAddress(mod, g_ExpectedName); in ExceptionFilter() 428 HMODULE mod = GetModuleHandleA(WINMM_DLLNAME); in START_TEST() local 429 ok(mod == NULL, "Expected mod to be NULL, was %p\n", mod); in START_TEST() 433 mod = GetModuleHandleA(WINMM_DLLNAME); in START_TEST() 434 ok(mod == NULL, "Expected mod to be NULL, was %p\n", mod); in START_TEST() 439 mod = GetModuleHandleA(WINMM_DLLNAME); in START_TEST() 440 ok(mod != NULL, "Expected mod to be valid, was NULL\n"); in START_TEST() 444 mod = GetModuleHandleA(WINMM_DLLNAME); in START_TEST() 445 ok(mod == NULL, "Expected mod to be NULL, was %p\n", mod); in START_TEST()
|
/reactos/modules/rostests/unittests/interop/ |
H A D | LocaleTests.cpp | 66 std::map<E_MODULE, HMODULE> mod; variable 216 if (!mod[m]) in TEST_NumParts() 224 LoadStringWrapW(mod[m], p.second.id, szBuffer, _countof(szBuffer)); in TEST_NumParts() 237 if (!mod[m]) in LoadPart() 253 LoadStringWrapW(mod[m], s.id, szBuffer, _countof(szBuffer)); in LoadPart() 333 mod[m] = LoadLibraryExW(lib[m], NULL, LOAD_LIBRARY_AS_DATAFILE); in TEST_LocaleTests() 334 if (!mod[m]) in TEST_LocaleTests() 340 EnumResourceLanguagesW(mod[m], (LPCWSTR)RT_STRING, (LPCWSTR)LOCALE_ILANGUAGE, in TEST_LocaleTests() 354 for (auto& m : mod) in TEST_LocaleTests()
|
/reactos/win32ss/user/user32/windows/ |
H A D | hook.c | 573 HMODULE mod = NULL; in User32CallHookProcFromKernel() local 594 if (mod) in User32CallHookProcFromKernel() 597 Proc = (HOOKPROC)((char *)mod + Common->offPfn); in User32CallHookProcFromKernel() 650 if (Loaded) FreeLibrary(mod); in User32CallHookProcFromKernel() 781 if (Loaded) FreeLibrary(mod); in User32CallHookProcFromKernel() 790 if (Loaded) FreeLibrary(mod); in User32CallHookProcFromKernel() 802 HMODULE mod = NULL; in User32CallEventProcFromKernel() local 817 if (Common->Mod && !(mod = GetModuleHandleW(module))) in User32CallEventProcFromKernel() 830 if (mod) in User32CallEventProcFromKernel() 833 Proc = (WINEVENTPROC)((char *)mod + Common->offPfn); in User32CallEventProcFromKernel() [all …]
|