janwas
cde3c55eae
snd_mgr: replace al_check("funcname") with AL_CHECK macro; allow disabling WIN_LOADLIBRARY_HACK. wcpu: move sys_on_each_cpu here from wsysdep split up wdetect into wgfx, wsnd, wdll_ver This was SVN commit r3748.
18 lines
625 B
C
18 lines
625 B
C
#ifndef WDETECT_H__
|
|
#define WDETECT_H__
|
|
|
|
// note: this module is not re-entrant or thread-safe!
|
|
|
|
// set output buffer into which DLL names and their versions will be written.
|
|
extern void dll_list_init(char* buf, size_t chars);
|
|
|
|
// read DLL file version and append that and its name to the list.
|
|
// return 0 on success or a negative error code.
|
|
//
|
|
// name should preferably be the complete path to DLL, to make sure
|
|
// we don't inadvertently load another one on the library search path.
|
|
// we add the .dll extension if necessary.
|
|
extern LibError dll_list_add(const char* name);
|
|
|
|
#endif // #ifndef WDETECT_H__
|