mirror of
https://git.code.sf.net/p/mingw-w64/mingw-w64
synced 2024-11-27 03:43:37 +08:00
headers: Import webservices.h and weakreference.idl from Wine.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
This commit is contained in:
parent
88991b6e55
commit
b4eadf324c
@ -264,6 +264,7 @@ IDL_SRCS = \
|
||||
include/robuffer.idl \
|
||||
include/rtworkq.idl \
|
||||
include/vmr9.idl \
|
||||
include/weakreference.idl \
|
||||
include/wincodec.idl \
|
||||
include/wincodecsdk.idl \
|
||||
include/wmcontainer.idl \
|
||||
|
@ -566,6 +566,7 @@ EXTRA_HEADERS = \
|
||||
@HAVE_WIDL_TRUE@ include/robuffer.idl \
|
||||
@HAVE_WIDL_TRUE@ include/rtworkq.idl \
|
||||
@HAVE_WIDL_TRUE@ include/vmr9.idl \
|
||||
@HAVE_WIDL_TRUE@ include/weakreference.idl \
|
||||
@HAVE_WIDL_TRUE@ include/wincodec.idl \
|
||||
@HAVE_WIDL_TRUE@ include/wincodecsdk.idl \
|
||||
@HAVE_WIDL_TRUE@ include/wmcontainer.idl \
|
||||
|
218
mingw-w64-headers/include/weakreference.h
Normal file
218
mingw-w64-headers/include/weakreference.h
Normal file
@ -0,0 +1,218 @@
|
||||
/*** Autogenerated by WIDL 9.11 from include/weakreference.idl - Do not edit ***/
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifndef __REQUIRED_RPCNDR_H_VERSION__
|
||||
#define __REQUIRED_RPCNDR_H_VERSION__ 475
|
||||
#endif
|
||||
#include <rpc.h>
|
||||
#include <rpcndr.h>
|
||||
#endif
|
||||
|
||||
#ifndef COM_NO_WINDOWS_H
|
||||
#include <windows.h>
|
||||
#include <ole2.h>
|
||||
#endif
|
||||
|
||||
#ifndef __weakreference_h__
|
||||
#define __weakreference_h__
|
||||
|
||||
#ifndef __WIDL_INLINE
|
||||
#if defined(__cplusplus) || defined(_MSC_VER)
|
||||
#define __WIDL_INLINE inline
|
||||
#elif defined(__GNUC__)
|
||||
#define __WIDL_INLINE __inline__
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* Forward declarations */
|
||||
|
||||
#ifndef __IWeakReference_FWD_DEFINED__
|
||||
#define __IWeakReference_FWD_DEFINED__
|
||||
typedef interface IWeakReference IWeakReference;
|
||||
#ifdef __cplusplus
|
||||
interface IWeakReference;
|
||||
#endif /* __cplusplus */
|
||||
#endif
|
||||
|
||||
#ifndef __IWeakReferenceSource_FWD_DEFINED__
|
||||
#define __IWeakReferenceSource_FWD_DEFINED__
|
||||
typedef interface IWeakReferenceSource IWeakReferenceSource;
|
||||
#ifdef __cplusplus
|
||||
interface IWeakReferenceSource;
|
||||
#endif /* __cplusplus */
|
||||
#endif
|
||||
|
||||
/* Headers for imported files */
|
||||
|
||||
#include <inspectable.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/*****************************************************************************
|
||||
* IWeakReference interface
|
||||
*/
|
||||
#ifndef __IWeakReference_INTERFACE_DEFINED__
|
||||
#define __IWeakReference_INTERFACE_DEFINED__
|
||||
|
||||
DEFINE_GUID(IID_IWeakReference, 0x00000037, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
MIDL_INTERFACE("00000037-0000-0000-c000-000000000046")
|
||||
IWeakReference : public IUnknown
|
||||
{
|
||||
virtual HRESULT STDMETHODCALLTYPE Resolve(
|
||||
REFIID iid,
|
||||
IInspectable **ref) = 0;
|
||||
|
||||
};
|
||||
#ifdef __CRT_UUID_DECL
|
||||
__CRT_UUID_DECL(IWeakReference, 0x00000037, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46)
|
||||
#endif
|
||||
#else
|
||||
typedef struct IWeakReferenceVtbl {
|
||||
BEGIN_INTERFACE
|
||||
|
||||
/*** IUnknown methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
||||
IWeakReference *This,
|
||||
REFIID riid,
|
||||
void **ppvObject);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *AddRef)(
|
||||
IWeakReference *This);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *Release)(
|
||||
IWeakReference *This);
|
||||
|
||||
/*** IWeakReference methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *Resolve)(
|
||||
IWeakReference *This,
|
||||
REFIID iid,
|
||||
IInspectable **ref);
|
||||
|
||||
END_INTERFACE
|
||||
} IWeakReferenceVtbl;
|
||||
|
||||
interface IWeakReference {
|
||||
CONST_VTBL IWeakReferenceVtbl* lpVtbl;
|
||||
};
|
||||
|
||||
#ifdef COBJMACROS
|
||||
#ifndef WIDL_C_INLINE_WRAPPERS
|
||||
/*** IUnknown methods ***/
|
||||
#define IWeakReference_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
||||
#define IWeakReference_AddRef(This) (This)->lpVtbl->AddRef(This)
|
||||
#define IWeakReference_Release(This) (This)->lpVtbl->Release(This)
|
||||
/*** IWeakReference methods ***/
|
||||
#define IWeakReference_Resolve(This,iid,ref) (This)->lpVtbl->Resolve(This,iid,ref)
|
||||
#else
|
||||
/*** IUnknown methods ***/
|
||||
static __WIDL_INLINE HRESULT IWeakReference_QueryInterface(IWeakReference* This,REFIID riid,void **ppvObject) {
|
||||
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
|
||||
}
|
||||
static __WIDL_INLINE ULONG IWeakReference_AddRef(IWeakReference* This) {
|
||||
return This->lpVtbl->AddRef(This);
|
||||
}
|
||||
static __WIDL_INLINE ULONG IWeakReference_Release(IWeakReference* This) {
|
||||
return This->lpVtbl->Release(This);
|
||||
}
|
||||
/*** IWeakReference methods ***/
|
||||
static __WIDL_INLINE HRESULT IWeakReference_Resolve(IWeakReference* This,REFIID iid,IInspectable **ref) {
|
||||
return This->lpVtbl->Resolve(This,iid,ref);
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
#endif /* __IWeakReference_INTERFACE_DEFINED__ */
|
||||
|
||||
/*****************************************************************************
|
||||
* IWeakReferenceSource interface
|
||||
*/
|
||||
#ifndef __IWeakReferenceSource_INTERFACE_DEFINED__
|
||||
#define __IWeakReferenceSource_INTERFACE_DEFINED__
|
||||
|
||||
DEFINE_GUID(IID_IWeakReferenceSource, 0x00000038, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
MIDL_INTERFACE("00000038-0000-0000-c000-000000000046")
|
||||
IWeakReferenceSource : public IUnknown
|
||||
{
|
||||
virtual HRESULT STDMETHODCALLTYPE GetWeakReference(
|
||||
IWeakReference **ref) = 0;
|
||||
|
||||
};
|
||||
#ifdef __CRT_UUID_DECL
|
||||
__CRT_UUID_DECL(IWeakReferenceSource, 0x00000038, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46)
|
||||
#endif
|
||||
#else
|
||||
typedef struct IWeakReferenceSourceVtbl {
|
||||
BEGIN_INTERFACE
|
||||
|
||||
/*** IUnknown methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
||||
IWeakReferenceSource *This,
|
||||
REFIID riid,
|
||||
void **ppvObject);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *AddRef)(
|
||||
IWeakReferenceSource *This);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *Release)(
|
||||
IWeakReferenceSource *This);
|
||||
|
||||
/*** IWeakReferenceSource methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *GetWeakReference)(
|
||||
IWeakReferenceSource *This,
|
||||
IWeakReference **ref);
|
||||
|
||||
END_INTERFACE
|
||||
} IWeakReferenceSourceVtbl;
|
||||
|
||||
interface IWeakReferenceSource {
|
||||
CONST_VTBL IWeakReferenceSourceVtbl* lpVtbl;
|
||||
};
|
||||
|
||||
#ifdef COBJMACROS
|
||||
#ifndef WIDL_C_INLINE_WRAPPERS
|
||||
/*** IUnknown methods ***/
|
||||
#define IWeakReferenceSource_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
||||
#define IWeakReferenceSource_AddRef(This) (This)->lpVtbl->AddRef(This)
|
||||
#define IWeakReferenceSource_Release(This) (This)->lpVtbl->Release(This)
|
||||
/*** IWeakReferenceSource methods ***/
|
||||
#define IWeakReferenceSource_GetWeakReference(This,ref) (This)->lpVtbl->GetWeakReference(This,ref)
|
||||
#else
|
||||
/*** IUnknown methods ***/
|
||||
static __WIDL_INLINE HRESULT IWeakReferenceSource_QueryInterface(IWeakReferenceSource* This,REFIID riid,void **ppvObject) {
|
||||
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
|
||||
}
|
||||
static __WIDL_INLINE ULONG IWeakReferenceSource_AddRef(IWeakReferenceSource* This) {
|
||||
return This->lpVtbl->AddRef(This);
|
||||
}
|
||||
static __WIDL_INLINE ULONG IWeakReferenceSource_Release(IWeakReferenceSource* This) {
|
||||
return This->lpVtbl->Release(This);
|
||||
}
|
||||
/*** IWeakReferenceSource methods ***/
|
||||
static __WIDL_INLINE HRESULT IWeakReferenceSource_GetWeakReference(IWeakReferenceSource* This,IWeakReference **ref) {
|
||||
return This->lpVtbl->GetWeakReference(This,ref);
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
#endif /* __IWeakReferenceSource_INTERFACE_DEFINED__ */
|
||||
|
||||
/* Begin additional prototypes for all interfaces */
|
||||
|
||||
|
||||
/* End additional prototypes */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __weakreference_h__ */
|
39
mingw-w64-headers/include/weakreference.idl
Normal file
39
mingw-w64-headers/include/weakreference.idl
Normal file
@ -0,0 +1,39 @@
|
||||
/*
|
||||
* Copyright 2022 Rémi Bernon for CodeWeavers
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
import "inspectable.idl";
|
||||
|
||||
[
|
||||
object,
|
||||
uuid(00000037-0000-0000-c000-000000000046),
|
||||
pointer_default(unique)
|
||||
]
|
||||
interface IWeakReference : IUnknown
|
||||
{
|
||||
HRESULT Resolve([in] REFIID iid, [out, retval, iid_is(iid)] IInspectable **ref);
|
||||
}
|
||||
|
||||
[
|
||||
object,
|
||||
uuid(00000038-0000-0000-c000-000000000046),
|
||||
pointer_default(unique)
|
||||
]
|
||||
interface IWeakReferenceSource : IUnknown
|
||||
{
|
||||
HRESULT GetWeakReference([out, retval] IWeakReference **ref);
|
||||
}
|
1892
mingw-w64-headers/include/webservices.h
Normal file
1892
mingw-w64-headers/include/webservices.h
Normal file
File diff suppressed because it is too large
Load Diff
@ -120,6 +120,7 @@ for f in \
|
||||
uiautomationcoreapi.h \
|
||||
uiautomation.h \
|
||||
vfwmsgs.h \
|
||||
webservices.h \
|
||||
winhttp.h \
|
||||
winineti.h \
|
||||
wmpids.h \
|
||||
@ -218,6 +219,7 @@ for f in \
|
||||
uiautomationcore \
|
||||
urlhist \
|
||||
vmr9 \
|
||||
weakreference \
|
||||
wincodec \
|
||||
wincodecsdk \
|
||||
windowscontracts \
|
||||
|
Loading…
Reference in New Issue
Block a user