holdingarea/llvm/llvm-gcc4.2-2.7-x86-mingw32/include/servprov.h
author Matt Plumtree <matt.plumtree@nokia.com>
Thu, 07 Oct 2010 13:58:22 +0100
branchbug235_bringup_0
changeset 55 09263774e342
parent 20 d2d6724aef32
permissions -rw-r--r--
Move GLES20 source into standard locations Move Khronos headers into their respective components, to be exported by each. Remove hostthreadadapter as nothing outside of the vghwapiwrapper, which now contains the code, needs it

#ifndef _SERVPROV_H
#define _SERVPROV_H
#define _OLEIDL_H
#if __GNUC__ >=3
#pragma GCC system_header
#endif

#ifdef __cplusplus
extern "C" {
#endif

EXTERN_C const IID IID_IServiceProvider;
#define INTERFACE IServiceProvider
DECLARE_INTERFACE_(IServiceProvider,IUnknown)
{
	STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
	STDMETHOD_(ULONG,AddRef)(THIS) PURE;
	STDMETHOD_(ULONG,Release)(THIS) PURE;
	STDMETHOD(QueryService)(THIS_ REFGUID,REFIID,void**) PURE;
};
#undef INTERFACE

#ifdef COBJMACROS
#define IServiceProvider_QueryInterface(T,a,b) (T)->lpVtbl->QueryInterface(T,a,b)
#define IServiceProvider_AddRef(T) (T)->lpVtbl->AddRef(T)
#define IServiceProvider_Release(T) (T)->lpVtbl->Release(T)
#define IServiceProvider_QueryService(T,a,b,c) (T)->lpVtbl->QueryService(T,a,b,c)
#endif

#ifdef __cplusplus
}
#endif
#endif