diff options
Diffstat (limited to 'src/w32.h')
-rw-r--r-- | src/w32.h | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/src/w32.h b/src/w32.h index 1e416ceead7..9c219cdda62 100644 --- a/src/w32.h +++ b/src/w32.h @@ -227,6 +227,8 @@ extern int w32_compare_strings (const char *, const char *, char *, int); /* Return a cryptographically secure seed for PRNG. */ extern int w32_init_random (void *, ptrdiff_t); +extern Lisp_Object w32_read_registry (HKEY, Lisp_Object, Lisp_Object); + #ifdef HAVE_GNUTLS #include <gnutls/gnutls.h> @@ -239,17 +241,4 @@ extern ssize_t emacs_gnutls_push (gnutls_transport_ptr_t p, const void* buf, size_t sz); #endif /* HAVE_GNUTLS */ -/* Definine a function that will be loaded from a DLL. */ -#define DEF_DLL_FN(type, func, args) static type (FAR CDECL *fn_##func) args - -/* Load a function from the DLL. */ -#define LOAD_DLL_FN(lib, func) \ - do \ - { \ - fn_##func = (void *) GetProcAddress (lib, #func); \ - if (!fn_##func) \ - return false; \ - } \ - while (false) - #endif /* EMACS_W32_H */ |