67 lines
1.7 KiB
C
67 lines
1.7 KiB
C
|
/*
|
||
|
* servprov.h IServiceProvider interface
|
||
|
*
|
||
|
* =========================================================================
|
||
|
*
|
||
|
* Open Watcom Project
|
||
|
*
|
||
|
* Copyright (c) 2004-2010 The Open Watcom Contributors. All Rights Reserved.
|
||
|
*
|
||
|
* This file is automatically generated. Do not edit directly.
|
||
|
*
|
||
|
* =========================================================================
|
||
|
*/
|
||
|
|
||
|
#include <rpc.h>
|
||
|
#include <rpcndr.h>
|
||
|
#ifndef COM_NO_WINDOWS_H
|
||
|
#include <windows.h>
|
||
|
#include <ole2.h>
|
||
|
#endif
|
||
|
|
||
|
#ifndef __servprov_h__
|
||
|
#define __servprov_h__
|
||
|
|
||
|
#ifndef _ENABLE_AUTODEPEND
|
||
|
#pragma read_only_file;
|
||
|
#endif
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
|
||
|
/* GUIDs */
|
||
|
EXTERN_C const IID IID_IServiceProvider;
|
||
|
|
||
|
/* IServiceProvider interface */
|
||
|
#undef INTERFACE
|
||
|
#define INTERFACE IServiceProvider
|
||
|
DECLARE_INTERFACE_( IServiceProvider, IUnknown ) {
|
||
|
/* IUnknown methods */
|
||
|
STDMETHOD( QueryInterface )( THIS_ REFIID, void ** ) PURE;
|
||
|
STDMETHOD_( ULONG, AddRef )( THIS ) PURE;
|
||
|
STDMETHOD_( ULONG, Release )( THIS ) PURE;
|
||
|
|
||
|
/* IServiceProvider methods */
|
||
|
STDMETHOD( QueryService )( THIS_ REFGUID, REFIID, void ** ) PURE;
|
||
|
};
|
||
|
typedef IServiceProvider *LPSERVICEPROVIDER;
|
||
|
|
||
|
/* C object macros */
|
||
|
#if (!defined( __cplusplus ) || defined( CINTERFACE )) && defined( COBJMACROS )
|
||
|
#define IServiceProvider_QueryInterface( x, p1, p2 ) \
|
||
|
(x)->lpVtbl->QueryInterface( x, p1, p2 )
|
||
|
#define IServiceProvider_AddRef( x ) \
|
||
|
(x)->lpVtbl->AddRef( x )
|
||
|
#define IServiceProvider_Release( x ) \
|
||
|
(x)->lpVtbl->Release( x )
|
||
|
#define IServiceProvider_QueryService( x, p1, p2, p3 ) \
|
||
|
(x)->lpVtbl->QueryService( x, p1, p2, p3 )
|
||
|
#endif
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
} /* extern "C" */
|
||
|
#endif
|
||
|
|
||
|
#endif /* __servprov_h__ */
|