windows-nt/Source/XPSP1/NT/shell/iexplore/unixstuff.h

24 lines
561 B
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
#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