Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

23 lines
584 B

#include <stdlib.h>
#include <mainwin.h>
#define IEREMOTE_CMDLINE 1
#define IEREMOTECLASS TEXT("IEFrame")
BOOL ConnectRemoteIE(LPTSTR pszCmdLine, HINSTANCE hInstance);
BOOL IsCommandSwitch(LPTSTR lpszCmdLine, LPTSTR pszSwitch);
BOOL RemoteIENewWindow(LPTSTR pszCmdLine);
#if defined(UNIX)
#include <sys/time.h>
#include <sys/resource.h>
#define INCREASE_FILEHANDLE_LIMIT \
struct rlimit rl; \
if ( 0 == getrlimit(RLIMIT_NOFILE, &rl)) { \
rl.rlim_cur = rl.rlim_max; \
setrlimit(RLIMIT_NOFILE, &rl); \
} \
#endif