diff options
Diffstat (limited to 'src/w32.h')
-rw-r--r-- | src/w32.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/w32.h b/src/w32.h index ffa145b1484..bb3ec40324a 100644 --- a/src/w32.h +++ b/src/w32.h @@ -135,6 +135,7 @@ extern filedesc fd_info [ MAXDESC ]; #define FILE_SOCKET 0x0200 #define FILE_NDELAY 0x0400 #define FILE_SERIAL 0x0800 +#define FILE_DONT_CLOSE 0x1000 extern child_process * new_child (void); extern void delete_child (child_process *cp); @@ -155,14 +156,15 @@ extern unsigned int w32_get_short_filename (const char *, char *, int); /* Prepare our standard handles for proper inheritance by child processes. */ extern void prepare_standard_handles (int in, int out, - int err, HANDLE handles[4]); + int err, HANDLE handles[3]); /* Reset our standard handles to their original state. */ extern void reset_standard_handles (int in, int out, - int err, HANDLE handles[4]); + int err, HANDLE handles[3]); -/* Return the string resource associated with KEY of type TYPE. */ -extern LPBYTE w32_get_resource (const char * key, LPDWORD type); +/* Query Windows Registry and return the resource associated + associated with KEY and NAME of type TYPE. */ +extern LPBYTE w32_get_resource (const char * key, const char * name, LPDWORD type); extern void release_listen_threads (void); extern void init_ntproc (int); |