mirror of https://github.com/UMSKT/xpmgr.git
247 lines
8.3 KiB
C++
247 lines
8.3 KiB
C++
|
|
|
|
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
|
|
|
|
|
|
/* File created by MIDL compiler version 7.00.0555 */
|
|
/* Compiler settings for tspubplugincom.idl:
|
|
Oicf, W1, Zp8, env=Win32 (32b run), target_arch=X86 7.00.0555
|
|
protocol : dce , ms_ext, c_ext, robust
|
|
error checks: allocation ref bounds_check enum stub_data
|
|
VC __declspec() decoration level:
|
|
__declspec(uuid()), __declspec(selectany), __declspec(novtable)
|
|
DECLSPEC_UUID(), MIDL_INTERFACE()
|
|
*/
|
|
/* @@MIDL_FILE_HEADING( ) */
|
|
|
|
#pragma warning( disable: 4049 ) /* more than 64k source lines */
|
|
|
|
|
|
/* verify that the <rpcndr.h> version is high enough to compile this file*/
|
|
#ifndef __REQUIRED_RPCNDR_H_VERSION__
|
|
#define __REQUIRED_RPCNDR_H_VERSION__ 500
|
|
#endif
|
|
|
|
/* verify that the <rpcsal.h> version is high enough to compile this file*/
|
|
#ifndef __REQUIRED_RPCSAL_H_VERSION__
|
|
#define __REQUIRED_RPCSAL_H_VERSION__ 100
|
|
#endif
|
|
|
|
#include "rpc.h"
|
|
#include "rpcndr.h"
|
|
|
|
#ifndef __RPCNDR_H_VERSION__
|
|
#error this stub requires an updated version of <rpcndr.h>
|
|
#endif // __RPCNDR_H_VERSION__
|
|
|
|
#ifndef COM_NO_WINDOWS_H
|
|
#include "windows.h"
|
|
#include "ole2.h"
|
|
#endif /*COM_NO_WINDOWS_H*/
|
|
|
|
#ifndef __tspubplugincom_h__
|
|
#define __tspubplugincom_h__
|
|
|
|
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
|
|
#pragma once
|
|
#endif
|
|
|
|
/* Forward Declarations */
|
|
|
|
#ifndef __ItsPubPlugin_FWD_DEFINED__
|
|
#define __ItsPubPlugin_FWD_DEFINED__
|
|
typedef interface ItsPubPlugin ItsPubPlugin;
|
|
#endif /* __ItsPubPlugin_FWD_DEFINED__ */
|
|
|
|
|
|
/* header files for imported files */
|
|
#include "oaidl.h"
|
|
#include "ocidl.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"{
|
|
#endif
|
|
|
|
|
|
#ifndef __ItsPubPlugin_INTERFACE_DEFINED__
|
|
#define __ItsPubPlugin_INTERFACE_DEFINED__
|
|
|
|
/* interface ItsPubPlugin */
|
|
/* [unique][helpstring][uuid][object] */
|
|
|
|
typedef /* [public][public][public] */ struct __MIDL_ItsPubPlugin_0001
|
|
{
|
|
WCHAR alias[ 256 ];
|
|
WCHAR name[ 256 ];
|
|
WCHAR *resourceFileContents;
|
|
WCHAR fileExtension[ 24 ];
|
|
WCHAR resourcePluginType[ 256 ];
|
|
boolean isDiscoverable;
|
|
long resourceType;
|
|
unsigned long pceIconSize;
|
|
byte *iconContents;
|
|
unsigned long pcePluginBlobSize;
|
|
byte *blobContents;
|
|
} pluginResource;
|
|
|
|
|
|
EXTERN_C const IID IID_ItsPubPlugin;
|
|
|
|
#if defined(__cplusplus) && !defined(CINTERFACE)
|
|
|
|
MIDL_INTERFACE("70C04B05-F347-412B-822F-36C99C54CA45")
|
|
ItsPubPlugin : public IUnknown
|
|
{
|
|
public:
|
|
virtual HRESULT STDMETHODCALLTYPE GetResourceList(
|
|
/* [in] */ __RPC__in LPCWSTR userID,
|
|
/* [out] */ __RPC__out LONG *pceAppListSize,
|
|
/* [out] */ __RPC__deref_out_opt pluginResource **resourceList) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE GetResource(
|
|
/* [in] */ __RPC__in LPCWSTR alias,
|
|
LONG flags,
|
|
/* [out] */ __RPC__out pluginResource *resource) = 0;
|
|
|
|
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetCacheLastUpdateTime(
|
|
/* [out] */ __RPC__out unsigned long long *lastUpdateTime) = 0;
|
|
|
|
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_pluginName(
|
|
/* [retval][out] */ __RPC__deref_out_opt BSTR *pVal) = 0;
|
|
|
|
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_pluginVersion(
|
|
/* [retval][out] */ __RPC__deref_out_opt BSTR *pVal) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE ResolveResource(
|
|
/* [out] */ __RPC__out DWORD *resourceType,
|
|
/* [out][string] */ __RPC__out_ecount_full_string(256) wchar_t resourceLocation[ 256 ],
|
|
/* [out][string] */ __RPC__out_ecount_full_string(256) wchar_t endPointName[ 256 ],
|
|
/* [string][in] */ __RPC__in_string wchar_t *userID,
|
|
/* [string][in] */ __RPC__in_string wchar_t *alias) = 0;
|
|
|
|
};
|
|
|
|
#else /* C style interface */
|
|
|
|
typedef struct ItsPubPluginVtbl
|
|
{
|
|
BEGIN_INTERFACE
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
|
__RPC__in ItsPubPlugin * This,
|
|
/* [in] */ __RPC__in REFIID riid,
|
|
/* [annotation][iid_is][out] */
|
|
__RPC__deref_out void **ppvObject);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
|
__RPC__in ItsPubPlugin * This);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *Release )(
|
|
__RPC__in ItsPubPlugin * This);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *GetResourceList )(
|
|
__RPC__in ItsPubPlugin * This,
|
|
/* [in] */ __RPC__in LPCWSTR userID,
|
|
/* [out] */ __RPC__out LONG *pceAppListSize,
|
|
/* [out] */ __RPC__deref_out_opt pluginResource **resourceList);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *GetResource )(
|
|
__RPC__in ItsPubPlugin * This,
|
|
/* [in] */ __RPC__in LPCWSTR alias,
|
|
LONG flags,
|
|
/* [out] */ __RPC__out pluginResource *resource);
|
|
|
|
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetCacheLastUpdateTime )(
|
|
__RPC__in ItsPubPlugin * This,
|
|
/* [out] */ __RPC__out unsigned long long *lastUpdateTime);
|
|
|
|
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_pluginName )(
|
|
__RPC__in ItsPubPlugin * This,
|
|
/* [retval][out] */ __RPC__deref_out_opt BSTR *pVal);
|
|
|
|
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_pluginVersion )(
|
|
__RPC__in ItsPubPlugin * This,
|
|
/* [retval][out] */ __RPC__deref_out_opt BSTR *pVal);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *ResolveResource )(
|
|
__RPC__in ItsPubPlugin * This,
|
|
/* [out] */ __RPC__out DWORD *resourceType,
|
|
/* [out][string] */ __RPC__out_ecount_full_string(256) wchar_t resourceLocation[ 256 ],
|
|
/* [out][string] */ __RPC__out_ecount_full_string(256) wchar_t endPointName[ 256 ],
|
|
/* [string][in] */ __RPC__in_string wchar_t *userID,
|
|
/* [string][in] */ __RPC__in_string wchar_t *alias);
|
|
|
|
END_INTERFACE
|
|
} ItsPubPluginVtbl;
|
|
|
|
interface ItsPubPlugin
|
|
{
|
|
CONST_VTBL struct ItsPubPluginVtbl *lpVtbl;
|
|
};
|
|
|
|
|
|
|
|
#ifdef COBJMACROS
|
|
|
|
|
|
#define ItsPubPlugin_QueryInterface(This,riid,ppvObject) \
|
|
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
|
|
|
|
#define ItsPubPlugin_AddRef(This) \
|
|
( (This)->lpVtbl -> AddRef(This) )
|
|
|
|
#define ItsPubPlugin_Release(This) \
|
|
( (This)->lpVtbl -> Release(This) )
|
|
|
|
|
|
#define ItsPubPlugin_GetResourceList(This,userID,pceAppListSize,resourceList) \
|
|
( (This)->lpVtbl -> GetResourceList(This,userID,pceAppListSize,resourceList) )
|
|
|
|
#define ItsPubPlugin_GetResource(This,alias,flags,resource) \
|
|
( (This)->lpVtbl -> GetResource(This,alias,flags,resource) )
|
|
|
|
#define ItsPubPlugin_GetCacheLastUpdateTime(This,lastUpdateTime) \
|
|
( (This)->lpVtbl -> GetCacheLastUpdateTime(This,lastUpdateTime) )
|
|
|
|
#define ItsPubPlugin_get_pluginName(This,pVal) \
|
|
( (This)->lpVtbl -> get_pluginName(This,pVal) )
|
|
|
|
#define ItsPubPlugin_get_pluginVersion(This,pVal) \
|
|
( (This)->lpVtbl -> get_pluginVersion(This,pVal) )
|
|
|
|
#define ItsPubPlugin_ResolveResource(This,resourceType,resourceLocation,endPointName,userID,alias) \
|
|
( (This)->lpVtbl -> ResolveResource(This,resourceType,resourceLocation,endPointName,userID,alias) )
|
|
|
|
#endif /* COBJMACROS */
|
|
|
|
|
|
#endif /* C style interface */
|
|
|
|
|
|
|
|
|
|
#endif /* __ItsPubPlugin_INTERFACE_DEFINED__ */
|
|
|
|
|
|
/* Additional Prototypes for ALL interfaces */
|
|
|
|
unsigned long __RPC_USER BSTR_UserSize( __RPC__in unsigned long *, unsigned long , __RPC__in BSTR * );
|
|
unsigned char * __RPC_USER BSTR_UserMarshal( __RPC__in unsigned long *, __RPC__inout_xcount(0) unsigned char *, __RPC__in BSTR * );
|
|
unsigned char * __RPC_USER BSTR_UserUnmarshal(__RPC__in unsigned long *, __RPC__in_xcount(0) unsigned char *, __RPC__out BSTR * );
|
|
void __RPC_USER BSTR_UserFree( __RPC__in unsigned long *, __RPC__in BSTR * );
|
|
|
|
unsigned long __RPC_USER BSTR_UserSize64( __RPC__in unsigned long *, unsigned long , __RPC__in BSTR * );
|
|
unsigned char * __RPC_USER BSTR_UserMarshal64( __RPC__in unsigned long *, __RPC__inout_xcount(0) unsigned char *, __RPC__in BSTR * );
|
|
unsigned char * __RPC_USER BSTR_UserUnmarshal64(__RPC__in unsigned long *, __RPC__in_xcount(0) unsigned char *, __RPC__out BSTR * );
|
|
void __RPC_USER BSTR_UserFree64( __RPC__in unsigned long *, __RPC__in BSTR * );
|
|
|
|
/* end of Additional Prototypes */
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|