📄 complus.h
字号:
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 6.00.0361 */
/* at Sat Mar 20 23:29:37 2004
*/
/* Compiler settings for .\comPlus.idl:
Oicf, W1, Zp8, env=Win32 (32b run)
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__ 475
#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 __comPlus_h__
#define __comPlus_h__
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pragma once
#endif
/* Forward Declarations */
#ifndef __IComponentRegistrar_FWD_DEFINED__
#define __IComponentRegistrar_FWD_DEFINED__
typedef interface IComponentRegistrar IComponentRegistrar;
#endif /* __IComponentRegistrar_FWD_DEFINED__ */
#ifndef __IPerson_FWD_DEFINED__
#define __IPerson_FWD_DEFINED__
typedef interface IPerson IPerson;
#endif /* __IPerson_FWD_DEFINED__ */
#ifndef __CompReg_FWD_DEFINED__
#define __CompReg_FWD_DEFINED__
#ifdef __cplusplus
typedef class CompReg CompReg;
#else
typedef struct CompReg CompReg;
#endif /* __cplusplus */
#endif /* __CompReg_FWD_DEFINED__ */
#ifndef __Person_FWD_DEFINED__
#define __Person_FWD_DEFINED__
#ifdef __cplusplus
typedef class Person Person;
#else
typedef struct Person Person;
#endif /* __cplusplus */
#endif /* __Person_FWD_DEFINED__ */
/* header files for imported files */
#include "oaidl.h"
#include "ocidl.h"
#ifdef __cplusplus
extern "C"{
#endif
void * __RPC_USER MIDL_user_allocate(size_t);
void __RPC_USER MIDL_user_free( void * );
#ifndef __IComponentRegistrar_INTERFACE_DEFINED__
#define __IComponentRegistrar_INTERFACE_DEFINED__
/* interface IComponentRegistrar */
/* [unique][helpstring][dual][uuid][object] */
EXTERN_C const IID IID_IComponentRegistrar;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("a817e7a2-43fa-11d0-9e44-00aa00b6770a")
IComponentRegistrar : public IDispatch
{
public:
virtual /* [id] */ HRESULT STDMETHODCALLTYPE Attach(
/* [in] */ BSTR bstrPath) = 0;
virtual /* [id] */ HRESULT STDMETHODCALLTYPE RegisterAll( void) = 0;
virtual /* [id] */ HRESULT STDMETHODCALLTYPE UnregisterAll( void) = 0;
virtual /* [id] */ HRESULT STDMETHODCALLTYPE GetComponents(
/* [out] */ SAFEARRAY * *pbstrCLSIDs,
/* [out] */ SAFEARRAY * *pbstrDescriptions) = 0;
virtual /* [id] */ HRESULT STDMETHODCALLTYPE RegisterComponent(
/* [in] */ BSTR bstrCLSID) = 0;
virtual /* [id] */ HRESULT STDMETHODCALLTYPE UnregisterComponent(
/* [in] */ BSTR bstrCLSID) = 0;
};
#else /* C style interface */
typedef struct IComponentRegistrarVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
IComponentRegistrar * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
IComponentRegistrar * This);
ULONG ( STDMETHODCALLTYPE *Release )(
IComponentRegistrar * This);
HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
IComponentRegistrar * This,
/* [out] */ UINT *pctinfo);
HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
IComponentRegistrar * This,
/* [in] */ UINT iTInfo,
/* [in] */ LCID lcid,
/* [out] */ ITypeInfo **ppTInfo);
HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
IComponentRegistrar * This,
/* [in] */ REFIID riid,
/* [size_is][in] */ LPOLESTR *rgszNames,
/* [in] */ UINT cNames,
/* [in] */ LCID lcid,
/* [size_is][out] */ DISPID *rgDispId);
/* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
IComponentRegistrar * This,
/* [in] */ DISPID dispIdMember,
/* [in] */ REFIID riid,
/* [in] */ LCID lcid,
/* [in] */ WORD wFlags,
/* [out][in] */ DISPPARAMS *pDispParams,
/* [out] */ VARIANT *pVarResult,
/* [out] */ EXCEPINFO *pExcepInfo,
/* [out] */ UINT *puArgErr);
/* [id] */ HRESULT ( STDMETHODCALLTYPE *Attach )(
IComponentRegistrar * This,
/* [in] */ BSTR bstrPath);
/* [id] */ HRESULT ( STDMETHODCALLTYPE *RegisterAll )(
IComponentRegistrar * This);
/* [id] */ HRESULT ( STDMETHODCALLTYPE *UnregisterAll )(
IComponentRegistrar * This);
/* [id] */ HRESULT ( STDMETHODCALLTYPE *GetComponents )(
IComponentRegistrar * This,
/* [out] */ SAFEARRAY * *pbstrCLSIDs,
/* [out] */ SAFEARRAY * *pbstrDescriptions);
/* [id] */ HRESULT ( STDMETHODCALLTYPE *RegisterComponent )(
IComponentRegistrar * This,
/* [in] */ BSTR bstrCLSID);
/* [id] */ HRESULT ( STDMETHODCALLTYPE *UnregisterComponent )(
IComponentRegistrar * This,
/* [in] */ BSTR bstrCLSID);
END_INTERFACE
} IComponentRegistrarVtbl;
interface IComponentRegistrar
{
CONST_VTBL struct IComponentRegistrarVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define IComponentRegistrar_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IComponentRegistrar_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IComponentRegistrar_Release(This) \
(This)->lpVtbl -> Release(This)
#define IComponentRegistrar_GetTypeInfoCount(This,pctinfo) \
(This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
#define IComponentRegistrar_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
(This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define IComponentRegistrar_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
(This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define IComponentRegistrar_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
(This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
#define IComponentRegistrar_Attach(This,bstrPath) \
(This)->lpVtbl -> Attach(This,bstrPath)
#define IComponentRegistrar_RegisterAll(This) \
(This)->lpVtbl -> RegisterAll(This)
#define IComponentRegistrar_UnregisterAll(This) \
(This)->lpVtbl -> UnregisterAll(This)
#define IComponentRegistrar_GetComponents(This,pbstrCLSIDs,pbstrDescriptions) \
(This)->lpVtbl -> GetComponents(This,pbstrCLSIDs,pbstrDescriptions)
#define IComponentRegistrar_RegisterComponent(This,bstrCLSID) \
(This)->lpVtbl -> RegisterComponent(This,bstrCLSID)
#define IComponentRegistrar_UnregisterComponent(This,bstrCLSID) \
(This)->lpVtbl -> UnregisterComponent(This,bstrCLSID)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [id] */ HRESULT STDMETHODCALLTYPE IComponentRegistrar_Attach_Proxy(
IComponentRegistrar * This,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -