From 12334b8ad82ce97644b7a28398b5deb15875679c Mon Sep 17 00:00:00 2001 From: Jan Kotas Date: Fri, 27 Oct 2017 16:08:24 -0700 Subject: Delete dead code (#14703) --- src/pal/prebuilt/idl/fusionpriv_i.cpp | 121 ------------ src/pal/prebuilt/idl/ivalidator_i.cpp | 76 -------- src/pal/prebuilt/idl/ivehandler_i.cpp | 79 -------- src/pal/prebuilt/idl/tlbimpexp_i.cpp | 82 --------- src/pal/prebuilt/inc/ivalidator.h | 334 ---------------------------------- src/pal/prebuilt/inc/ivehandler.h | 220 ---------------------- src/pal/prebuilt/inc/mscoree.h | 1 - 7 files changed, 913 deletions(-) delete mode 100644 src/pal/prebuilt/idl/fusionpriv_i.cpp delete mode 100644 src/pal/prebuilt/idl/ivalidator_i.cpp delete mode 100644 src/pal/prebuilt/idl/ivehandler_i.cpp delete mode 100644 src/pal/prebuilt/idl/tlbimpexp_i.cpp delete mode 100644 src/pal/prebuilt/inc/ivalidator.h delete mode 100644 src/pal/prebuilt/inc/ivehandler.h (limited to 'src/pal/prebuilt') diff --git a/src/pal/prebuilt/idl/fusionpriv_i.cpp b/src/pal/prebuilt/idl/fusionpriv_i.cpp deleted file mode 100644 index ece9622114..0000000000 --- a/src/pal/prebuilt/idl/fusionpriv_i.cpp +++ /dev/null @@ -1,121 +0,0 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - - - -/* this ALWAYS GENERATED file contains the IIDs and CLSIDs */ - -/* link this file in with the server and any clients */ - - - /* File created by MIDL compiler version 8.00.0603 */ -/* @@MIDL_FILE_HEADING( ) */ - -#pragma warning( disable: 4049 ) /* more than 64k source lines */ - - -#ifdef __cplusplus -extern "C"{ -#endif - - -#include -#include - -#ifdef _MIDL_USE_GUIDDEF_ - -#ifndef INITGUID -#define INITGUID -#include -#undef INITGUID -#else -#include -#endif - -#define MIDL_DEFINE_GUID(type,name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) \ - DEFINE_GUID(name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) - -#else // !_MIDL_USE_GUIDDEF_ - -#ifndef __IID_DEFINED__ -#define __IID_DEFINED__ - -typedef struct _IID -{ - unsigned long x; - unsigned short s1; - unsigned short s2; - unsigned char c[8]; -} IID; - -#endif // __IID_DEFINED__ - -#ifndef CLSID_DEFINED -#define CLSID_DEFINED -typedef IID CLSID; -#endif // CLSID_DEFINED - -#define MIDL_DEFINE_GUID(type,name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) \ - const type name = {l,w1,w2,{b1,b2,b3,b4,b5,b6,b7,b8}} - -#endif !_MIDL_USE_GUIDDEF_ - -MIDL_DEFINE_GUID(IID, IID_IHistoryAssembly,0xe6096a07,0xe188,0x4a49,0x8d,0x50,0x2a,0x01,0x72,0xa0,0xd2,0x05); - - -MIDL_DEFINE_GUID(IID, IID_IHistoryReader,0x1d23df4d,0xa1e2,0x4b8b,0x93,0xd6,0x6e,0xa3,0xdc,0x28,0x5a,0x54); - - -MIDL_DEFINE_GUID(IID, IID_IFusionBindLog,0x67E9F87D,0x8B8A,0x4a90,0x9D,0x3E,0x85,0xED,0x5B,0x2D,0xCC,0x83); - - -MIDL_DEFINE_GUID(IID, IID_IAssemblyManifestImport,0xde9a68ba,0x0fa2,0x11d3,0x94,0xaa,0x00,0xc0,0x4f,0xc3,0x08,0xff); - - -MIDL_DEFINE_GUID(IID, IID_IApplicationContext,0x7c23ff90,0x33af,0x11d3,0x95,0xda,0x00,0xa0,0x24,0xa8,0x5b,0x51); - - -MIDL_DEFINE_GUID(IID, IID_IAssemblyNameBinder,0x56972d9d,0x0f6c,0x47de,0xa0,0x38,0xe8,0x2d,0x5d,0xe3,0xa7,0x77); - - -MIDL_DEFINE_GUID(IID, IID_IAssembly,0xff08d7d4,0x04c2,0x11d3,0x94,0xaa,0x00,0xc0,0x4f,0xc3,0x08,0xff); - - -MIDL_DEFINE_GUID(IID, IID_IAssemblyBindingClosureEnumerator,0xb3f1e4ed,0xcb09,0x4b85,0x9a,0x1b,0x68,0x09,0x58,0x2f,0x1e,0xbc); - - -MIDL_DEFINE_GUID(IID, IID_IAssemblyBindingClosure,0x415c226a,0xe513,0x41ba,0x96,0x51,0x9c,0x48,0xe9,0x7a,0xa5,0xde); - - -MIDL_DEFINE_GUID(IID, IID_IAssemblyBindSink,0xaf0bc960,0x0b9a,0x11d3,0x95,0xca,0x00,0xa0,0x24,0xa8,0x5b,0x51); - - -MIDL_DEFINE_GUID(IID, IID_IAssemblyBinding,0xcfe52a80,0x12bd,0x11d3,0x95,0xca,0x00,0xa0,0x24,0xa8,0x5b,0x51); - - -MIDL_DEFINE_GUID(IID, IID_IAssemblyModuleImport,0xda0cd4b0,0x1117,0x11d3,0x95,0xca,0x00,0xa0,0x24,0xa8,0x5b,0x51); - - -MIDL_DEFINE_GUID(IID, IID_IAssemblyScavenger,0x21b8916c,0xf28e,0x11d2,0xa4,0x73,0x00,0xcc,0xff,0x8e,0xf4,0x48); - - -MIDL_DEFINE_GUID(IID, IID_ICodebaseList,0xD8FB9BD6,0x3969,0x11d3,0xB4,0xAF,0x00,0xC0,0x4F,0x8E,0xCB,0x26); - - -MIDL_DEFINE_GUID(IID, IID_IDownloadMgr,0x0A6F16F8,0xACD7,0x11d3,0xB4,0xED,0x00,0xC0,0x4F,0x8E,0xCB,0x26); - - -MIDL_DEFINE_GUID(IID, IID_IHostAssembly,0x711f7c2d,0x8234,0x4505,0xb0,0x2f,0x75,0x54,0xf4,0x6c,0xbf,0x29); - - -MIDL_DEFINE_GUID(IID, IID_IHostAssemblyModuleImport,0xb6f2729d,0x6c0f,0x4944,0xb6,0x92,0xe5,0xa2,0xce,0x2c,0x6e,0x7a); - -#undef MIDL_DEFINE_GUID - -#ifdef __cplusplus -} -#endif - - - diff --git a/src/pal/prebuilt/idl/ivalidator_i.cpp b/src/pal/prebuilt/idl/ivalidator_i.cpp deleted file mode 100644 index 0edbec448a..0000000000 --- a/src/pal/prebuilt/idl/ivalidator_i.cpp +++ /dev/null @@ -1,76 +0,0 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - - - -/* this ALWAYS GENERATED file contains the IIDs and CLSIDs */ - -/* link this file in with the server and any clients */ - - - /* File created by MIDL compiler version 8.00.0603 */ -/* @@MIDL_FILE_HEADING( ) */ - -#pragma warning( disable: 4049 ) /* more than 64k source lines */ - - -#ifdef __cplusplus -extern "C"{ -#endif - - -#include -#include - -#ifdef _MIDL_USE_GUIDDEF_ - -#ifndef INITGUID -#define INITGUID -#include -#undef INITGUID -#else -#include -#endif - -#define MIDL_DEFINE_GUID(type,name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) \ - DEFINE_GUID(name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) - -#else // !_MIDL_USE_GUIDDEF_ - -#ifndef __IID_DEFINED__ -#define __IID_DEFINED__ - -typedef struct _IID -{ - unsigned long x; - unsigned short s1; - unsigned short s2; - unsigned char c[8]; -} IID; - -#endif // __IID_DEFINED__ - -#ifndef CLSID_DEFINED -#define CLSID_DEFINED -typedef IID CLSID; -#endif // CLSID_DEFINED - -#define MIDL_DEFINE_GUID(type,name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) \ - const type name = {l,w1,w2,{b1,b2,b3,b4,b5,b6,b7,b8}} - -#endif !_MIDL_USE_GUIDDEF_ - -MIDL_DEFINE_GUID(IID, IID_IValidator,0x63DF8730,0xDC81,0x4062,0x84,0xA2,0x1F,0xF9,0x43,0xF5,0x9F,0xAC); - - -MIDL_DEFINE_GUID(IID, IID_ICLRValidator,0x63DF8730,0xDC81,0x4062,0x84,0xA2,0x1F,0xF9,0x43,0xF5,0x9F,0xDD); - -#undef MIDL_DEFINE_GUID - -#ifdef __cplusplus -} -#endif - - - diff --git a/src/pal/prebuilt/idl/ivehandler_i.cpp b/src/pal/prebuilt/idl/ivehandler_i.cpp deleted file mode 100644 index 44d0b961bb..0000000000 --- a/src/pal/prebuilt/idl/ivehandler_i.cpp +++ /dev/null @@ -1,79 +0,0 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - - - -/* this ALWAYS GENERATED file contains the IIDs and CLSIDs */ - -/* link this file in with the server and any clients */ - - - /* File created by MIDL compiler version 8.00.0603 */ -/* @@MIDL_FILE_HEADING( ) */ - -#pragma warning( disable: 4049 ) /* more than 64k source lines */ - - -#ifdef __cplusplus -extern "C"{ -#endif - - -#include -#include - -#ifdef _MIDL_USE_GUIDDEF_ - -#ifndef INITGUID -#define INITGUID -#include -#undef INITGUID -#else -#include -#endif - -#define MIDL_DEFINE_GUID(type,name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) \ - DEFINE_GUID(name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) - -#else // !_MIDL_USE_GUIDDEF_ - -#ifndef __IID_DEFINED__ -#define __IID_DEFINED__ - -typedef struct _IID -{ - unsigned long x; - unsigned short s1; - unsigned short s2; - unsigned char c[8]; -} IID; - -#endif // __IID_DEFINED__ - -#ifndef CLSID_DEFINED -#define CLSID_DEFINED -typedef IID CLSID; -#endif // CLSID_DEFINED - -#define MIDL_DEFINE_GUID(type,name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) \ - const type name = {l,w1,w2,{b1,b2,b3,b4,b5,b6,b7,b8}} - -#endif !_MIDL_USE_GUIDDEF_ - -MIDL_DEFINE_GUID(IID, LIBID_VEHandlerLib,0x856CA1B0,0x7DAB,0x11d3,0xAC,0xEC,0x00,0xC0,0x4F,0x86,0xC3,0x09); - - -MIDL_DEFINE_GUID(CLSID, CLSID_VEHandlerClass,0x856CA1B1,0x7DAB,0x11d3,0xAC,0xEC,0x00,0xC0,0x4F,0x86,0xC3,0x09); - - -MIDL_DEFINE_GUID(IID, IID_IVEHandler,0x856CA1B2,0x7DAB,0x11d3,0xAC,0xEC,0x00,0xC0,0x4F,0x86,0xC3,0x09); - -#undef MIDL_DEFINE_GUID - -#ifdef __cplusplus -} -#endif - - - diff --git a/src/pal/prebuilt/idl/tlbimpexp_i.cpp b/src/pal/prebuilt/idl/tlbimpexp_i.cpp deleted file mode 100644 index 0eb2791fa3..0000000000 --- a/src/pal/prebuilt/idl/tlbimpexp_i.cpp +++ /dev/null @@ -1,82 +0,0 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - - - -/* this ALWAYS GENERATED file contains the IIDs and CLSIDs */ - -/* link this file in with the server and any clients */ - - - /* File created by MIDL compiler version 8.00.0603 */ -/* @@MIDL_FILE_HEADING( ) */ - -#pragma warning( disable: 4049 ) /* more than 64k source lines */ - - -#ifdef __cplusplus -extern "C"{ -#endif - - -#include -#include - -#ifdef _MIDL_USE_GUIDDEF_ - -#ifndef INITGUID -#define INITGUID -#include -#undef INITGUID -#else -#include -#endif - -#define MIDL_DEFINE_GUID(type,name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) \ - DEFINE_GUID(name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) - -#else // !_MIDL_USE_GUIDDEF_ - -#ifndef __IID_DEFINED__ -#define __IID_DEFINED__ - -typedef struct _IID -{ - unsigned long x; - unsigned short s1; - unsigned short s2; - unsigned char c[8]; -} IID; - -#endif // __IID_DEFINED__ - -#ifndef CLSID_DEFINED -#define CLSID_DEFINED -typedef IID CLSID; -#endif // CLSID_DEFINED - -#define MIDL_DEFINE_GUID(type,name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) \ - const type name = {l,w1,w2,{b1,b2,b3,b4,b5,b6,b7,b8}} - -#endif !_MIDL_USE_GUIDDEF_ - -MIDL_DEFINE_GUID(IID, LIBID_TlbImpLib,0x20BC1825,0x06F0,0x11d2,0x8C,0xF4,0x00,0xA0,0xC9,0xB0,0xA0,0x63); - - -MIDL_DEFINE_GUID(IID, IID_ITypeLibImporterNotifySink,0xF1C3BF76,0xC3E4,0x11D3,0x88,0xE7,0x00,0x90,0x27,0x54,0xC4,0x3A); - - -MIDL_DEFINE_GUID(IID, IID_ITypeLibExporterNotifySink,0xF1C3BF77,0xC3E4,0x11D3,0x88,0xE7,0x00,0x90,0x27,0x54,0xC4,0x3A); - - -MIDL_DEFINE_GUID(IID, IID_ITypeLibExporterNameProvider,0xFA1F3615,0xACB9,0x486d,0x9E,0xAC,0x1B,0xEF,0x87,0xE3,0x6B,0x09); - -#undef MIDL_DEFINE_GUID - -#ifdef __cplusplus -} -#endif - - - diff --git a/src/pal/prebuilt/inc/ivalidator.h b/src/pal/prebuilt/inc/ivalidator.h deleted file mode 100644 index 320022dc40..0000000000 --- a/src/pal/prebuilt/inc/ivalidator.h +++ /dev/null @@ -1,334 +0,0 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - - - -/* this ALWAYS GENERATED file contains the definitions for the interfaces */ - - - /* File created by MIDL compiler version 8.00.0603 */ -/* @@MIDL_FILE_HEADING( ) */ - -#pragma warning( disable: 4049 ) /* more than 64k source lines */ - - -/* verify that the version is high enough to compile this file*/ -#ifndef __REQUIRED_RPCNDR_H_VERSION__ -#define __REQUIRED_RPCNDR_H_VERSION__ 475 -#endif - -#include "rpc.h" -#include "rpcndr.h" - -#ifndef __RPCNDR_H_VERSION__ -#error this stub requires an updated version of -#endif // __RPCNDR_H_VERSION__ - -#ifndef COM_NO_WINDOWS_H -#include "windows.h" -#include "ole2.h" -#endif /*COM_NO_WINDOWS_H*/ - -#ifndef __IValidator_h__ -#define __IValidator_h__ - -#if defined(_MSC_VER) && (_MSC_VER >= 1020) -#pragma once -#endif - -/* Forward Declarations */ - -#ifndef __IValidator_FWD_DEFINED__ -#define __IValidator_FWD_DEFINED__ -typedef interface IValidator IValidator; - -#endif /* __IValidator_FWD_DEFINED__ */ - - -#ifndef __ICLRValidator_FWD_DEFINED__ -#define __ICLRValidator_FWD_DEFINED__ -typedef interface ICLRValidator ICLRValidator; - -#endif /* __ICLRValidator_FWD_DEFINED__ */ - - -/* header files for imported files */ -#include "ivehandler.h" - -#ifdef __cplusplus -extern "C"{ -#endif - - -/* interface __MIDL_itf_IValidator_0000_0000 */ -/* [local] */ - -#pragma warning(push) -#pragma warning(disable:28718) - - - -enum ValidatorFlags - { - VALIDATOR_EXTRA_VERBOSE = 0x1, - VALIDATOR_SHOW_SOURCE_LINES = 0x2, - VALIDATOR_CHECK_ILONLY = 0x4, - VALIDATOR_CHECK_PEFORMAT_ONLY = 0x8, - VALIDATOR_NOCHECK_PEFORMAT = 0x10, - VALIDATOR_TRANSPARENT_ONLY = 0x20 - } ; - - -extern RPC_IF_HANDLE __MIDL_itf_IValidator_0000_0000_v0_0_c_ifspec; -extern RPC_IF_HANDLE __MIDL_itf_IValidator_0000_0000_v0_0_s_ifspec; - -#ifndef __IValidator_INTERFACE_DEFINED__ -#define __IValidator_INTERFACE_DEFINED__ - -/* interface IValidator */ -/* [unique][uuid][object] */ - - -EXTERN_C const IID IID_IValidator; - -#if defined(__cplusplus) && !defined(CINTERFACE) - - MIDL_INTERFACE("63DF8730-DC81-4062-84A2-1FF943F59FAC") - IValidator : public IUnknown - { - public: - virtual HRESULT STDMETHODCALLTYPE Validate( - /* [in] */ IVEHandler *veh, - /* [in] */ IUnknown *pAppDomain, - /* [in] */ unsigned long ulFlags, - /* [in] */ unsigned long ulMaxError, - /* [in] */ unsigned long token, - /* [in] */ LPWSTR fileName, - /* [size_is][in] */ BYTE *pe, - /* [in] */ unsigned long ulSize) = 0; - - virtual HRESULT STDMETHODCALLTYPE FormatEventInfo( - /* [in] */ HRESULT hVECode, - /* [in] */ VEContext Context, - /* [out][in] */ LPWSTR msg, - /* [in] */ unsigned long ulMaxLength, - /* [in] */ SAFEARRAY * psa) = 0; - - }; - - -#else /* C style interface */ - - typedef struct IValidatorVtbl - { - BEGIN_INTERFACE - - HRESULT ( STDMETHODCALLTYPE *QueryInterface )( - IValidator * This, - /* [in] */ REFIID riid, - /* [annotation][iid_is][out] */ - _COM_Outptr_ void **ppvObject); - - ULONG ( STDMETHODCALLTYPE *AddRef )( - IValidator * This); - - ULONG ( STDMETHODCALLTYPE *Release )( - IValidator * This); - - HRESULT ( STDMETHODCALLTYPE *Validate )( - IValidator * This, - /* [in] */ IVEHandler *veh, - /* [in] */ IUnknown *pAppDomain, - /* [in] */ unsigned long ulFlags, - /* [in] */ unsigned long ulMaxError, - /* [in] */ unsigned long token, - /* [in] */ LPWSTR fileName, - /* [size_is][in] */ BYTE *pe, - /* [in] */ unsigned long ulSize); - - HRESULT ( STDMETHODCALLTYPE *FormatEventInfo )( - IValidator * This, - /* [in] */ HRESULT hVECode, - /* [in] */ VEContext Context, - /* [out][in] */ LPWSTR msg, - /* [in] */ unsigned long ulMaxLength, - /* [in] */ SAFEARRAY * psa); - - END_INTERFACE - } IValidatorVtbl; - - interface IValidator - { - CONST_VTBL struct IValidatorVtbl *lpVtbl; - }; - - - -#ifdef COBJMACROS - - -#define IValidator_QueryInterface(This,riid,ppvObject) \ - ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) - -#define IValidator_AddRef(This) \ - ( (This)->lpVtbl -> AddRef(This) ) - -#define IValidator_Release(This) \ - ( (This)->lpVtbl -> Release(This) ) - - -#define IValidator_Validate(This,veh,pAppDomain,ulFlags,ulMaxError,token,fileName,pe,ulSize) \ - ( (This)->lpVtbl -> Validate(This,veh,pAppDomain,ulFlags,ulMaxError,token,fileName,pe,ulSize) ) - -#define IValidator_FormatEventInfo(This,hVECode,Context,msg,ulMaxLength,psa) \ - ( (This)->lpVtbl -> FormatEventInfo(This,hVECode,Context,msg,ulMaxLength,psa) ) - -#endif /* COBJMACROS */ - - -#endif /* C style interface */ - - - - -#endif /* __IValidator_INTERFACE_DEFINED__ */ - - -#ifndef __ICLRValidator_INTERFACE_DEFINED__ -#define __ICLRValidator_INTERFACE_DEFINED__ - -/* interface ICLRValidator */ -/* [unique][uuid][object] */ - - -EXTERN_C const IID IID_ICLRValidator; - -#if defined(__cplusplus) && !defined(CINTERFACE) - - MIDL_INTERFACE("63DF8730-DC81-4062-84A2-1FF943F59FDD") - ICLRValidator : public IUnknown - { - public: - virtual HRESULT STDMETHODCALLTYPE Validate( - /* [in] */ IVEHandler *veh, - /* [in] */ unsigned long ulAppDomainId, - /* [in] */ unsigned long ulFlags, - /* [in] */ unsigned long ulMaxError, - /* [in] */ unsigned long token, - /* [in] */ LPWSTR fileName, - /* [size_is][in] */ BYTE *pe, - /* [in] */ unsigned long ulSize) = 0; - - virtual HRESULT STDMETHODCALLTYPE FormatEventInfo( - /* [in] */ HRESULT hVECode, - /* [in] */ VEContext Context, - /* [out][in] */ LPWSTR msg, - /* [in] */ unsigned long ulMaxLength, - /* [in] */ SAFEARRAY * psa) = 0; - - }; - - -#else /* C style interface */ - - typedef struct ICLRValidatorVtbl - { - BEGIN_INTERFACE - - HRESULT ( STDMETHODCALLTYPE *QueryInterface )( - ICLRValidator * This, - /* [in] */ REFIID riid, - /* [annotation][iid_is][out] */ - _COM_Outptr_ void **ppvObject); - - ULONG ( STDMETHODCALLTYPE *AddRef )( - ICLRValidator * This); - - ULONG ( STDMETHODCALLTYPE *Release )( - ICLRValidator * This); - - HRESULT ( STDMETHODCALLTYPE *Validate )( - ICLRValidator * This, - /* [in] */ IVEHandler *veh, - /* [in] */ unsigned long ulAppDomainId, - /* [in] */ unsigned long ulFlags, - /* [in] */ unsigned long ulMaxError, - /* [in] */ unsigned long token, - /* [in] */ LPWSTR fileName, - /* [size_is][in] */ BYTE *pe, - /* [in] */ unsigned long ulSize); - - HRESULT ( STDMETHODCALLTYPE *FormatEventInfo )( - ICLRValidator * This, - /* [in] */ HRESULT hVECode, - /* [in] */ VEContext Context, - /* [out][in] */ LPWSTR msg, - /* [in] */ unsigned long ulMaxLength, - /* [in] */ SAFEARRAY * psa); - - END_INTERFACE - } ICLRValidatorVtbl; - - interface ICLRValidator - { - CONST_VTBL struct ICLRValidatorVtbl *lpVtbl; - }; - - - -#ifdef COBJMACROS - - -#define ICLRValidator_QueryInterface(This,riid,ppvObject) \ - ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) - -#define ICLRValidator_AddRef(This) \ - ( (This)->lpVtbl -> AddRef(This) ) - -#define ICLRValidator_Release(This) \ - ( (This)->lpVtbl -> Release(This) ) - - -#define ICLRValidator_Validate(This,veh,ulAppDomainId,ulFlags,ulMaxError,token,fileName,pe,ulSize) \ - ( (This)->lpVtbl -> Validate(This,veh,ulAppDomainId,ulFlags,ulMaxError,token,fileName,pe,ulSize) ) - -#define ICLRValidator_FormatEventInfo(This,hVECode,Context,msg,ulMaxLength,psa) \ - ( (This)->lpVtbl -> FormatEventInfo(This,hVECode,Context,msg,ulMaxLength,psa) ) - -#endif /* COBJMACROS */ - - -#endif /* C style interface */ - - - - -#endif /* __ICLRValidator_INTERFACE_DEFINED__ */ - - -/* interface __MIDL_itf_IValidator_0000_0002 */ -/* [local] */ - -#pragma warning(pop) - - -extern RPC_IF_HANDLE __MIDL_itf_IValidator_0000_0002_v0_0_c_ifspec; -extern RPC_IF_HANDLE __MIDL_itf_IValidator_0000_0002_v0_0_s_ifspec; - -/* Additional Prototypes for ALL interfaces */ - -unsigned long __RPC_USER LPSAFEARRAY_UserSize( unsigned long *, unsigned long , LPSAFEARRAY * ); -unsigned char * __RPC_USER LPSAFEARRAY_UserMarshal( unsigned long *, unsigned char *, LPSAFEARRAY * ); -unsigned char * __RPC_USER LPSAFEARRAY_UserUnmarshal(unsigned long *, unsigned char *, LPSAFEARRAY * ); -void __RPC_USER LPSAFEARRAY_UserFree( unsigned long *, LPSAFEARRAY * ); - -/* end of Additional Prototypes */ - -#ifdef __cplusplus -} -#endif - -#endif - - diff --git a/src/pal/prebuilt/inc/ivehandler.h b/src/pal/prebuilt/inc/ivehandler.h deleted file mode 100644 index bdd8cb521b..0000000000 --- a/src/pal/prebuilt/inc/ivehandler.h +++ /dev/null @@ -1,220 +0,0 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - - - -/* this ALWAYS GENERATED file contains the definitions for the interfaces */ - - - /* File created by MIDL compiler version 8.00.0603 */ -/* @@MIDL_FILE_HEADING( ) */ - -#pragma warning( disable: 4049 ) /* more than 64k source lines */ - - -/* verify that the version is high enough to compile this file*/ -#ifndef __REQUIRED_RPCNDR_H_VERSION__ -#define __REQUIRED_RPCNDR_H_VERSION__ 475 -#endif - -#include "rpc.h" -#include "rpcndr.h" - -#ifndef __RPCNDR_H_VERSION__ -#error this stub requires an updated version of -#endif // __RPCNDR_H_VERSION__ - -#ifndef COM_NO_WINDOWS_H -#include "windows.h" -#include "ole2.h" -#endif /*COM_NO_WINDOWS_H*/ - -#ifndef __IVEHandler_h__ -#define __IVEHandler_h__ - -#if defined(_MSC_VER) && (_MSC_VER >= 1020) -#pragma once -#endif - -/* Forward Declarations */ - -#ifndef __VEHandlerClass_FWD_DEFINED__ -#define __VEHandlerClass_FWD_DEFINED__ - -#ifdef __cplusplus -typedef class VEHandlerClass VEHandlerClass; -#else -typedef struct VEHandlerClass VEHandlerClass; -#endif /* __cplusplus */ - -#endif /* __VEHandlerClass_FWD_DEFINED__ */ - - -#ifndef __IVEHandler_FWD_DEFINED__ -#define __IVEHandler_FWD_DEFINED__ -typedef interface IVEHandler IVEHandler; - -#endif /* __IVEHandler_FWD_DEFINED__ */ - - -/* header files for imported files */ -#include "unknwn.h" - -#ifdef __cplusplus -extern "C"{ -#endif - - -/* interface __MIDL_itf_IVEHandler_0000_0000 */ -/* [local] */ - -typedef struct tag_VerError - { - unsigned long flags; - unsigned long opcode; - unsigned long uOffset; - unsigned long Token; - unsigned long item1_flags; - int *item1_data; - unsigned long item2_flags; - int *item2_data; - } _VerError; - -typedef _VerError VEContext; - - - - -extern RPC_IF_HANDLE __MIDL_itf_IVEHandler_0000_0000_v0_0_c_ifspec; -extern RPC_IF_HANDLE __MIDL_itf_IVEHandler_0000_0000_v0_0_s_ifspec; - - -#ifndef __VEHandlerLib_LIBRARY_DEFINED__ -#define __VEHandlerLib_LIBRARY_DEFINED__ - -/* library VEHandlerLib */ -/* [helpstring][version][uuid] */ - - -EXTERN_C const IID LIBID_VEHandlerLib; - -EXTERN_C const CLSID CLSID_VEHandlerClass; - -#ifdef __cplusplus - -class DECLSPEC_UUID("856CA1B1-7DAB-11d3-ACEC-00C04F86C309") -VEHandlerClass; -#endif -#endif /* __VEHandlerLib_LIBRARY_DEFINED__ */ - -#ifndef __IVEHandler_INTERFACE_DEFINED__ -#define __IVEHandler_INTERFACE_DEFINED__ - -/* interface IVEHandler */ -/* [unique][uuid][object] */ - - -EXTERN_C const IID IID_IVEHandler; - -#if defined(__cplusplus) && !defined(CINTERFACE) - - MIDL_INTERFACE("856CA1B2-7DAB-11d3-ACEC-00C04F86C309") - IVEHandler : public IUnknown - { - public: - virtual HRESULT STDMETHODCALLTYPE VEHandler( - /* [in] */ HRESULT VECode, - /* [in] */ VEContext Context, - /* [in] */ SAFEARRAY * psa) = 0; - - virtual HRESULT STDMETHODCALLTYPE SetReporterFtn( - /* [in] */ __int64 lFnPtr) = 0; - - }; - - -#else /* C style interface */ - - typedef struct IVEHandlerVtbl - { - BEGIN_INTERFACE - - HRESULT ( STDMETHODCALLTYPE *QueryInterface )( - IVEHandler * This, - /* [in] */ REFIID riid, - /* [annotation][iid_is][out] */ - _COM_Outptr_ void **ppvObject); - - ULONG ( STDMETHODCALLTYPE *AddRef )( - IVEHandler * This); - - ULONG ( STDMETHODCALLTYPE *Release )( - IVEHandler * This); - - HRESULT ( STDMETHODCALLTYPE *VEHandler )( - IVEHandler * This, - /* [in] */ HRESULT VECode, - /* [in] */ VEContext Context, - /* [in] */ SAFEARRAY * psa); - - HRESULT ( STDMETHODCALLTYPE *SetReporterFtn )( - IVEHandler * This, - /* [in] */ __int64 lFnPtr); - - END_INTERFACE - } IVEHandlerVtbl; - - interface IVEHandler - { - CONST_VTBL struct IVEHandlerVtbl *lpVtbl; - }; - - - -#ifdef COBJMACROS - - -#define IVEHandler_QueryInterface(This,riid,ppvObject) \ - ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) - -#define IVEHandler_AddRef(This) \ - ( (This)->lpVtbl -> AddRef(This) ) - -#define IVEHandler_Release(This) \ - ( (This)->lpVtbl -> Release(This) ) - - -#define IVEHandler_VEHandler(This,VECode,Context,psa) \ - ( (This)->lpVtbl -> VEHandler(This,VECode,Context,psa) ) - -#define IVEHandler_SetReporterFtn(This,lFnPtr) \ - ( (This)->lpVtbl -> SetReporterFtn(This,lFnPtr) ) - -#endif /* COBJMACROS */ - - -#endif /* C style interface */ - - - - -#endif /* __IVEHandler_INTERFACE_DEFINED__ */ - - -/* Additional Prototypes for ALL interfaces */ - -unsigned long __RPC_USER LPSAFEARRAY_UserSize( unsigned long *, unsigned long , LPSAFEARRAY * ); -unsigned char * __RPC_USER LPSAFEARRAY_UserMarshal( unsigned long *, unsigned char *, LPSAFEARRAY * ); -unsigned char * __RPC_USER LPSAFEARRAY_UserUnmarshal(unsigned long *, unsigned char *, LPSAFEARRAY * ); -void __RPC_USER LPSAFEARRAY_UserFree( unsigned long *, LPSAFEARRAY * ); - -/* end of Additional Prototypes */ - -#ifdef __cplusplus -} -#endif - -#endif - - diff --git a/src/pal/prebuilt/inc/mscoree.h b/src/pal/prebuilt/inc/mscoree.h index 45b8864d69..b62ab58b63 100644 --- a/src/pal/prebuilt/inc/mscoree.h +++ b/src/pal/prebuilt/inc/mscoree.h @@ -220,7 +220,6 @@ typedef interface ICLRAppDomainResourceMonitor ICLRAppDomainResourceMonitor; /* header files for imported files */ #include "unknwn.h" #include "gchost.h" -#include "ivalidator.h" #ifdef __cplusplus extern "C"{ -- cgit v1.2.3