📄 atlcontrol_p.c
字号:
RpcEndFinally
}
RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
{
NdrClearOutParameters(
( PMIDL_STUB_MESSAGE )&_StubMsg,
( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[864],
( void __RPC_FAR * )pVal);
_RetVal = NdrProxyErrorHandler(RpcExceptionCode());
}
RpcEndExcept
return _RetVal;
}
void __RPC_STUB IATLControlWin_get_CaptionProp_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase)
{
BSTR _M4;
HRESULT _RetVal;
MIDL_STUB_MESSAGE _StubMsg;
void __RPC_FAR *_p_varAlignment;
BSTR __RPC_FAR *pVal;
VARIANT varAlignment;
NdrStubInitialize(
_pRpcMessage,
&_StubMsg,
&Object_StubDesc,
_pRpcChannelBuffer);
_p_varAlignment = &varAlignment;
MIDL_memset(
_p_varAlignment,
0,
sizeof( VARIANT ));
pVal = 0;
RpcTryFinally
{
if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[36] );
NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
(unsigned char __RPC_FAR * __RPC_FAR *)&_p_varAlignment,
(PFORMAT_STRING) &__MIDL_TypeFormatString.Format[854],
(unsigned char)0 );
pVal = &_M4;
MIDL_memset(
pVal,
0,
sizeof( BSTR ));
*_pdwStubPhase = STUB_CALL_SERVER;
_RetVal = (((IATLControlWin *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> get_CaptionProp(
(IATLControlWin *) ((CStdStubBuffer *)This)->pvServerObject,
varAlignment,
pVal);
*_pdwStubPhase = STUB_MARSHAL;
_StubMsg.BufferLength = 4U + 11U;
NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
(unsigned char __RPC_FAR *)pVal,
(PFORMAT_STRING) &__MIDL_TypeFormatString.Format[868] );
_StubMsg.BufferLength += 16;
NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
(unsigned char __RPC_FAR *)pVal,
(PFORMAT_STRING) &__MIDL_TypeFormatString.Format[868] );
_StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
*(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
}
RpcFinally
{
NdrUserMarshalFree( &_StubMsg,
(unsigned char __RPC_FAR *)&varAlignment,
&__MIDL_TypeFormatString.Format[854] );
NdrPointerFree( &_StubMsg,
(unsigned char __RPC_FAR *)pVal,
&__MIDL_TypeFormatString.Format[864] );
}
RpcEndFinally
_pRpcMessage->BufferLength =
(unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
}
/* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE IATLControlWin_put_CaptionProp_Proxy(
IATLControlWin __RPC_FAR * This,
/* [optional][in] */ VARIANT varAlignment,
/* [in] */ BSTR newVal)
{
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,
14);
RpcTryFinally
{
_StubMsg.BufferLength = 4U + 11U;
NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
(unsigned char __RPC_FAR *)&varAlignment,
(PFORMAT_STRING) &__MIDL_TypeFormatString.Format[878] );
NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
(unsigned char __RPC_FAR *)&newVal,
(PFORMAT_STRING) &__MIDL_TypeFormatString.Format[888] );
NdrProxyGetBuffer(This, &_StubMsg);
NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
(unsigned char __RPC_FAR *)&varAlignment,
(PFORMAT_STRING) &__MIDL_TypeFormatString.Format[878] );
NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
(unsigned char __RPC_FAR *)&newVal,
(PFORMAT_STRING) &__MIDL_TypeFormatString.Format[888] );
NdrProxySendReceive(This, &_StubMsg);
if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[46] );
_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 IATLControlWin_put_CaptionProp_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase)
{
HRESULT _RetVal;
MIDL_STUB_MESSAGE _StubMsg;
void __RPC_FAR *_p_newVal;
void __RPC_FAR *_p_varAlignment;
BSTR newVal;
VARIANT varAlignment;
NdrStubInitialize(
_pRpcMessage,
&_StubMsg,
&Object_StubDesc,
_pRpcChannelBuffer);
_p_varAlignment = &varAlignment;
MIDL_memset(
_p_varAlignment,
0,
sizeof( VARIANT ));
_p_newVal = &newVal;
MIDL_memset(
_p_newVal,
0,
sizeof( BSTR ));
RpcTryFinally
{
if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[46] );
NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
(unsigned char __RPC_FAR * __RPC_FAR *)&_p_varAlignment,
(PFORMAT_STRING) &__MIDL_TypeFormatString.Format[878],
(unsigned char)0 );
NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
(unsigned char __RPC_FAR * __RPC_FAR *)&_p_newVal,
(PFORMAT_STRING) &__MIDL_TypeFormatString.Format[888],
(unsigned char)0 );
*_pdwStubPhase = STUB_CALL_SERVER;
_RetVal = (((IATLControlWin *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> put_CaptionProp(
(IATLControlWin *) ((CStdStubBuffer *)This)->pvServerObject,
varAlignment,
newVal);
*_pdwStubPhase = STUB_MARSHAL;
_StubMsg.BufferLength = 4U;
NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
*(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
}
RpcFinally
{
NdrUserMarshalFree( &_StubMsg,
(unsigned char __RPC_FAR *)&varAlignment,
&__MIDL_TypeFormatString.Format[878] );
NdrUserMarshalFree( &_StubMsg,
(unsigned char __RPC_FAR *)&newVal,
&__MIDL_TypeFormatString.Format[888] );
}
RpcEndFinally
_pRpcMessage->BufferLength =
(unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
}
/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IATLControlWin_get_Alignment_Proxy(
IATLControlWin __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *pVal)
{
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,
15);
RpcTryFinally
{
_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[26] );
*pVal = *(( long __RPC_FAR * )_StubMsg.Buffer)++;
_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[822],
( void __RPC_FAR * )pVal);
_RetVal = NdrProxyErrorHandler(RpcExceptionCode());
}
RpcEndExcept
return _RetVal;
}
void __RPC_STUB IATLControlWin_get_Alignment_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase)
{
long _M5;
HRESULT _RetVal;
MIDL_STUB_MESSAGE _StubMsg;
long __RPC_FAR *pVal;
NdrStubInitialize(
_pRpcMessage,
&_StubMsg,
&Object_StubDesc,
_pRpcChannelBuffer);
pVal = 0;
RpcTryFinally
{
pVal = &_M5;
*_pdwStubPhase = STUB_CALL_SERVER;
_RetVal = (((IATLControlWin *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> get_Alignment((IATLControlWin *) ((CStdStubBuffer *)This)->pvServerObject,pVal);
*_pdwStubPhase = STUB_MARSHAL;
_StubMsg.BufferLength = 4U + 4U;
NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
*(( long __RPC_FAR * )_StubMsg.Buffer)++ = *pVal;
*(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
}
RpcFinally
{
}
RpcEndFinally
_pRpcMessage->BufferLength =
(unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
}
/* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE IATLControlWin_put_Alignment_Proxy(
IATLControlWin __RPC_FAR * This,
/* [in] */ long newVal)
{
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,
16);
RpcTryFinally
{
_StubMsg.BufferLength = 4U;
NdrProxyGetBuffer(This, &_StubMsg);
*(( long __RPC_FAR * )_StubMsg.Buffer)++ = newVal;
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 IATLControlWin_put_Alignment_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase)
{
HRESULT _RetVal;
MIDL_STUB_MESSAGE _StubMsg;
long newVal;
NdrStubInitialize(
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -