📄 myrandplottest_idl_p.c
字号:
_StubMsg.BufferLength = 0U;
NdrProxyGetBuffer(This, &_StubMsg);
NdrProxySendReceive(This, &_StubMsg);
if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[38] );
NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
(unsigned char __RPC_FAR * __RPC_FAR *)&randplotcolor,
(PFORMAT_STRING) &__MIDL_TypeFormatString.Format[986],
(unsigned char)0 );
_StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
_RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
}
RpcFinally
{
NdrProxyFreeBuffer(This, &_StubMsg);
}
RpcEndFinally
}
RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
{
NdrClearOutParameters(
( PMIDL_STUB_MESSAGE )&_StubMsg,
( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[1010],
( void __RPC_FAR * )randplotcolor);
_RetVal = NdrProxyErrorHandler(RpcExceptionCode());
}
RpcEndExcept
return _RetVal;
}
void __RPC_STUB Imyrandplottest_get_randplotcolor_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase)
{
VARIANT _M1;
HRESULT _RetVal;
MIDL_STUB_MESSAGE _StubMsg;
VARIANT __RPC_FAR *randplotcolor;
NdrStubInitialize(
_pRpcMessage,
&_StubMsg,
&Object_StubDesc,
_pRpcChannelBuffer);
( VARIANT __RPC_FAR * )randplotcolor = 0;
RpcTryFinally
{
randplotcolor = &_M1;
MIDL_memset(
randplotcolor,
0,
sizeof( VARIANT ));
*_pdwStubPhase = STUB_CALL_SERVER;
_RetVal = (((Imyrandplottest*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> get_randplotcolor((Imyrandplottest *) ((CStdStubBuffer *)This)->pvServerObject,randplotcolor);
*_pdwStubPhase = STUB_MARSHAL;
_StubMsg.BufferLength = 8U + 11U;
NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
(unsigned char __RPC_FAR *)randplotcolor,
(PFORMAT_STRING) &__MIDL_TypeFormatString.Format[986] );
_StubMsg.BufferLength += 16;
NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
(unsigned char __RPC_FAR *)randplotcolor,
(PFORMAT_STRING) &__MIDL_TypeFormatString.Format[986] );
_StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
*(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
}
RpcFinally
{
NdrPointerFree( &_StubMsg,
(unsigned char __RPC_FAR *)randplotcolor,
&__MIDL_TypeFormatString.Format[1010] );
}
RpcEndFinally
_pRpcMessage->BufferLength =
(unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
}
/* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE Imyrandplottest_put_randplotcolor_Proxy(
Imyrandplottest __RPC_FAR * This,
/* [in] */ VARIANT randplotcolor)
{
HRESULT _RetVal;
RPC_MESSAGE _RpcMessage;
MIDL_STUB_MESSAGE _StubMsg;
RpcTryExcept
{
NdrProxyInitialize(
( void __RPC_FAR * )This,
( PRPC_MESSAGE )&_RpcMessage,
( PMIDL_STUB_MESSAGE )&_StubMsg,
( PMIDL_STUB_DESC )&Object_StubDesc,
13);
RpcTryFinally
{
_StubMsg.BufferLength = 8U;
NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
(unsigned char __RPC_FAR *)&randplotcolor,
(PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1000] );
NdrProxyGetBuffer(This, &_StubMsg);
NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
(unsigned char __RPC_FAR *)&randplotcolor,
(PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1000] );
NdrProxySendReceive(This, &_StubMsg);
if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[32] );
_RetVal = *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++;
}
RpcFinally
{
NdrProxyFreeBuffer(This, &_StubMsg);
}
RpcEndFinally
}
RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
{
_RetVal = NdrProxyErrorHandler(RpcExceptionCode());
}
RpcEndExcept
return _RetVal;
}
void __RPC_STUB Imyrandplottest_put_randplotcolor_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase)
{
HRESULT _RetVal;
MIDL_STUB_MESSAGE _StubMsg;
void __RPC_FAR *_p_randplotcolor;
VARIANT randplotcolor;
NdrStubInitialize(
_pRpcMessage,
&_StubMsg,
&Object_StubDesc,
_pRpcChannelBuffer);
_p_randplotcolor = &randplotcolor;
MIDL_memset(
_p_randplotcolor,
0,
sizeof( VARIANT ));
RpcTryFinally
{
if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[32] );
NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
(unsigned char __RPC_FAR * __RPC_FAR *)&_p_randplotcolor,
(PFORMAT_STRING) &__MIDL_TypeFormatString.Format[1000],
(unsigned char)0 );
*_pdwStubPhase = STUB_CALL_SERVER;
_RetVal = (((Imyrandplottest*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> put_randplotcolor((Imyrandplottest *) ((CStdStubBuffer *)This)->pvServerObject,randplotcolor);
*_pdwStubPhase = STUB_MARSHAL;
_StubMsg.BufferLength = 4U;
NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
*(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
}
RpcFinally
{
NdrUserMarshalFree( &_StubMsg,
(unsigned char __RPC_FAR *)&randplotcolor,
&__MIDL_TypeFormatString.Format[1000] );
}
RpcEndFinally
_pRpcMessage->BufferLength =
(unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
}
extern const USER_MARSHAL_ROUTINE_QUADRUPLE UserMarshalRoutines[1];
static const MIDL_STUB_DESC Object_StubDesc =
{
0,
NdrOleAllocate,
NdrOleFree,
0,
0,
0,
0,
0,
__MIDL_TypeFormatString.Format,
1, /* -error bounds_check flag */
0x20000, /* Ndr library version */
0,
0x50100a4, /* MIDL Version 5.1.164 */
0,
UserMarshalRoutines,
0, /* notify & notify_flag routine table */
1, /* Flags */
0, /* Reserved3 */
0, /* Reserved4 */
0 /* Reserved5 */
};
CINTERFACE_PROXY_VTABLE(14) _ImyrandplottestProxyVtbl =
{
&IID_Imyrandplottest,
IUnknown_QueryInterface_Proxy,
IUnknown_AddRef_Proxy,
IUnknown_Release_Proxy ,
0 /* IDispatch_GetTypeInfoCount_Proxy */ ,
0 /* IDispatch_GetTypeInfo_Proxy */ ,
0 /* IDispatch_GetIDsOfNames_Proxy */ ,
0 /* IDispatch_Invoke_Proxy */ ,
Imyrandplottest_get_MWFlags_Proxy ,
Imyrandplottest_put_MWFlags_Proxy ,
Imyrandplottest_getplotcolor_Proxy ,
Imyrandplottest_myrandplot_Proxy ,
Imyrandplottest_setplotcolor_Proxy ,
Imyrandplottest_get_randplotcolor_Proxy ,
Imyrandplottest_put_randplotcolor_Proxy
};
static const PRPC_STUB_FUNCTION Imyrandplottest_table[] =
{
STUB_FORWARDING_FUNCTION,
STUB_FORWARDING_FUNCTION,
STUB_FORWARDING_FUNCTION,
STUB_FORWARDING_FUNCTION,
Imyrandplottest_get_MWFlags_Stub,
Imyrandplottest_put_MWFlags_Stub,
Imyrandplottest_getplotcolor_Stub,
Imyrandplottest_myrandplot_Stub,
Imyrandplottest_setplotcolor_Stub,
Imyrandplottest_get_randplotcolor_Stub,
Imyrandplottest_put_randplotcolor_Stub
};
CInterfaceStubVtbl _ImyrandplottestStubVtbl =
{
&IID_Imyrandplottest,
0,
14,
&Imyrandplottest_table[-3],
CStdStubBuffer_DELEGATING_METHODS
};
#pragma data_seg(".rdata")
static const USER_MARSHAL_ROUTINE_QUADRUPLE UserMarshalRoutines[1] =
{
{
VARIANT_UserSize
,VARIANT_UserMarshal
,VARIANT_UserUnmarshal
,VARIANT_UserFree
}
};
#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,
{
0x51, /* FC_OUT_PARAM */
#ifndef _ALPHA_
0x1, /* x86, MIPS & PPC Stack size = 1 */
#else
0x2, /* Alpha Stack size = 2 */
#endif
/* 2 */ NdrFcShort( 0x2 ), /* Type Offset=2 */
/* 4 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
0x8, /* FC_LONG */
/* 6 */
0x4d, /* FC_IN_PARAM */
#ifndef _ALPHA_
0x1, /* x86, MIPS & PPC Stack size = 1 */
#else
0x2, /* Alpha Stack size = 2 */
#endif
/* 8 */ NdrFcShort( 0x6 ), /* Type Offset=6 */
/* 10 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
0x8, /* FC_LONG */
/* 12 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
0x8, /* FC_LONG */
/* 14 */
0x50, /* FC_IN_OUT_PARAM */
#ifndef _ALPHA_
0x1, /* x86, MIPS & PPC Stack size = 1 */
#else
0x2, /* Alpha Stack size = 2 */
#endif
/* 16 */ NdrFcShort( 0x18 ), /* Type Offset=24 */
/* 18 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
0x8, /* FC_LONG */
/* 20 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
0x8, /* FC_LONG */
/* 22 */
0x50, /* FC_IN_OUT_PARAM */
#ifndef _ALPHA_
0x1, /* x86, MIPS & PPC Stack size = 1 */
#else
0x2, /* Alpha Stack size = 2 */
#endif
/* 24 */ NdrFcShort( 0x18 ), /* Type Offset=24 */
/* 26 */
0x4d, /* FC_IN_PARAM */
#ifndef _ALPHA_
0x4, /* x86, MIPS & PPC Stack size = 4 */
#else
0x4, /* Alpha Stack size = 4 */
#endif
/* 28 */ NdrFcShort( 0x3e8 ), /* Type Offset=1000 */
/* 30 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
0x8, /* FC_LONG */
/* 32 */
0x4d, /* FC_IN_PARAM */
#ifndef _ALPHA_
0x4, /* x86, MIPS & PPC Stack size = 4 */
#else
0x4, /* Alpha Stack size = 4 */
#endif
/* 34 */ NdrFcShort( 0x3e8 ), /* Type Offset=1000 */
/* 36 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
0x8, /* FC_LONG */
/* 38 */
0x51, /* FC_OUT_PARAM */
#ifndef _ALPHA_
0x1, /* x86, MIPS & PPC Stack size = 1 */
#else
0x2, /* Alpha Stack size = 2 */
#endif
/* 40 */ NdrFcShort( 0x3f2 ), /* Type Offset=1010 */
/* 42 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
0x8, /* FC_LONG */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -