NT4/public/sdk/inc/mfc42/servprov.h

192 lines
4.6 KiB
C
Raw Normal View History

2001-01-01 00:00:00 +01:00
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 3.00.15 */
/* at Fri Jun 14 20:22:17 1996
*/
/* Compiler settings for servprov.idl:
Oi, W1, Zp8, env=Win32, ms_ext, c_ext
error checks: none
*/
//@@MIDL_FILE_HEADING( )
#include "rpc.h"
#include "rpcndr.h"
#ifndef COM_NO_WINDOWS_H
#include "windows.h"
#include "ole2.h"
#endif /*COM_NO_WINDOWS_H*/
#ifndef __servprov_h__
#define __servprov_h__
#ifdef __cplusplus
extern "C"{
#endif
/* Forward Declarations */
#ifndef __IServiceProvider_FWD_DEFINED__
#define __IServiceProvider_FWD_DEFINED__
typedef interface IServiceProvider IServiceProvider;
#endif /* __IServiceProvider_FWD_DEFINED__ */
/* header files for imported files */
#include "objidl.h"
#include "oleidl.h"
void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
void __RPC_USER MIDL_user_free( void __RPC_FAR * );
/****************************************
* Generated header for interface: __MIDL__intf_0000
* at Fri Jun 14 20:22:17 1996
* using MIDL 3.00.15
****************************************/
/* [local] */
//+-------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright 1995 - 1996 Microsoft Corporation. All Rights Reserved.
//
// File: servprov.h
//
//--------------------------------------------------------------------------
#pragma comment(lib,"uuid3.lib")
#ifndef _LPSERVICEPROVIDER_DEFINED
#define _LPSERVICEPROVIDER_DEFINED
extern RPC_IF_HANDLE __MIDL__intf_0000_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL__intf_0000_v0_0_s_ifspec;
#ifndef __IServiceProvider_INTERFACE_DEFINED__
#define __IServiceProvider_INTERFACE_DEFINED__
/****************************************
* Generated header for interface: IServiceProvider
* at Fri Jun 14 20:22:17 1996
* using MIDL 3.00.15
****************************************/
/* [unique][uuid][local][object] */
typedef /* [unique] */ IServiceProvider __RPC_FAR *LPSERVICEPROVIDER;
EXTERN_C const IID IID_IServiceProvider;
#if defined(__cplusplus) && !defined(CINTERFACE)
interface IServiceProvider : public IUnknown
{
public:
virtual HRESULT STDMETHODCALLTYPE QueryService(
/* [in] */ REFGUID rsid,
/* [in] */ REFIID iid,
/* [out] */ void __RPC_FAR *__RPC_FAR *ppvObj) = 0;
};
#else /* C style interface */
typedef struct IServiceProviderVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IServiceProvider __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IServiceProvider __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IServiceProvider __RPC_FAR * This);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryService )(
IServiceProvider __RPC_FAR * This,
/* [in] */ REFGUID rsid,
/* [in] */ REFIID iid,
/* [out] */ void __RPC_FAR *__RPC_FAR *ppvObj);
END_INTERFACE
} IServiceProviderVtbl;
interface IServiceProvider
{
CONST_VTBL struct IServiceProviderVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IServiceProvider_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IServiceProvider_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IServiceProvider_Release(This) \
(This)->lpVtbl -> Release(This)
#define IServiceProvider_QueryService(This,rsid,iid,ppvObj) \
(This)->lpVtbl -> QueryService(This,rsid,iid,ppvObj)
#endif /* COBJMACROS */
#endif /* C style interface */
HRESULT STDMETHODCALLTYPE IServiceProvider_QueryService_Proxy(
IServiceProvider __RPC_FAR * This,
/* [in] */ REFGUID rsid,
/* [in] */ REFIID iid,
/* [out] */ void __RPC_FAR *__RPC_FAR *ppvObj);
void __RPC_STUB IServiceProvider_QueryService_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IServiceProvider_INTERFACE_DEFINED__ */
/****************************************
* Generated header for interface: __MIDL__intf_0082
* at Fri Jun 14 20:22:17 1996
* using MIDL 3.00.15
****************************************/
/* [local] */
#endif
extern RPC_IF_HANDLE __MIDL__intf_0082_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL__intf_0082_v0_0_s_ifspec;
/* Additional Prototypes for ALL interfaces */
/* end of Additional Prototypes */
#ifdef __cplusplus
}
#endif
#endif