From 21d90b509fea6ad3a2a143ae88db3c141df469da Mon Sep 17 00:00:00 2001 From: Patrik Stridvall Date: Sun, 7 Nov 1999 23:34:39 +0000 Subject: [PATCH] Removed obsolete files no longer in use. --- dlls/shell32/if_macros.h | 27 --------------------- include/bit_array.h | 53 ----------------------------------------- include/ntdll.h | 62 ------------------------------------------------ include/oleobj.h | 11 --------- 4 files changed, 153 deletions(-) delete mode 100644 dlls/shell32/if_macros.h delete mode 100644 include/bit_array.h delete mode 100644 include/ntdll.h delete mode 100644 include/oleobj.h diff --git a/dlls/shell32/if_macros.h b/dlls/shell32/if_macros.h deleted file mode 100644 index b15dcf374c2..00000000000 --- a/dlls/shell32/if_macros.h +++ /dev/null @@ -1,27 +0,0 @@ -#ifndef _WINE_IFMACROS_ -#define _WINE_IFMACROS_ - -#include "shlobj.h" - -/*** IUnknown methods ***/ -#define IShellBrowser_QueryInterface(p,a,b) ICOM_CALL2(QueryInterface,p,a,b) -#define IShellBrowser_AddRef(p) ICOM_CALL (AddRef,p) -#define IShellBrowser_Release(p) ICOM_CALL (Release,p) -/*** IShellBrowser methods ***/ -#define IShellBrowser_GetWindow(p,a) ICOM_CALL1(GetWindow,p,a) -#define IShellBrowser_ContextSensitiveHelp(p,a) ICOM_CALL1(ContextSensitiveHelp,p,a) -#define IShellBrowser_InsertMenusSB(p,a,b) ICOM_CALL2(InsertMenusSB,p,a,b) -#define IShellBrowser_SetMenuSB(p,a,b,c) ICOM_CALL3(SetMenuSB,p,a,b,c) -#define IShellBrowser_RemoveMenusSB(p,a) ICOM_CALL1(RemoveMenusSB,p,a) -#define IShellBrowser_SetStatusTextSB(p,a) ICOM_CALL1(SetStatusTextSB,p,a) -#define IShellBrowser_EnableModelessSB(p,a) ICOM_CALL1(EnableModelessSB,p,a) -#define IShellBrowser_TranslateAcceleratorSB(p,a,b) ICOM_CALL2(TranslateAcceleratorSB,p,a,b) -#define IShellBrowser_BrowseObject(p,a,b) ICOM_CALL2(BrowseObject,p,a,b) -#define IShellBrowser_GetViewStateStream(p,a,b) ICOM_CALL2(GetViewStateStream,p,a,b) -#define IShellBrowser_GetControlWindow(p,a,b) ICOM_CALL2(GetControlWindow,p,a,b) -#define IShellBrowser_SendControlMsg(p,a,b,c,d,e) ICOM_CALL5(SendControlMsg,p,a,b,c,d,e) -#define IShellBrowser_QueryActiveShellView(p,a) ICOM_CALL1(QueryActiveShellView,p,a) -#define IShellBrowser_OnViewWindowActive(p,a) ICOM_CALL1(OnViewWindowActive,p,a) -#define IShellBrowser_SetToolbarItems(p,a,b,c) ICOM_CALL3(SetToolbarItems,p,a,b,c) - -#endif diff --git a/include/bit_array.h b/include/bit_array.h deleted file mode 100644 index b07cdf66dd5..00000000000 --- a/include/bit_array.h +++ /dev/null @@ -1,53 +0,0 @@ -/*************************************************************************** - * Copyright 1995, Technion, Israel Institute of Technology - * Electrical Eng, Software Lab. - * Author: Michael Veksler. - *************************************************************************** - * File: bit_array.h - * Purpose : manipulate array of bits, - * Important: operations may be considered atomic. - * - *************************************************************************** - */ -#ifndef __WINE_BIT_ARRAY_H -#define __WINE_BIT_ARRAY_H - - -#define BITS_PER_BYTE (8) -#define BITS_PER_INT (sizeof(int)*BITS_PER_BYTE) /* must be power of 2 */ - -#define BYTE_LOG2 (3) -#if defined(INT_LOG2) -/* nothing to do, IN_LOG2 is ok */ -#elif defined(__i386__) -# define INT_LOG2 (5) -#else -# error "Can't find log2 of BITS_PER_INT, please code it manualy" -#endif - - -typedef struct bit_array { - int bits; /* number of bits in the array */ - unsigned int *array; /* Actual array data (Never NULL) */ -} bit_array ; - -bit_array *AssembleArray(bit_array *new_array, unsigned int *buff, int bits); -int ResetArray(bit_array *bits); - -/* Return index of first free bit, or -1 on failure */ -int VacantBit(bit_array *bits); - - -/* Return the value of bit 'i' */ -int SampleBit(bit_array *bits, int i); - -/* Assign 'val' to a bit no. 'i'. Return: old bit's value */ -int AssignBit(bit_array *bits, int i, int val); - -/* -** Allocate a free bit (==0) and make it used (==1). -** Return: allocated bit index, or -1 on failure. -*/ -int AllocateBit(bit_array *bits); - -#endif /* __WINE_BIT_ARRAY_H */ diff --git a/include/ntdll.h b/include/ntdll.h deleted file mode 100644 index 97424ed30ac..00000000000 --- a/include/ntdll.h +++ /dev/null @@ -1,62 +0,0 @@ -#ifndef __WINE_NTDLL_H -#define __WINE_NTDLL_H -/* ntdll.h - * - * contains NT internal defines that don't show on the Win32 API level - * - * Copyright 1997 Marcus Meissner - */ - -#include "winbase.h" - -#ifdef __cplusplus -extern "C" { -#endif - -typedef DWORD NTSTATUS; - -typedef struct _RTL_RWLOCK { - CRITICAL_SECTION rtlCS; - HANDLE hSharedReleaseSemaphore; - UINT uSharedWaiters; - HANDLE hExclusiveReleaseSemaphore; - UINT uExclusiveWaiters; - INT iNumberActive; - HANDLE hOwningThreadId; - DWORD dwTimeoutBoost; - PVOID pDebugInfo; -} RTL_RWLOCK, *LPRTL_RWLOCK; - -VOID WINAPI RtlInitializeResource(LPRTL_RWLOCK); -VOID WINAPI RtlDeleteResource(LPRTL_RWLOCK); -BYTE WINAPI RtlAcquireResourceExclusive(LPRTL_RWLOCK, BYTE fWait); -BYTE WINAPI RtlAcquireResourceShared(LPRTL_RWLOCK, BYTE fWait); -VOID WINAPI RtlReleaseResource(LPRTL_RWLOCK); -VOID WINAPI RtlDumpResource(LPRTL_RWLOCK); - -BOOL WINAPI IsValidSid(PSID); -BOOL WINAPI EqualSid(PSID,PSID); -BOOL WINAPI EqualPrefixSid(PSID,PSID); -DWORD WINAPI GetSidLengthRequired(BYTE); -BOOL WINAPI AllocateAndInitializeSid(PSID_IDENTIFIER_AUTHORITY,BYTE,DWORD, - DWORD,DWORD,DWORD,DWORD,DWORD,DWORD, - DWORD,PSID*); -VOID* WINAPI FreeSid(PSID); -BOOL WINAPI InitializeSecurityDescriptor(SECURITY_DESCRIPTOR*,DWORD); -BOOL WINAPI InitializeSid(PSID,PSID_IDENTIFIER_AUTHORITY,BYTE); -DWORD* WINAPI GetSidSubAuthority(PSID,DWORD); -BYTE * WINAPI GetSidSubAuthorityCount(PSID); -DWORD WINAPI GetLengthSid(PSID); -BOOL WINAPI CopySid(DWORD,PSID,PSID); -BOOL WINAPI LookupAccountSidA(LPCSTR,PSID,LPCSTR,LPDWORD,LPCSTR,LPDWORD, - PSID_NAME_USE); -BOOL WINAPI LookupAccountSidW(LPCWSTR,PSID,LPCWSTR,LPDWORD,LPCWSTR,LPDWORD, - PSID_NAME_USE); -PSID_IDENTIFIER_AUTHORITY WINAPI GetSidIdentifierAuthority(PSID); -INT WINAPI AccessResource(HMODULE,HRSRC); - -#ifdef __cplusplus -} -#endif - -#endif /* __WINE_NTDLL_H */ diff --git a/include/oleobj.h b/include/oleobj.h deleted file mode 100644 index a1349ab84d3..00000000000 --- a/include/oleobj.h +++ /dev/null @@ -1,11 +0,0 @@ -#ifndef __WINE_OLEOBJ_H -#define __WINE_OLEOBJ_H - -#include "wine/obj_base.h" -#include "wine/obj_storage.h" -#include "wine/obj_moniker.h" -#include "wine/obj_dataobject.h" -#include "wine/obj_oleobj.h" - -#endif /* __WINE_OLEOBJ_H */ - -- 2.11.4.GIT