⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 _ex29c_p.c

📁 不好意思
💻 C
📖 第 1 页 / 共 3 页
字号:

#pragma warning( disable: 4049 )  /* more than 64k source lines */

/* this ALWAYS GENERATED file contains the proxy stub code */


 /* File created by MIDL compiler version 6.00.0347 */
/* at Tue May 28 14:04:25 2002
 */
/* Compiler settings for _Ex29c.idl:
    Os, W1, Zp8, env=Win32 (32b run)
    protocol : dce , ms_ext, c_ext
    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(  )

#if !defined(_M_IA64) && !defined(_M_AMD64)

/* verify that the <rpcproxy.h> version is high enough to compile this file*/
#ifndef __REDQ_RPCPROXY_H_VERSION__
#define __REQUIRED_RPCPROXY_H_VERSION__ 440
#endif


#include "rpcproxy.h"
#ifndef __RPCPROXY_H_VERSION__
#error this stub requires an updated version of <rpcproxy.h>
#endif // __RPCPROXY_H_VERSION__


#include "_Ex29c.h"

#define TYPE_FORMAT_STRING_SIZE   1005                              
#define PROC_FORMAT_STRING_SIZE   11                                
#define TRANSMIT_AS_TABLE_SIZE    0            
#define WIRE_MARSHAL_TABLE_SIZE   1            

typedef struct _MIDL_TYPE_FORMAT_STRING
    {
    short          Pad;
    unsigned char  Format[ TYPE_FORMAT_STRING_SIZE ];
    } MIDL_TYPE_FORMAT_STRING;

typedef struct _MIDL_PROC_FORMAT_STRING
    {
    short          Pad;
    unsigned char  Format[ PROC_FORMAT_STRING_SIZE ];
    } MIDL_PROC_FORMAT_STRING;


static RPC_SYNTAX_IDENTIFIER  _RpcTransferSyntax = 
{{0x8A885D04,0x1CEB,0x11C9,{0x9F,0xE8,0x08,0x00,0x2B,0x10,0x48,0x60}},{2,0}};


extern const MIDL_TYPE_FORMAT_STRING __MIDL_TypeFormatString;
extern const MIDL_PROC_FORMAT_STRING __MIDL_ProcFormatString;


extern const MIDL_STUB_DESC Object_StubDesc;


extern const MIDL_SERVER_INFO ICDHTMLUI_ServerInfo;
extern const MIDL_STUBLESS_PROXY_INFO ICDHTMLUI_ProxyInfo;


/* [id] */ HRESULT STDMETHODCALLTYPE ICDHTMLUI_OnClick_Proxy( 
    ICDHTMLUI * This,
    /* [in] */ IDispatch *pdispBody,
    /* [in] */ VARIANT varColor)
{

    HRESULT _RetVal;
    
    RPC_MESSAGE _RpcMessage;
    
    MIDL_STUB_MESSAGE _StubMsg;
    
    RpcTryExcept
        {
        NdrProxyInitialize(
                      ( void *  )This,
                      ( PRPC_MESSAGE  )&_RpcMessage,
                      ( PMIDL_STUB_MESSAGE  )&_StubMsg,
                      ( PMIDL_STUB_DESC  )&Object_StubDesc,
                      7);
        
        
        
        RpcTryFinally
            {
            
            _StubMsg.BufferLength = 0;
            NdrInterfacePointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
                                           (unsigned char *)pdispBody,
                                           (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[2] );
            
            NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
                                      (unsigned char *)&varColor,
                                      (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[994] );
            
            NdrProxyGetBuffer(This, &_StubMsg);
            NdrInterfacePointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
                                         (unsigned char *)pdispBody,
                                         (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[2] );
            
            NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
                                    (unsigned char *)&varColor,
                                    (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[994] );
            
            NdrProxySendReceive(This, &_StubMsg);
            
            _StubMsg.BufferStart = (unsigned char *) _RpcMessage.Buffer; 
            _StubMsg.BufferEnd   = _StubMsg.BufferStart + _RpcMessage.BufferLength;
            
            if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
                NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[0] );
            
            _StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
            
            if(_StubMsg.Buffer + 4 > _StubMsg.BufferEnd)
                {
                RpcRaiseException(RPC_X_BAD_STUB_DATA);
                }
            _RetVal = *(( HRESULT * )_StubMsg.Buffer)++;
            
            }
        RpcFinally
            {
            NdrProxyFreeBuffer(This, &_StubMsg);
            
            }
        RpcEndFinally
        
        }
    RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
        {
        _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
        }
    RpcEndExcept
    return _RetVal;
}

void __RPC_STUB ICDHTMLUI_OnClick_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase)
{
    HRESULT _RetVal;
    MIDL_STUB_MESSAGE _StubMsg;
    void *_p_varColor;
    IDispatch *pdispBody;
    VARIANT varColor;
    
NdrStubInitialize(
                     _pRpcMessage,
                     &_StubMsg,
                     &Object_StubDesc,
                     _pRpcChannelBuffer);
    pdispBody = 0;
    _p_varColor = &varColor;
    MIDL_memset(
               _p_varColor,
               0,
               sizeof( VARIANT  ));
    RpcTryFinally
        {
        if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
            NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[0] );
        
        NdrInterfacePointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
                                       (unsigned char * *)&pdispBody,
                                       (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[2],
                                       (unsigned char)0 );
        
        NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
                                  (unsigned char * *)&_p_varColor,
                                  (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[994],
                                  (unsigned char)0 );
        
        
        *_pdwStubPhase = STUB_CALL_SERVER;
        _RetVal = (((ICDHTMLUI*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> OnClick(
           (ICDHTMLUI *) ((CStdStubBuffer *)This)->pvServerObject,
           pdispBody,
           varColor);
        
        *_pdwStubPhase = STUB_MARSHAL;
        
        _StubMsg.BufferLength = 8;
        NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
        _StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
        *(( HRESULT * )_StubMsg.Buffer)++ = _RetVal;
        
        }
    RpcFinally
        {
        NdrInterfacePointerFree( &_StubMsg,
                                 (unsigned char *)pdispBody,
                                 &__MIDL_TypeFormatString.Format[2] );
        
        NdrUserMarshalFree( &_StubMsg,
                            (unsigned char *)&varColor,
                            &__MIDL_TypeFormatString.Format[994] );
        
        }
    RpcEndFinally
    _pRpcMessage->BufferLength = 
        (unsigned int)(_StubMsg.Buffer - (unsigned char *)_pRpcMessage->Buffer);
    
}


extern const MIDL_STUB_DESC Object_StubDesc;


extern const MIDL_SERVER_INFO ICDHTML_ServerInfo;
extern const MIDL_STUBLESS_PROXY_INFO ICDHTML_ProxyInfo;


extern const USER_MARSHAL_ROUTINE_QUADRUPLE UserMarshalRoutines[ WIRE_MARSHAL_TABLE_SIZE ];

#if !defined(__RPC_WIN32__)
#error  Invalid build platform for this stub.
#endif

#if !(TARGET_IS_NT40_OR_LATER)
#error You need a Windows NT 4.0 or later to run this stub because it uses these features:
#error   [wire_marshal] or [user_marshal] attribute.
#error However, your C/C++ compilation flags indicate you intend to run this app on earlier systems.
#error This app will die there with the RPC_X_WRONG_STUB_VERSION error.
#endif


static const MIDL_PROC_FORMAT_STRING __MIDL_ProcFormatString =
    {
        0,
        {
			
			0x4d,		/* FC_IN_PARAM */
			0x1,		/* x86 stack size = 1 */
/*  2 */	NdrFcShort( 0x2 ),	/* Type Offset=2 */
/*  4 */	
			0x4d,		/* FC_IN_PARAM */
			0x4,		/* x86 stack size = 4 */
/*  6 */	NdrFcShort( 0x3e2 ),	/* Type Offset=994 */
/*  8 */	0x53,		/* FC_RETURN_PARAM_BASETYPE */
			0x8,		/* FC_LONG */

			0x0
        }
    };

static const MIDL_TYPE_FORMAT_STRING __MIDL_TypeFormatString =
    {
        0,
        {
			NdrFcShort( 0x0 ),	/* 0 */
/*  2 */	
			0x2f,		/* FC_IP */
			0x5a,		/* FC_CONSTANT_IID */
/*  4 */	NdrFcLong( 0x20400 ),	/* 132096 */
/*  8 */	NdrFcShort( 0x0 ),	/* 0 */
/* 10 */	NdrFcShort( 0x0 ),	/* 0 */
/* 12 */	0xc0,		/* 192 */
			0x0,		/* 0 */
/* 14 */	0x0,		/* 0 */
			0x0,		/* 0 */
/* 16 */	0x0,		/* 0 */
			0x0,		/* 0 */
/* 18 */	0x0,		/* 0 */
			0x46,		/* 70 */
/* 20 */	
			0x12, 0x0,	/* FC_UP */
/* 22 */	NdrFcShort( 0x3b8 ),	/* Offset= 952 (974) */
/* 24 */	
			0x2b,		/* FC_NON_ENCAPSULATED_UNION */
			0x9,		/* FC_ULONG */
/* 26 */	0x7,		/* Corr desc: FC_USHORT */
			0x0,		/*  */
/* 28 */	NdrFcShort( 0xfff8 ),	/* -8 */
/* 30 */	NdrFcShort( 0x2 ),	/* Offset= 2 (32) */
/* 32 */	NdrFcShort( 0x10 ),	/* 16 */
/* 34 */	NdrFcShort( 0x2f ),	/* 47 */
/* 36 */	NdrFcLong( 0x14 ),	/* 20 */
/* 40 */	NdrFcShort( 0x800b ),	/* Simple arm type: FC_HYPER */
/* 42 */	NdrFcLong( 0x3 ),	/* 3 */
/* 46 */	NdrFcShort( 0x8008 ),	/* Simple arm type: FC_LONG */
/* 48 */	NdrFcLong( 0x11 ),	/* 17 */
/* 52 */	NdrFcShort( 0x8001 ),	/* Simple arm type: FC_BYTE */
/* 54 */	NdrFcLong( 0x2 ),	/* 2 */
/* 58 */	NdrFcShort( 0x8006 ),	/* Simple arm type: FC_SHORT */
/* 60 */	NdrFcLong( 0x4 ),	/* 4 */
/* 64 */	NdrFcShort( 0x800a ),	/* Simple arm type: FC_FLOAT */
/* 66 */	NdrFcLong( 0x5 ),	/* 5 */
/* 70 */	NdrFcShort( 0x800c ),	/* Simple arm type: FC_DOUBLE */
/* 72 */	NdrFcLong( 0xb ),	/* 11 */
/* 76 */	NdrFcShort( 0x8006 ),	/* Simple arm type: FC_SHORT */
/* 78 */	NdrFcLong( 0xa ),	/* 10 */
/* 82 */	NdrFcShort( 0x8008 ),	/* Simple arm type: FC_LONG */
/* 84 */	NdrFcLong( 0x6 ),	/* 6 */
/* 88 */	NdrFcShort( 0xe8 ),	/* Offset= 232 (320) */
/* 90 */	NdrFcLong( 0x7 ),	/* 7 */
/* 94 */	NdrFcShort( 0x800c ),	/* Simple arm type: FC_DOUBLE */
/* 96 */	NdrFcLong( 0x8 ),	/* 8 */
/* 100 */	NdrFcShort( 0xe2 ),	/* Offset= 226 (326) */
/* 102 */	NdrFcLong( 0xd ),	/* 13 */
/* 106 */	NdrFcShort( 0xf4 ),	/* Offset= 244 (350) */
/* 108 */	NdrFcLong( 0x9 ),	/* 9 */
/* 112 */	NdrFcShort( 0xffffff92 ),	/* Offset= -110 (2) */
/* 114 */	NdrFcLong( 0x2000 ),	/* 8192 */
/* 118 */	NdrFcShort( 0xfa ),	/* Offset= 250 (368) */
/* 120 */	NdrFcLong( 0x24 ),	/* 36 */
/* 124 */	NdrFcShort( 0x308 ),	/* Offset= 776 (900) */
/* 126 */	NdrFcLong( 0x4024 ),	/* 16420 */
/* 130 */	NdrFcShort( 0x302 ),	/* Offset= 770 (900) */
/* 132 */	NdrFcLong( 0x4011 ),	/* 16401 */
/* 136 */	NdrFcShort( 0x300 ),	/* Offset= 768 (904) */
/* 138 */	NdrFcLong( 0x4002 ),	/* 16386 */
/* 142 */	NdrFcShort( 0x2fe ),	/* Offset= 766 (908) */
/* 144 */	NdrFcLong( 0x4003 ),	/* 16387 */
/* 148 */	NdrFcShort( 0x2fc ),	/* Offset= 764 (912) */
/* 150 */	NdrFcLong( 0x4014 ),	/* 16404 */
/* 154 */	NdrFcShort( 0x2fa ),	/* Offset= 762 (916) */
/* 156 */	NdrFcLong( 0x4004 ),	/* 16388 */
/* 160 */	NdrFcShort( 0x2f8 ),	/* Offset= 760 (920) */
/* 162 */	NdrFcLong( 0x4005 ),	/* 16389 */
/* 166 */	NdrFcShort( 0x2f6 ),	/* Offset= 758 (924) */
/* 168 */	NdrFcLong( 0x400b ),	/* 16395 */
/* 172 */	NdrFcShort( 0x2e0 ),	/* Offset= 736 (908) */
/* 174 */	NdrFcLong( 0x400a ),	/* 16394 */
/* 178 */	NdrFcShort( 0x2de ),	/* Offset= 734 (912) */
/* 180 */	NdrFcLong( 0x4006 ),	/* 16390 */
/* 184 */	NdrFcShort( 0x2e8 ),	/* Offset= 744 (928) */
/* 186 */	NdrFcLong( 0x4007 ),	/* 16391 */
/* 190 */	NdrFcShort( 0x2de ),	/* Offset= 734 (924) */
/* 192 */	NdrFcLong( 0x4008 ),	/* 16392 */
/* 196 */	NdrFcShort( 0x2e0 ),	/* Offset= 736 (932) */
/* 198 */	NdrFcLong( 0x400d ),	/* 16397 */
/* 202 */	NdrFcShort( 0x2de ),	/* Offset= 734 (936) */
/* 204 */	NdrFcLong( 0x4009 ),	/* 16393 */
/* 208 */	NdrFcShort( 0x2dc ),	/* Offset= 732 (940) */
/* 210 */	NdrFcLong( 0x6000 ),	/* 24576 */
/* 214 */	NdrFcShort( 0x2da ),	/* Offset= 730 (944) */
/* 216 */	NdrFcLong( 0x400c ),	/* 16396 */
/* 220 */	NdrFcShort( 0x2d8 ),	/* Offset= 728 (948) */
/* 222 */	NdrFcLong( 0x10 ),	/* 16 */
/* 226 */	NdrFcShort( 0x8002 ),	/* Simple arm type: FC_CHAR */
/* 228 */	NdrFcLong( 0x12 ),	/* 18 */
/* 232 */	NdrFcShort( 0x8006 ),	/* Simple arm type: FC_SHORT */
/* 234 */	NdrFcLong( 0x13 ),	/* 19 */
/* 238 */	NdrFcShort( 0x8008 ),	/* Simple arm type: FC_LONG */
/* 240 */	NdrFcLong( 0x15 ),	/* 21 */
/* 244 */	NdrFcShort( 0x800b ),	/* Simple arm type: FC_HYPER */
/* 246 */	NdrFcLong( 0x16 ),	/* 22 */
/* 250 */	NdrFcShort( 0x8008 ),	/* Simple arm type: FC_LONG */
/* 252 */	NdrFcLong( 0x17 ),	/* 23 */
/* 256 */	NdrFcShort( 0x8008 ),	/* Simple arm type: FC_LONG */
/* 258 */	NdrFcLong( 0xe ),	/* 14 */
/* 262 */	NdrFcShort( 0x2b6 ),	/* Offset= 694 (956) */
/* 264 */	NdrFcLong( 0x400e ),	/* 16398 */
/* 268 */	NdrFcShort( 0x2ba ),	/* Offset= 698 (966) */
/* 270 */	NdrFcLong( 0x4010 ),	/* 16400 */
/* 274 */	NdrFcShort( 0x2b8 ),	/* Offset= 696 (970) */
/* 276 */	NdrFcLong( 0x4012 ),	/* 16402 */
/* 280 */	NdrFcShort( 0x274 ),	/* Offset= 628 (908) */
/* 282 */	NdrFcLong( 0x4013 ),	/* 16403 */
/* 286 */	NdrFcShort( 0x272 ),	/* Offset= 626 (912) */
/* 288 */	NdrFcLong( 0x4015 ),	/* 16405 */
/* 292 */	NdrFcShort( 0x270 ),	/* Offset= 624 (916) */
/* 294 */	NdrFcLong( 0x4016 ),	/* 16406 */
/* 298 */	NdrFcShort( 0x266 ),	/* Offset= 614 (912) */
/* 300 */	NdrFcLong( 0x4017 ),	/* 16407 */
/* 304 */	NdrFcShort( 0x260 ),	/* Offset= 608 (912) */
/* 306 */	NdrFcLong( 0x0 ),	/* 0 */
/* 310 */	NdrFcShort( 0x0 ),	/* Offset= 0 (310) */
/* 312 */	NdrFcLong( 0x1 ),	/* 1 */
/* 316 */	NdrFcShort( 0x0 ),	/* Offset= 0 (316) */
/* 318 */	NdrFcShort( 0xffffffff ),	/* Offset= -1 (317) */
/* 320 */	
			0x15,		/* FC_STRUCT */
			0x7,		/* 7 */
/* 322 */	NdrFcShort( 0x8 ),	/* 8 */
/* 324 */	0xb,		/* FC_HYPER */
			0x5b,		/* FC_END */
/* 326 */	
			0x12, 0x0,	/* FC_UP */
/* 328 */	NdrFcShort( 0xc ),	/* Offset= 12 (340) */
/* 330 */	
			0x1b,		/* FC_CARRAY */
			0x1,		/* 1 */
/* 332 */	NdrFcShort( 0x2 ),	/* 2 */

⌨️ 快捷键说明

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