📄 imsconf2_p.c
字号:
_p_bstrAddr = &bstrAddr;
MIDL_memset(
_p_bstrAddr,
0,
sizeof( BSTR ));
_p_bstrName = &bstrName;
MIDL_memset(
_p_bstrName,
0,
sizeof( BSTR ));
_p_bstrPassword = &bstrPassword;
MIDL_memset(
_p_bstrPassword,
0,
sizeof( BSTR ));
RpcTryFinally
{
if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[62] );
NdrSimpleTypeUnmarshall(
( PMIDL_STUB_MESSAGE )&_StubMsg,
( unsigned char __RPC_FAR * )&callType,
13);
NdrSimpleTypeUnmarshall(
( PMIDL_STUB_MESSAGE )&_StubMsg,
( unsigned char __RPC_FAR * )&addrType,
13);
NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
(unsigned char __RPC_FAR * __RPC_FAR *)&_p_bstrAddr,
(PFORMAT_STRING) &__MIDL_TypeFormatString.Format[96],
(unsigned char)0 );
NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
(unsigned char __RPC_FAR * __RPC_FAR *)&_p_bstrName,
(PFORMAT_STRING) &__MIDL_TypeFormatString.Format[96],
(unsigned char)0 );
NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
(unsigned char __RPC_FAR * __RPC_FAR *)&_p_bstrPassword,
(PFORMAT_STRING) &__MIDL_TypeFormatString.Format[96],
(unsigned char)0 );
ppCall = &_M5;
_M5 = 0;
*_pdwStubPhase = STUB_CALL_SERVER;
_RetVal = INmManager_CallConference_Stub(
(INmManager *) ((CStdStubBuffer *)This)->pvServerObject,
ppCall,
callType,
addrType,
bstrAddr,
bstrName,
bstrPassword);
*_pdwStubPhase = STUB_MARSHAL;
_StubMsg.BufferLength = 0U + 4U;
NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
(unsigned char __RPC_FAR *)ppCall,
(PFORMAT_STRING) &__MIDL_TypeFormatString.Format[128] );
_StubMsg.BufferLength += 16;
NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
(unsigned char __RPC_FAR *)ppCall,
(PFORMAT_STRING) &__MIDL_TypeFormatString.Format[128] );
_StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
*(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
}
RpcFinally
{
NdrPointerFree( &_StubMsg,
(unsigned char __RPC_FAR *)ppCall,
&__MIDL_TypeFormatString.Format[128] );
NdrUserMarshalFree( &_StubMsg,
(unsigned char __RPC_FAR *)&bstrAddr,
&__MIDL_TypeFormatString.Format[96] );
NdrUserMarshalFree( &_StubMsg,
(unsigned char __RPC_FAR *)&bstrName,
&__MIDL_TypeFormatString.Format[96] );
NdrUserMarshalFree( &_StubMsg,
(unsigned char __RPC_FAR *)&bstrPassword,
&__MIDL_TypeFormatString.Format[96] );
}
RpcEndFinally
_pRpcMessage->BufferLength =
(unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
}
const CINTERFACE_PROXY_VTABLE(10) _INmManagerProxyVtbl =
{
&IID_INmManager,
IUnknown_QueryInterface_Proxy,
IUnknown_AddRef_Proxy,
IUnknown_Release_Proxy ,
INmManager_Initialize_Proxy ,
INmManager_GetSysInfo_Proxy ,
INmManager_EnumConference_Proxy ,
INmManager_CreateConference_Proxy ,
INmManager_EnumCall_Proxy ,
INmManager_CreateCall_Proxy ,
INmManager_CallConference_Proxy
};
static const PRPC_STUB_FUNCTION INmManager_table[] =
{
INmManager_RemoteInitialize_Stub,
INmManager_GetSysInfo_Stub,
INmManager_EnumConference_Stub,
INmManager_RemoteCreateConference_Stub,
INmManager_EnumCall_Stub,
INmManager_RemoteCreateCall_Stub,
INmManager_RemoteCallConference_Stub
};
const CInterfaceStubVtbl _INmManagerStubVtbl =
{
&IID_INmManager,
0,
10,
&INmManager_table[-3],
CStdStubBuffer_METHODS
};
/* Object interface: INmManagerNotify, ver. 0.0,
GUID={0x068B0702,0x718C,0x11d0,{0x8B,0x1A,0x00,0xA0,0xC9,0x1B,0xC9,0x0E}} */
extern const MIDL_STUB_DESC Object_StubDesc;
#pragma code_seg(".orpc")
HRESULT STDMETHODCALLTYPE INmManagerNotify_NmUI_Proxy(
INmManagerNotify __RPC_FAR * This,
/* [in] */ CONFN uNotify)
{
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,
3);
RpcTryFinally
{
_StubMsg.BufferLength = 2U;
NdrProxyGetBuffer(This, &_StubMsg);
NdrSimpleTypeMarshall(
( PMIDL_STUB_MESSAGE )&_StubMsg,
( unsigned char __RPC_FAR * )&uNotify,
13);
NdrProxySendReceive(This, &_StubMsg);
if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[84] );
_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 INmManagerNotify_NmUI_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase)
{
HRESULT _RetVal;
MIDL_STUB_MESSAGE _StubMsg;
CONFN uNotify;
NdrStubInitialize(
_pRpcMessage,
&_StubMsg,
&Object_StubDesc,
_pRpcChannelBuffer);
RpcTryFinally
{
if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[84] );
NdrSimpleTypeUnmarshall(
( PMIDL_STUB_MESSAGE )&_StubMsg,
( unsigned char __RPC_FAR * )&uNotify,
13);
*_pdwStubPhase = STUB_CALL_SERVER;
_RetVal = (((INmManagerNotify*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> NmUI((INmManagerNotify *) ((CStdStubBuffer *)This)->pvServerObject,uNotify);
*_pdwStubPhase = STUB_MARSHAL;
_StubMsg.BufferLength = 4U;
NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
*(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
}
RpcFinally
{
}
RpcEndFinally
_pRpcMessage->BufferLength =
(unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
}
HRESULT STDMETHODCALLTYPE INmManagerNotify_ConferenceCreated_Proxy(
INmManagerNotify __RPC_FAR * This,
/* [in] */ INmConference __RPC_FAR *pConference)
{
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,
4);
RpcTryFinally
{
_StubMsg.BufferLength = 0U;
NdrInterfacePointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
(unsigned char __RPC_FAR *)pConference,
(PFORMAT_STRING) &__MIDL_TypeFormatString.Format[54] );
NdrProxyGetBuffer(This, &_StubMsg);
NdrInterfacePointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
(unsigned char __RPC_FAR *)pConference,
(PFORMAT_STRING) &__MIDL_TypeFormatString.Format[54] );
NdrProxySendReceive(This, &_StubMsg);
if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[88] );
_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 INmManagerNotify_ConferenceCreated_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase)
{
HRESULT _RetVal;
MIDL_STUB_MESSAGE _StubMsg;
INmConference __RPC_FAR *pConference;
NdrStubInitialize(
_pRpcMessage,
&_StubMsg,
&Object_StubDesc,
_pRpcChannelBuffer);
pConference = 0;
RpcTryFinally
{
if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[88] );
NdrInterfacePointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
(unsigned char __RPC_FAR * __RPC_FAR *)&pConference,
(PFORMAT_STRING) &__MIDL_TypeFormatString.Format[54],
(unsigned char)0 );
*_pdwStubPhase = STUB_CALL_SERVER;
_RetVal = (((INmManagerNotify*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> ConferenceCreated((INmManagerNotify *) ((CStdStubBuffer *)This)->pvServerObject,pConference);
*_pdwStubPhase = STUB_MARSHAL;
_StubMsg.BufferLength = 4U;
NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
*(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
}
RpcFinally
{
NdrInterfacePointerFree( &_StubMsg,
(unsigned char __RPC_FAR *)pConference,
&__MIDL_TypeFormatString.Format[54] );
}
RpcEndFinally
_pRpcMessage->BufferLength =
(unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
}
HRESULT STDMETHODCALLTYPE INmManagerNotify_CallCreated_Proxy(
INmManagerNotify __RPC_FAR * This,
/* [in] */ INmCall __RPC_FAR *pCall)
{
HRESULT _RetVal;
RPC_MESSAGE _RpcMessage;
MIDL_STUB_MESSAGE _StubMsg;
RpcTryExcept
{
NdrProxyInitialize(
( void __RPC_FAR * )This,
( PRPC_MESSAGE )&_RpcMessage,
( PMIDL_STUB_MESSAGE )&_StubMsg,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -