Home
last modified time | relevance | path

Searched refs:hmodule (Results 1 – 25 of 271) sorted by relevance

1234567891011

/dports/print/ghostscript8-x11/ghostscript-8.71/psi/
H A Ddwdll.c44 if (gsdll->hmodule) in load_dll()
55 gsdll->hmodule = LoadLibrary(fullname); in load_dll()
58 if (gsdll->hmodule < (HINSTANCE)HINSTANCE_ERROR) { in load_dll()
61 gsdll->hmodule = LoadLibrary(fullname); in load_dll()
65 if (gsdll->hmodule < (HINSTANCE)HINSTANCE_ERROR) in load_dll()
66 gsdll->hmodule = LoadLibrary(name); in load_dll()
68 if (gsdll->hmodule < (HINSTANCE)HINSTANCE_ERROR) { in load_dll()
73 gsdll->hmodule = (HINSTANCE)0; in load_dll()
190 if (gsdll->hmodule != (HINSTANCE)NULL) in unload_dll()
191 FreeLibrary(gsdll->hmodule); in unload_dll()
[all …]
/dports/print/ghostscript9-x11/ghostscript-9.06/psi/
H A Ddwdll.c50 if (gsdll->hmodule) in load_dll()
61 gsdll->hmodule = LoadLibrary(fullname); in load_dll()
64 if (gsdll->hmodule < (HINSTANCE)HINSTANCE_ERROR) { in load_dll()
67 gsdll->hmodule = LoadLibrary(fullname); in load_dll()
71 if (gsdll->hmodule < (HINSTANCE)HINSTANCE_ERROR) in load_dll()
72 gsdll->hmodule = LoadLibrary(name); in load_dll()
74 if (gsdll->hmodule < (HINSTANCE)HINSTANCE_ERROR) { in load_dll()
79 gsdll->hmodule = (HINSTANCE)0; in load_dll()
196 if (gsdll->hmodule != (HINSTANCE)NULL) in unload_dll()
197 FreeLibrary(gsdll->hmodule); in unload_dll()
[all …]
/dports/print/ghostscript9-base/ghostscript-9.06/psi/
H A Ddwdll.c50 if (gsdll->hmodule) in load_dll()
61 gsdll->hmodule = LoadLibrary(fullname); in load_dll()
64 if (gsdll->hmodule < (HINSTANCE)HINSTANCE_ERROR) { in load_dll()
67 gsdll->hmodule = LoadLibrary(fullname); in load_dll()
71 if (gsdll->hmodule < (HINSTANCE)HINSTANCE_ERROR) in load_dll()
72 gsdll->hmodule = LoadLibrary(name); in load_dll()
74 if (gsdll->hmodule < (HINSTANCE)HINSTANCE_ERROR) { in load_dll()
79 gsdll->hmodule = (HINSTANCE)0; in load_dll()
196 if (gsdll->hmodule != (HINSTANCE)NULL) in unload_dll()
197 FreeLibrary(gsdll->hmodule); in unload_dll()
[all …]
/dports/print/ghostscript8-base/ghostscript-8.71/psi/
H A Ddwdll.c44 if (gsdll->hmodule) in load_dll()
55 gsdll->hmodule = LoadLibrary(fullname); in load_dll()
58 if (gsdll->hmodule < (HINSTANCE)HINSTANCE_ERROR) { in load_dll()
61 gsdll->hmodule = LoadLibrary(fullname); in load_dll()
65 if (gsdll->hmodule < (HINSTANCE)HINSTANCE_ERROR) in load_dll()
66 gsdll->hmodule = LoadLibrary(name); in load_dll()
68 if (gsdll->hmodule < (HINSTANCE)HINSTANCE_ERROR) { in load_dll()
73 gsdll->hmodule = (HINSTANCE)0; in load_dll()
190 if (gsdll->hmodule != (HINSTANCE)NULL) in unload_dll()
191 FreeLibrary(gsdll->hmodule); in unload_dll()
[all …]
/dports/editors/impress/impress-1.1b9/pstoedit_3.21/othersrc/gsdllinc/
H A Ddwmainc.c75 HINSTANCE hmodule; /* handle to module */ member
77 HMODULE hmodule; /* handle to module */ member
132 if (gsdll.hmodule < (HINSTANCE)HINSTANCE_ERROR) in gs_free_dll()
135 flag = FreeLibrary(gsdll.hmodule); in gs_free_dll()
136 gsdll.hmodule = NULL; in gs_free_dll()
138 if (gsdll.hmodule == (HMODULE) NULL) in gs_free_dll()
141 flag = !DosFreeModule(gsdll.hmodule); in gs_free_dll()
142 gsdll.hmodule = (HMODULE) NULL; in gs_free_dll()
178 gsdll.hmodule = LoadLibrary(szDllName); in gs_load_dll()
179 if (gsdll.hmodule < (HINSTANCE)HINSTANCE_ERROR) in gs_load_dll()
[all …]
/dports/graphics/pstoedit/pstoedit-3.70/othersrc/gsdllinc/
H A Ddwmaincgsdll.c76 HINSTANCE hmodule; /* handle to module */ member
78 HMODULE hmodule; /* handle to module */ member
135 if (gsdll.hmodule < (HINSTANCE)HINSTANCE_ERROR) in gs_free_dll()
138 flag = FreeLibrary(gsdll.hmodule); in gs_free_dll()
139 gsdll.hmodule = NULL; in gs_free_dll()
141 if (gsdll.hmodule == (HMODULE) NULL) in gs_free_dll()
144 flag = !DosFreeModule(gsdll.hmodule); in gs_free_dll()
145 gsdll.hmodule = (HMODULE) NULL; in gs_free_dll()
183 gsdll.hmodule = LoadLibrary(szDllName); in gs_load_dll()
184 if (gsdll.hmodule < (HINSTANCE)HINSTANCE_ERROR) in gs_load_dll()
[all …]
H A Dcallgsdllviaiapi.cpp84 hmodule(0), in GSDLL()
105 hmodule=0; in ~GSDLL()
110 if (hmodule) (void) FreeLibrary(hmodule); in gs_load_dll_cleanup()
111 hmodule=(0); in gs_load_dll_cleanup()
123 hmodule = LoadLibrary(szDllName); in gs_load_dll()
124 if (hmodule < (HINSTANCE)HINSTANCE_ERROR) { in gs_load_dll()
154 if ( (set_stdio = (PFN_gsapi_set_stdio) GetProcAddress(hmodule, "gsapi_set_stdio")) == NULL) in gs_load_dll()
158 if ( (run_string = (PFN_gsapi_run_string) GetProcAddress(hmodule, "gsapi_run_string")) == NULL) in gs_load_dll()
160 if ( (run_file = (PFN_gsapi_run_file) GetProcAddress(hmodule, "gsapi_run_file")) == NULL) in gs_load_dll()
162 if ( (exit = (PFN_gsapi_exit) GetProcAddress(hmodule, "gsapi_exit")) == NULL) in gs_load_dll()
[all …]
/dports/print/ghostscript7-base/ghostscript-7.07/src/
H A Ddwdll.c50 if (gsdll->hmodule) in load_dll()
61 gsdll->hmodule = LoadLibrary(fullname); in load_dll()
64 if (gsdll->hmodule < (HINSTANCE)HINSTANCE_ERROR) { in load_dll()
67 gsdll->hmodule = LoadLibrary(fullname); in load_dll()
71 if (gsdll->hmodule < (HINSTANCE)HINSTANCE_ERROR) in load_dll()
72 gsdll->hmodule = LoadLibrary(name); in load_dll()
74 if (gsdll->hmodule < (HINSTANCE)HINSTANCE_ERROR) { in load_dll()
79 gsdll->hmodule = (HINSTANCE)0; in load_dll()
187 if (gsdll->hmodule != (HINSTANCE)NULL) in unload_dll()
188 FreeLibrary(gsdll->hmodule); in unload_dll()
[all …]
/dports/print/ghostscript7-x11/ghostscript-7.07/src/
H A Ddwdll.c50 if (gsdll->hmodule) in load_dll()
61 gsdll->hmodule = LoadLibrary(fullname); in load_dll()
64 if (gsdll->hmodule < (HINSTANCE)HINSTANCE_ERROR) { in load_dll()
67 gsdll->hmodule = LoadLibrary(fullname); in load_dll()
71 if (gsdll->hmodule < (HINSTANCE)HINSTANCE_ERROR) in load_dll()
72 gsdll->hmodule = LoadLibrary(name); in load_dll()
74 if (gsdll->hmodule < (HINSTANCE)HINSTANCE_ERROR) { in load_dll()
79 gsdll->hmodule = (HINSTANCE)0; in load_dll()
187 if (gsdll->hmodule != (HINSTANCE)NULL) in unload_dll()
188 FreeLibrary(gsdll->hmodule); in unload_dll()
[all …]
/dports/graphics/epstool/epstool-3.09/srcwin/
H A Dwdll.c103 *hmodule = LoadLibrary(name); in dll_open()
104 if (*hmodule == (GGMODULE)NULL) { in dll_open()
125 *hmodule = LoadLibrary(fullname); in dll_open()
126 if (*hmodule == (GGMODULE)NULL) { in dll_open()
133 *hmodule = LoadLibrary(shortname); in dll_open()
134 if (*hmodule == (GGMODULE)NULL) { in dll_open()
141 if (*hmodule == (GGMODULE)NULL) { in dll_open()
142 *hmodule = (GGMODULE)NULL; in dll_open()
151 dll_close(GGMODULE *hmodule) in dll_close() argument
153 FreeLibrary(*hmodule); in dll_close()
[all …]
/dports/print/ghostscript9-agpl-base/ghostscript-9.52/psi/
H A Ddwdll.c58 if (gsdll->hmodule) in load_dll()
69 gsdll->hmodule = LoadLibrary(fullname); in load_dll()
72 if (gsdll->hmodule < (HINSTANCE)HINSTANCE_ERROR) { in load_dll()
75 gsdll->hmodule = LoadLibrary(fullname); in load_dll()
79 if (gsdll->hmodule < (HINSTANCE)HINSTANCE_ERROR) in load_dll()
80 gsdll->hmodule = LoadLibrary(name); in load_dll()
82 if (gsdll->hmodule < (HINSTANCE)HINSTANCE_ERROR) { in load_dll()
87 gsdll->hmodule = (HINSTANCE)0; in load_dll()
163 if (gsdll->hmodule != (HINSTANCE)NULL) in unload_dll()
164 FreeLibrary(gsdll->hmodule); in unload_dll()
[all …]
/dports/print/ghostscript9-agpl-x11/ghostscript-9.52/psi/
H A Ddwdll.c58 if (gsdll->hmodule) in load_dll()
69 gsdll->hmodule = LoadLibrary(fullname); in load_dll()
72 if (gsdll->hmodule < (HINSTANCE)HINSTANCE_ERROR) { in load_dll()
75 gsdll->hmodule = LoadLibrary(fullname); in load_dll()
79 if (gsdll->hmodule < (HINSTANCE)HINSTANCE_ERROR) in load_dll()
80 gsdll->hmodule = LoadLibrary(name); in load_dll()
82 if (gsdll->hmodule < (HINSTANCE)HINSTANCE_ERROR) { in load_dll()
87 gsdll->hmodule = (HINSTANCE)0; in load_dll()
163 if (gsdll->hmodule != (HINSTANCE)NULL) in unload_dll()
164 FreeLibrary(gsdll->hmodule); in unload_dll()
[all …]
/dports/devel/rust-analyzer/rust-analyzer-2021-12-20/cargo-crates/windows-sys-0.28.0/src/Windows/Win32/System/LibraryLoader/
H A Dmod.rs33 …pub fn EnumResourceTypesA(hmodule: super::super::Foundation::HINSTANCE, lpenumfunc: ::core::option… in EnumResourceTypesA()
39 …pub fn EnumResourceTypesW(hmodule: super::super::Foundation::HINSTANCE, lpenumfunc: ::core::option… in EnumResourceTypesW()
41 …pub fn FindResourceA(hmodule: super::super::Foundation::HINSTANCE, lpname: super::super::Foundatio… in FindResourceA()
47 …pub fn FindResourceW(hmodule: super::super::Foundation::HINSTANCE, lpname: super::super::Foundatio… in FindResourceW()
59 …pub fn GetModuleFileNameA(hmodule: super::super::Foundation::HINSTANCE, lpfilename: super::super::… in GetModuleFileNameA()
61 …pub fn GetModuleFileNameW(hmodule: super::super::Foundation::HINSTANCE, lpfilename: super::super::… in GetModuleFileNameW()
71 …pub fn GetProcAddress(hmodule: super::super::Foundation::HINSTANCE, lpprocname: super::super::Foun… in GetProcAddress()
85 …pub fn LoadResource(hmodule: super::super::Foundation::HINSTANCE, hresinfo: super::super::Foundati… in LoadResource()
96 …pub fn SizeofResource(hmodule: super::super::Foundation::HINSTANCE, hresinfo: super::super::Founda… in SizeofResource()
112 pub type ENUMRESTYPEPROCA = unsafe extern "system" fn(hmodule: super::super::Foundation::HINSTANCE,…
[all …]
/dports/graphics/epstool/epstool-3.09/src/
H A Dxdll.c38 dll_open(GGMODULE *hmodule, LPCTSTR name, TCHAR *msg, int msglen) in dll_open() argument
51 *hmodule = dlopen(name, RTLD_NOW); in dll_open()
52 if (*hmodule == NULL) { in dll_open()
69 *hmodule = dlopen(shortname, RTLD_NOW); in dll_open()
70 if (*hmodule == NULL) { in dll_open()
82 dll_close(GGMODULE *hmodule) in dll_close() argument
84 dlclose(*hmodule); in dll_close()
89 dll_sym(GGMODULE *hmodule, const char *name) in dll_sym() argument
91 return (dll_proc)dlsym(*hmodule, name); in dll_sym()
/dports/audio/ncspot/ncspot-0.9.3/cargo-crates/windows-0.24.0/src/Windows/Win32/System/LibraryLoader/
H A Dmod.rs248 …::std::mem::transmute(EnumResourceTypesA(hmodule.into_param().abi(), ::std::mem::transmute(lpenumf… in EnumResourceTypesA()
290 …::std::mem::transmute(EnumResourceTypesW(hmodule.into_param().abi(), ::std::mem::transmute(lpenumf… in EnumResourceTypesW()
307 …::std::mem::transmute(FindResourceA(hmodule.into_param().abi(), lpname.into_param().abi(), lptype.… in FindResourceA()
349 …::std::mem::transmute(FindResourceW(hmodule.into_param().abi(), lpname.into_param().abi(), lptype.… in FindResourceW()
436 …::std::mem::transmute(GetModuleFileNameA(hmodule.into_param().abi(), ::std::mem::transmute(lpfilen… in GetModuleFileNameA()
450 …::std::mem::transmute(GetModuleFileNameW(hmodule.into_param().abi(), ::std::mem::transmute(lpfilen… in GetModuleFileNameW()
520 … ::std::mem::transmute(GetProcAddress(hmodule.into_param().abi(), lpprocname.into_param().abi())) in GetProcAddress()
684 fn LoadResource(hmodule: super::super::Foundation::HINSTANCE, hresinfo: HRSRC) -> isize; in LoadResource()
686 ::std::mem::transmute(LoadResource(hmodule.into_param().abi(), hresinfo.into_param().abi())) in LoadResource()
847 fn SizeofResource(hmodule: super::super::Foundation::HINSTANCE, hresinfo: HRSRC) -> u32; in SizeofResource()
[all …]
/dports/databases/postgresql96-pltcl/postgresql-9.6.24/src/port/
H A Dwin32env.c36 HMODULE hmodule; in pgwin32_putenv() member
104 if (rtmodules[i].hmodule == NULL) in pgwin32_putenv()
107 rtmodules[i].hmodule = GetModuleHandle(rtmodules[i].modulename); in pgwin32_putenv()
108 if (rtmodules[i].hmodule == NULL) in pgwin32_putenv()
114 rtmodules[i].hmodule = INVALID_HANDLE_VALUE; in pgwin32_putenv()
119 rtmodules[i].putenvFunc = (PUTENVPROC) GetProcAddress(rtmodules[i].hmodule, "_putenv"); in pgwin32_putenv()
122 rtmodules[i].hmodule = INVALID_HANDLE_VALUE; in pgwin32_putenv()
/dports/databases/postgresql96-server/postgresql-9.6.24/src/port/
H A Dwin32env.c36 HMODULE hmodule; in pgwin32_putenv() member
104 if (rtmodules[i].hmodule == NULL) in pgwin32_putenv()
107 rtmodules[i].hmodule = GetModuleHandle(rtmodules[i].modulename); in pgwin32_putenv()
108 if (rtmodules[i].hmodule == NULL) in pgwin32_putenv()
114 rtmodules[i].hmodule = INVALID_HANDLE_VALUE; in pgwin32_putenv()
119 rtmodules[i].putenvFunc = (PUTENVPROC) GetProcAddress(rtmodules[i].hmodule, "_putenv"); in pgwin32_putenv()
122 rtmodules[i].hmodule = INVALID_HANDLE_VALUE; in pgwin32_putenv()
/dports/databases/postgresql96-plpython/postgresql-9.6.24/src/port/
H A Dwin32env.c36 HMODULE hmodule; in pgwin32_putenv() member
104 if (rtmodules[i].hmodule == NULL) in pgwin32_putenv()
107 rtmodules[i].hmodule = GetModuleHandle(rtmodules[i].modulename); in pgwin32_putenv()
108 if (rtmodules[i].hmodule == NULL) in pgwin32_putenv()
114 rtmodules[i].hmodule = INVALID_HANDLE_VALUE; in pgwin32_putenv()
119 rtmodules[i].putenvFunc = (PUTENVPROC) GetProcAddress(rtmodules[i].hmodule, "_putenv"); in pgwin32_putenv()
122 rtmodules[i].hmodule = INVALID_HANDLE_VALUE; in pgwin32_putenv()
/dports/databases/postgresql96-plperl/postgresql-9.6.24/src/port/
H A Dwin32env.c36 HMODULE hmodule; in pgwin32_putenv() member
104 if (rtmodules[i].hmodule == NULL) in pgwin32_putenv()
107 rtmodules[i].hmodule = GetModuleHandle(rtmodules[i].modulename); in pgwin32_putenv()
108 if (rtmodules[i].hmodule == NULL) in pgwin32_putenv()
114 rtmodules[i].hmodule = INVALID_HANDLE_VALUE; in pgwin32_putenv()
119 rtmodules[i].putenvFunc = (PUTENVPROC) GetProcAddress(rtmodules[i].hmodule, "_putenv"); in pgwin32_putenv()
122 rtmodules[i].hmodule = INVALID_HANDLE_VALUE; in pgwin32_putenv()
/dports/databases/postgresql96-docs/postgresql-9.6.24/src/port/
H A Dwin32env.c36 HMODULE hmodule; in pgwin32_putenv() member
104 if (rtmodules[i].hmodule == NULL) in pgwin32_putenv()
107 rtmodules[i].hmodule = GetModuleHandle(rtmodules[i].modulename); in pgwin32_putenv()
108 if (rtmodules[i].hmodule == NULL) in pgwin32_putenv()
114 rtmodules[i].hmodule = INVALID_HANDLE_VALUE; in pgwin32_putenv()
119 rtmodules[i].putenvFunc = (PUTENVPROC) GetProcAddress(rtmodules[i].hmodule, "_putenv"); in pgwin32_putenv()
122 rtmodules[i].hmodule = INVALID_HANDLE_VALUE; in pgwin32_putenv()
/dports/databases/postgresql96-client/postgresql-9.6.24/src/port/
H A Dwin32env.c36 HMODULE hmodule; in pgwin32_putenv() member
104 if (rtmodules[i].hmodule == NULL) in pgwin32_putenv()
107 rtmodules[i].hmodule = GetModuleHandle(rtmodules[i].modulename); in pgwin32_putenv()
108 if (rtmodules[i].hmodule == NULL) in pgwin32_putenv()
114 rtmodules[i].hmodule = INVALID_HANDLE_VALUE; in pgwin32_putenv()
119 rtmodules[i].putenvFunc = (PUTENVPROC) GetProcAddress(rtmodules[i].hmodule, "_putenv"); in pgwin32_putenv()
122 rtmodules[i].hmodule = INVALID_HANDLE_VALUE; in pgwin32_putenv()
/dports/databases/postgresql96-contrib/postgresql-9.6.24/src/port/
H A Dwin32env.c36 HMODULE hmodule; in pgwin32_putenv() member
104 if (rtmodules[i].hmodule == NULL) in pgwin32_putenv()
107 rtmodules[i].hmodule = GetModuleHandle(rtmodules[i].modulename); in pgwin32_putenv()
108 if (rtmodules[i].hmodule == NULL) in pgwin32_putenv()
114 rtmodules[i].hmodule = INVALID_HANDLE_VALUE; in pgwin32_putenv()
119 rtmodules[i].putenvFunc = (PUTENVPROC) GetProcAddress(rtmodules[i].hmodule, "_putenv"); in pgwin32_putenv()
122 rtmodules[i].hmodule = INVALID_HANDLE_VALUE; in pgwin32_putenv()
/dports/misc/sword/sword-1.8.1/bindings/gsoap/
H A Dgsoapsword.cpp36 int sword__ModList_iterator_val(xsd__int hmmi, xsd__int &hmodule) { in sword__ModList_iterator_val() argument
37 hmodule = ModList_iterator_val(hmmi); in sword__ModList_iterator_val()
56 int sword__SWMgr_getModuleByName(xsd__int hmgr, xsd__string name, xsd__int &hmodule) { in sword__SWMgr_getModuleByName() argument
57 hmodule = SWMgr_getModuleByName(hmodule, name); in sword__SWMgr_getModuleByName()
63 int sword__SWModule_getName(xsd__int hmodule, xsd__string &name) { in sword__SWModule_getName() argument
64 name = (char *)SWModule_getName(hmodule); in sword__SWModule_getName()
68 int sword__SWModule_getDescription(xsd__int hmodule, xsd__string &description) { in sword__SWModule_getDescription() argument
69 description = (char *)SWModule_getDescription(hmodule); in sword__SWModule_getDescription()
/dports/games/uqm/uqm-0.8.0/src/libs/cdp/
H A Dcdp.c44 void* hmodule; // loaded module handle member
110 cdp_modules[i].hmodule = hkernel; in cdp_Init()
173 if (!newslot && !cdp->hmodule) in cdp_LoadModule()
186 if (cdp->hmodule) in cdp_LoadModule()
229 cdp[1].hmodule = NULL; in cdp_LoadModule()
232 newslot->hmodule = mod; in cdp_LoadModule()
242 newslot->hmodule = NULL; in cdp_LoadModule()
257 !module->hmodule || !module->info) in cdp_CheckModule()
275 dlclose (modslot->hmodule); in cdp_FreeModule()
279 modslot->hmodule = NULL; in cdp_FreeModule()
[all …]
/dports/databases/postgresql-odbc/psqlodbc-13.02.0000/test/
H A DRegisterRegdsn.c128 HMODULE hmodule; in driverExists() local
137 hmodule = LoadLibrary("ODBC32"); in driverExists()
138 if (!hmodule) in driverExists()
143 addr = (SQLAPIPROC) GetProcAddress(hmodule, "SQLAllocEnv"); in driverExists()
170 addr = (SQLAPIPROC) GetProcAddress(hmodule, "SQLFreeEnv"); in driverExists()
173 FreeLibrary(hmodule); in driverExists()
181 HMODULE hmodule; in dsnExists() local
190 hmodule = LoadLibrary("ODBC32"); in dsnExists()
191 if (!hmodule) in dsnExists()
231 addr = (SQLAPIPROC) GetProcAddress(hmodule, "SQLFreeEnv"); in dsnExists()
[all …]

1234567891011