comcatred.h

来自「插件程序设计是许多程序员非常想了解的知识」· C头文件 代码 · 共 170 行

H
170
字号
/* this ALWAYS GENERATED file contains the definitions for the interfaces */


/* File created by MIDL compiler version 5.01.0164 */
/* at Mon Dec 03 15:44:13 2007
 */
/* Compiler settings for E:\TEST\plug in\ComCatRed\ComCatRed.idl:
    Oicf (OptLev=i2), W1, Zp8, env=Win32, ms_ext, c_ext
    error checks: allocation ref bounds_check enum stub_data 
*/
//@@MIDL_FILE_HEADING(  )


/* verify that the <rpcndr.h> version is high enough to compile this file*/
#ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR_H_VERSION__ 440
#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 __ComCatRed_h__
#define __ComCatRed_h__

#ifdef __cplusplus
extern "C"{
#endif 

/* Forward Declarations */ 

#ifndef __IComCatDrawRed_FWD_DEFINED__
#define __IComCatDrawRed_FWD_DEFINED__
typedef interface IComCatDrawRed IComCatDrawRed;
#endif 	/* __IComCatDrawRed_FWD_DEFINED__ */


#ifndef __ComCatDrawRed_FWD_DEFINED__
#define __ComCatDrawRed_FWD_DEFINED__

#ifdef __cplusplus
typedef class ComCatDrawRed ComCatDrawRed;
#else
typedef struct ComCatDrawRed ComCatDrawRed;
#endif /* __cplusplus */

#endif 	/* __ComCatDrawRed_FWD_DEFINED__ */


/* header files for imported files */
#include "oaidl.h"
#include "ocidl.h"
#include "ComCatDraw.h"

void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
void __RPC_USER MIDL_user_free( void __RPC_FAR * ); 

#ifndef __IComCatDrawRed_INTERFACE_DEFINED__
#define __IComCatDrawRed_INTERFACE_DEFINED__

/* interface IComCatDrawRed */
/* [unique][helpstring][dual][uuid][object] */ 


EXTERN_C const IID IID_IComCatDrawRed;

#if defined(__cplusplus) && !defined(CINTERFACE)
    
    MIDL_INTERFACE("F271D168-28E1-4960-A234-D715E089BA38")
    IComCatDrawRed : public IComCatDraw
    {
    public:
    };
    
#else 	/* C style interface */

    typedef struct IComCatDrawRedVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
            IComCatDrawRed __RPC_FAR * This,
            /* [in] */ REFIID riid,
            /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
        
        ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
            IComCatDrawRed __RPC_FAR * This);
        
        ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
            IComCatDrawRed __RPC_FAR * This);
        
        HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Draw )( 
            IComCatDrawRed __RPC_FAR * This,
            /* [in] */ HDC hDC);
        
        END_INTERFACE
    } IComCatDrawRedVtbl;

    interface IComCatDrawRed
    {
        CONST_VTBL struct IComCatDrawRedVtbl __RPC_FAR *lpVtbl;
    };

    

#ifdef COBJMACROS


#define IComCatDrawRed_QueryInterface(This,riid,ppvObject)	\
    (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)

#define IComCatDrawRed_AddRef(This)	\
    (This)->lpVtbl -> AddRef(This)

#define IComCatDrawRed_Release(This)	\
    (This)->lpVtbl -> Release(This)


#define IComCatDrawRed_Draw(This,hDC)	\
    (This)->lpVtbl -> Draw(This,hDC)


#endif /* COBJMACROS */


#endif 	/* C style interface */




#endif 	/* __IComCatDrawRed_INTERFACE_DEFINED__ */



#ifndef __COMCATREDLib_LIBRARY_DEFINED__
#define __COMCATREDLib_LIBRARY_DEFINED__

/* library COMCATREDLib */
/* [helpstring][version][uuid] */ 


EXTERN_C const IID LIBID_COMCATREDLib;

EXTERN_C const CLSID CLSID_ComCatDrawRed;

#ifdef __cplusplus

class DECLSPEC_UUID("CDB9802F-5AEB-447F-ABC7-2242E6FEBD58")
ComCatDrawRed;
#endif
#endif /* __COMCATREDLib_LIBRARY_DEFINED__ */

/* Additional Prototypes for ALL interfaces */

/* end of Additional Prototypes */

#ifdef __cplusplus
}
#endif

#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?