Use IDL file to generate oleidl.h

git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@4928 4407c894-4637-0410-b4f5-ada5f102cad1
This commit is contained in:
Jacek Caban 2012-04-01 11:09:31 +00:00
parent 5c466860e3
commit 3cf3c5fb34
9 changed files with 1546 additions and 25 deletions

View File

@ -63,6 +63,8 @@ IDL_SRCS = \
include/msctf.idl \
include/objectarray.idl \
include/objidl.idl \
include/oleidl.idl \
include/optary.idl \
include/shobjidl.idl \
include/shtypes.idl \
include/tpcshrd.idl \

View File

@ -252,6 +252,8 @@ BUILT_SOURCES = _mingw_directx.h _mingw_ddk.h $(am__append_1)
@HAVE_WIDL_TRUE@ include/msctf.idl \
@HAVE_WIDL_TRUE@ include/objectarray.idl \
@HAVE_WIDL_TRUE@ include/objidl.idl \
@HAVE_WIDL_TRUE@ include/oleidl.idl \
@HAVE_WIDL_TRUE@ include/optary.idl \
@HAVE_WIDL_TRUE@ include/shobjidl.idl \
@HAVE_WIDL_TRUE@ include/shtypes.idl \
@HAVE_WIDL_TRUE@ include/tpcshrd.idl \

View File

@ -20,6 +20,7 @@
/* Headers for imported files */
#include <oaidl.h>
#include <oleidl.h>
#ifdef __cplusplus
extern "C" {
@ -220,7 +221,6 @@ typedef struct IAdviseSinkEx IAdviseSinkEx;
typedef struct IQuickActivate IQuickActivate;
#endif
#include "oleidl.h"
#include "servprov.h"
#include "urlmon.h"

View File

@ -5,6 +5,7 @@
*/
import "oaidl.idl";
import "oleidl.idl";
cpp_quote("#ifndef __IEnumConnections_FWD_DEFINED__")
cpp_quote("#define __IEnumConnections_FWD_DEFINED__")
@ -201,7 +202,6 @@ cpp_quote("#define __IQuickActivate_FWD_DEFINED__")
cpp_quote("typedef struct IQuickActivate IQuickActivate;")
cpp_quote("#endif")
cpp_quote("")
cpp_quote("#include \"oleidl.h\"")
cpp_quote("#include \"servprov.h\"")
cpp_quote("#include \"urlmon.h\"")
cpp_quote("")

View File

@ -1,27 +1,30 @@
/**
* This file has no copyright assigned and is placed in the Public Domain.
* This file is part of the w64 mingw-runtime package.
* No warranty is given; refer to the file DISCLAIMER.PD within this package.
*/
/*** Autogenerated by WIDL 1.0 from include/oleidl.idl - Do not edit ***/
#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 <rpcndr.h>
#endif
#include <rpc.h>
#include <rpcndr.h>
#ifndef COM_NO_WINDOWS_H
#include "windows.h"
#include "ole2.h"
#include <windows.h>
#include <ole2.h>
#endif
#ifndef __oleidl_h__
#define __oleidl_h__
/* Forward declarations */
/* Headers for imported files */
#include <objidl.h>
#ifdef __cplusplus
extern "C" {
#endif
#ifndef __IOleAdviseHolder_FWD_DEFINED__
#define __IOleAdviseHolder_FWD_DEFINED__
typedef struct IOleAdviseHolder IOleAdviseHolder;
@ -132,12 +135,6 @@ typedef struct IDropTarget IDropTarget;
typedef struct IEnumOLEVERB IEnumOLEVERB;
#endif
#include "objidl.h"
#ifdef __cplusplus
extern "C" {
#endif
#ifndef __MIDL_user_allocate_free_DEFINED__
#define __MIDL_user_allocate_free_DEFINED__
void *__RPC_API MIDL_user_allocate(size_t);
@ -1535,8 +1532,13 @@ extern "C" {
HRESULT WINAPI IViewObject_GetAdvise_Stub(IViewObject *This,DWORD *pAspects,DWORD *pAdvf,IAdviseSink **ppAdvSink);
HRESULT WINAPI IEnumOLEVERB_Next_Proxy(IEnumOLEVERB *This,ULONG celt,LPOLEVERB rgelt,ULONG *pceltFetched);
HRESULT WINAPI IEnumOLEVERB_Next_Stub(IEnumOLEVERB *This,ULONG celt,LPOLEVERB rgelt,ULONG *pceltFetched);
/* Begin additional prototypes for all interfaces */
/* End additional prototypes */
#ifdef __cplusplus
}
#endif
#endif
#endif /* __oleidl_h__ */

File diff suppressed because it is too large Load Diff

View File

@ -1,4 +1,4 @@
/*** Autogenerated by WIDL from optary.idl - Do not edit ***/
/*** Autogenerated by WIDL 1.0 from include/optary.idl - Do not edit ***/
#ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR_H_VERSION__ 475

View File

@ -37,6 +37,7 @@ typedef struct ShellLibrary ShellLibrary;
#include <objidl.h>
#include <oaidl.h>
#include <shtypes.h>
#include <oleidl.h>
#ifdef __cplusplus
extern "C" {
@ -682,7 +683,6 @@ typedef interface IFileSaveDialog IFileSaveDialog;
typedef interface IFileOpenDialog IFileOpenDialog;
#endif
#include "oleidl.h"
#include "servprov.h"
#include "comcat.h"
#include "propidl.h"

View File

@ -7,6 +7,7 @@
import "objidl.idl";
import "oaidl.idl";
import "shtypes.idl";
import "oleidl.idl";
cpp_quote("#include <_mingw_unicode.h>")
@ -649,7 +650,6 @@ cpp_quote("#define __IFileOpenDialog_FWD_DEFINED__")
cpp_quote("typedef interface IFileOpenDialog IFileOpenDialog;")
cpp_quote("#endif")
cpp_quote("")
cpp_quote("#include \"oleidl.h\"")
cpp_quote("#include \"servprov.h\"")
cpp_quote("#include \"comcat.h\"")
cpp_quote("#include \"propidl.h\"")