diff options
Diffstat (limited to 'src/w32.h')
-rw-r--r-- | src/w32.h | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/src/w32.h b/src/w32.h index 7194ca2d1c8..6faa90d3177 100644 --- a/src/w32.h +++ b/src/w32.h @@ -195,11 +195,13 @@ extern int filename_from_ansi (const char *, char *); extern int filename_to_ansi (const char *, char *); extern int filename_from_utf16 (const wchar_t *, char *); extern int filename_to_utf16 (const char *, wchar_t *); +extern Lisp_Object w32_get_internal_run_time (void); extern void w32_init_file_name_codepage (void); extern int codepage_for_filenames (CPINFO *); extern Lisp_Object ansi_encode_filename (Lisp_Object); extern int w32_copy_file (const char *, const char *, int, int, int); extern int w32_accessible_directory_p (const char *, ptrdiff_t); +extern void w32_init_current_directory (void); extern BOOL init_winsock (int load_now); extern void srandom (int); @@ -227,6 +229,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 +243,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 */ |