#ifndef _WAPI_PROCESSES_H_
#define _WAPI_PROCESSES_H_
+#include <sys/types.h>
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
#include <glib.h>
-#include <mono/io-layer/handles.h>
#include <mono/io-layer/access.h>
#include <mono/io-layer/versioninfo.h>
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;
#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
extern gpointer GetCurrentProcess (void);
extern guint32 GetProcessId (gpointer handle);
-extern guint32 GetCurrentProcessId (void);
extern gboolean CloseProcess (gpointer handle);
extern gpointer OpenProcess (guint32 access, gboolean inherit, guint32 pid);
extern gboolean GetExitCodeProcess (gpointer process, guint32 *code);