X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;ds=inline;f=mono%2Fio-layer%2Fprocesses.h;h=c4da3eceee1b54378d22bcca0c7675f6624cb081;hb=7945233379603accb278d271440b610e5c048e28;hp=8e4c0aa558bf78da73681abd60b9710033109243;hpb=6352c16dd5306ccb8bedc742bf99505688695dc6;p=mono.git diff --git a/mono/io-layer/processes.h b/mono/io-layer/processes.h index 8e4c0aa558b..c4da3eceee1 100644 --- a/mono/io-layer/processes.h +++ b/mono/io-layer/processes.h @@ -10,9 +10,12 @@ #ifndef _WAPI_PROCESSES_H_ #define _WAPI_PROCESSES_H_ +#include +#ifdef HAVE_UNISTD_H +#include +#endif #include -#include #include #include @@ -104,13 +107,13 @@ typedef struct _WapiShellExecuteInfo WapiShellExecuteInfo; struct _WapiShellExecuteInfo { guint32 cbSize; - WapiShellExecuteInfoFlags fMask; + gulong fMask; gpointer hwnd; const gunichar2 *lpVerb; const gunichar2 *lpFile; const gunichar2 *lpParameters; const gunichar2 *lpDirectory; - WapiShellExecuteShowFlags nShow; + gulong nShow; gpointer hInstApp; gpointer lpIDList; const gunichar2 *lpClass; @@ -127,7 +130,6 @@ struct _WapiShellExecuteInfo #define DEBUG_PROCESS 0x00000001 #define DEBUG_ONLY_THIS_PROCESS 0x00000002 -#define CREATE_SUSPENDED 0x00000004 #define DETACHED_PROCESS 0x00000008 #define CREATE_NEW_CONSOLE 0x00000010 #define NORMAL_PRIORITY_CLASS 0x00000020 @@ -188,8 +190,6 @@ extern gboolean CreateProcessWithLogonW (const gunichar2 *username, extern gpointer GetCurrentProcess (void); extern guint32 GetProcessId (gpointer handle); -extern guint32 GetCurrentProcessId (void); -extern gboolean EnumProcesses (guint32 *pids, guint32 len, guint32 *needed); extern gboolean CloseProcess (gpointer handle); extern gpointer OpenProcess (guint32 access, gboolean inherit, guint32 pid); extern gboolean GetExitCodeProcess (gpointer process, guint32 *code);