From 6ce00ffe10306ce8063dad1b64530fdde4867820 Mon Sep 17 00:00:00 2001 From: bje Date: Sat, 12 Sep 1998 10:41:49 +0000 Subject: 1998-09-12 Ben Elliston * windows.h: No longer needed; remove. * windows.c: Likewise. --- windows.h | 115 -------------------------------------------------------------- 1 file changed, 115 deletions(-) delete mode 100644 windows.h (limited to 'windows.h') diff --git a/windows.h b/windows.h deleted file mode 100644 index 89843f6..0000000 --- a/windows.h +++ /dev/null @@ -1,115 +0,0 @@ -/* - * windows.h - * - * NOT THE REAL windows.h. We're not necessarily concerned - * that value are correct. Just that the types are defined. - * - */ - -#ifndef WINDOWS_H -#define WINDOWS_H - -#ifndef TRUE -#define TRUE 1 -#endif /* TRUE */ - -#ifndef FALSE -#define FALSE 0 -#endif /* FALSE */ - -#define WINAPI - -#define CONST const - -#define DLL_THREAD_ATTACH 0 - -#define DLL_THREAD_DETACH 1 - -#define DLL_PROCESS_ATTACH 2 - -#define DLL_PROCESS_DETACH 3 - -#define INFINITE 42 - -#define WAIT_OBJECT_0 0 - -#define WAIT_FAILED 1 - -/* Priority levels */ - -enum { - THREAD_PRIORITY_LOWEST, - THREAD_PRIORITY_NORMAL, - THREAD_PRIORITY_HIGHEST -}; - -enum { - THREAD_PRIORITY_ERROR_RETURN -}; - -typedef void VOID; - -typedef int BOOL; - -typedef unsigned long DWORD; - -typedef unsigned long ULONG; - -typedef void * LPVOID; - -typedef DWORD * LPDWORD; - -typedef char * LPCTSTR; - -typedef unsigned long HANDLE; - -typedef HANDLE HINSTANCE; - -typedef void * LPSECURITY_ATTRIBUTES; - -typedef int CRITICAL_SECTION; - -typedef CRITICAL_SECTION * LPCRITICAL_SECTION; - -HANDLE CreateEvent(LPSECURITY_ATTRIBUTES security, - BOOL manualReset, - BOOL initialState, - LPCTSTR name); - -BOOL SetEvent(HANDLE event); - -BOOL ResetEvent(HANDLE event); - -VOID EnterCriticalSection(LPCRITICAL_SECTION criticalSection); - -VOID LeaveCriticalSection(LPCRITICAL_SECTION criticalSection); - -VOID DeleteCriticalSection(LPCRITICAL_SECTION criticalSection); - -VOID InitializeCriticalSection(LPCRITICAL_SECTION criticalSection); - -BOOL TryEnterCriticalSection(LPCRITICAL_SECTION criticalSection); - -DWORD WaitForMultipleObjects(DWORD numObjects, - CONST HANDLE * objectArray, - BOOL waitForAll, - DWORD timeout); - -DWORD WaitForSingleObject(HANDLE object, - DWORD timeout); - -DWORD TlsAlloc(); - -BOOL TlsFree(DWORD index); - -BOOL TlsSetValue(DWORD index, LPVOID value); - -LPVOID TlsGetValue(DWORD index); - -BOOL SetThreadPriority(HANDLE threadHandle, int priority); - -int GetThreadPriority(HANDLE threadHandle); - -DWORD GetVersion(VOID); - -#endif /* WINDOWS_H */ -- cgit v1.2.3