home *** CD-ROM | disk | FTP | other *** search
- /* this ALWAYS GENERATED file contains the proxy stub code */
-
-
- /* File created by MIDL compiler version 3.01.76 */
- /* at Wed Sep 24 14:39:38 1997
- */
- /* Compiler settings for .\stlcoll.idl:
- Os (OptLev=s), W1, Zp8, env=Win32, ms_ext, c_ext
- error checks: none
- */
- //@@MIDL_FILE_HEADING( )
-
- #include "rpcproxy.h"
- #include "stlcoll.h"
-
- #define TYPE_FORMAT_STRING_SIZE 331
- #define PROC_FORMAT_STRING_SIZE 303
-
- 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;
-
- #pragma warning (disable:4700)
-
- extern const MIDL_TYPE_FORMAT_STRING __MIDL_TypeFormatString;
- extern const MIDL_PROC_FORMAT_STRING __MIDL_ProcFormatString;
-
-
- /* Object interface: IUnknown, ver. 0.0,
- GUID={0x00000000,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
-
-
- /* Object interface: IStlMaps, ver. 0.0,
- GUID={0x7CE086C9,0x3E78,0x11D0,{0xAE,0x6B,0x00,0xC0,0x4F,0xD7,0xD0,0x6E}} */
-
-
- extern const MIDL_STUB_DESC Object_StubDesc;
-
-
- #pragma code_seg(".orpc")
- const CINTERFACE_PROXY_VTABLE(3) _IStlMapsProxyVtbl =
- {
- &IID_IStlMaps,
- IUnknown_QueryInterface_Proxy,
- IUnknown_AddRef_Proxy,
- IUnknown_Release_Proxy
- };
-
-
- static const PRPC_STUB_FUNCTION IStlMaps_table[] =
- {
- 0 /* a dummy for an empty interface */
- };
-
- const CInterfaceStubVtbl _IStlMapsStubVtbl =
- {
- &IID_IStlMaps,
- 0,
- 3,
- &IStlMaps_table[-3],
- CStdStubBuffer_METHODS
- };
-
-
- /* Object interface: IStlMapStringToMyObject, ver. 0.0,
- GUID={0x7CE086CE,0x3E78,0x11D0,{0xAE,0x6B,0x00,0xC0,0x4F,0xD7,0xD0,0x6E}} */
-
-
- extern const MIDL_STUB_DESC Object_StubDesc;
-
-
- #pragma code_seg(".orpc")
-
- /* [propget][id] */ HRESULT STDMETHODCALLTYPE IStlMapStringToMyObject_get_Map_Proxy(
- IStlMapStringToMyObject __RPC_FAR * This,
- /* [in] */ BSTR str,
- /* [retval][out] */ IMyStruct __RPC_FAR *__RPC_FAR *obj)
- {
-
- HRESULT _RetVal;
-
- RPC_MESSAGE _RpcMessage;
-
- MIDL_STUB_MESSAGE _StubMsg;
-
- *obj = 0;
- RpcTryExcept
- {
- NdrProxyInitialize(
- ( void __RPC_FAR * )This,
- ( PRPC_MESSAGE )&_RpcMessage,
- ( PMIDL_STUB_MESSAGE )&_StubMsg,
- ( PMIDL_STUB_DESC )&Object_StubDesc,
- 3);
-
-
-
- RpcTryFinally
- {
-
- _StubMsg.BufferLength = 4U;
- NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR *)&str,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[24] );
-
- NdrProxyGetBuffer(This, &_StubMsg);
- NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
- (unsigned char __RPC_FAR *)&str,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[24] );
-
- NdrProxySendReceive(This, &_StubMsg);
-
- if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
- NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[0] );
-
- NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR * __RPC_FAR *)&obj,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[34],
- (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[34],
- ( void __RPC_FAR * )obj);
- _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
- }
- RpcEndExcept
- return _RetVal;
- }
-
- void __RPC_STUB IStlMapStringToMyObject_get_Map_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase)
- {
- IMyStruct __RPC_FAR *_M0;
- HRESULT _RetVal;
- MIDL_STUB_MESSAGE _StubMsg;
- void __RPC_FAR *_p_str;
- IMyStruct __RPC_FAR *__RPC_FAR *obj;
- BSTR str;
-
- NdrStubInitialize(
- _pRpcMessage,
- &_StubMsg,
- &Object_StubDesc,
- _pRpcChannelBuffer);
- _p_str = &str;
- MIDL_memset(
- _p_str,
- 0,
- sizeof( BSTR ));
- obj = 0;
- RpcTryFinally
- {
- if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
- NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[0] );
-
- NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR * __RPC_FAR *)&_p_str,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[24],
- (unsigned char)0 );
-
- obj = &_M0;
- _M0 = 0;
-
- *_pdwStubPhase = STUB_CALL_SERVER;
- _RetVal = (((IStlMapStringToMyObject *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> get_Map(
- (IStlMapStringToMyObject *) ((CStdStubBuffer *)This)->pvServerObject,
- str,
- obj);
-
- *_pdwStubPhase = STUB_MARSHAL;
-
- _StubMsg.BufferLength = 4U + 11U;
- NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR *)obj,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[34] );
-
- _StubMsg.BufferLength += 16;
-
- NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
- NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
- (unsigned char __RPC_FAR *)obj,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[34] );
-
- _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
- *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
-
- }
- RpcFinally
- {
- NdrUserMarshalFree( &_StubMsg,
- (unsigned char __RPC_FAR *)&str,
- &__MIDL_TypeFormatString.Format[24] );
-
- NdrPointerFree( &_StubMsg,
- (unsigned char __RPC_FAR *)obj,
- &__MIDL_TypeFormatString.Format[34] );
-
- }
- RpcEndFinally
- _pRpcMessage->BufferLength =
- (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
-
- }
-
-
- /* [propput][id] */ HRESULT STDMETHODCALLTYPE IStlMapStringToMyObject_put_Map_Proxy(
- IStlMapStringToMyObject __RPC_FAR * This,
- /* [in] */ BSTR str,
- /* [in] */ IMyStruct __RPC_FAR *obj)
- {
-
- 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 = 4U + 0U;
- NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR *)&str,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[72] );
-
- NdrComplexStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR *)obj,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[56] );
-
- NdrProxyGetBuffer(This, &_StubMsg);
- NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
- (unsigned char __RPC_FAR *)&str,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[72] );
-
- NdrComplexStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
- (unsigned char __RPC_FAR *)obj,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[56] );
-
- NdrProxySendReceive(This, &_StubMsg);
-
- if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
- NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[10] );
-
- _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 IStlMapStringToMyObject_put_Map_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase)
- {
- HRESULT _RetVal;
- MIDL_STUB_MESSAGE _StubMsg;
- void __RPC_FAR *_p_str;
- IMyStruct __RPC_FAR *obj;
- BSTR str;
-
- NdrStubInitialize(
- _pRpcMessage,
- &_StubMsg,
- &Object_StubDesc,
- _pRpcChannelBuffer);
- _p_str = &str;
- MIDL_memset(
- _p_str,
- 0,
- sizeof( BSTR ));
- obj = 0;
- RpcTryFinally
- {
- if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
- NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[10] );
-
- NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR * __RPC_FAR *)&_p_str,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[72],
- (unsigned char)0 );
-
- NdrComplexStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR * __RPC_FAR *)&obj,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[56],
- (unsigned char)0 );
-
-
- *_pdwStubPhase = STUB_CALL_SERVER;
- _RetVal = (((IStlMapStringToMyObject *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> put_Map(
- (IStlMapStringToMyObject *) ((CStdStubBuffer *)This)->pvServerObject,
- str,
- obj);
-
- *_pdwStubPhase = STUB_MARSHAL;
-
- _StubMsg.BufferLength = 4U;
- NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
- *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
-
- }
- RpcFinally
- {
- NdrUserMarshalFree( &_StubMsg,
- (unsigned char __RPC_FAR *)&str,
- &__MIDL_TypeFormatString.Format[72] );
-
- NdrPointerFree( &_StubMsg,
- (unsigned char __RPC_FAR *)obj,
- &__MIDL_TypeFormatString.Format[82] );
-
- }
- RpcEndFinally
- _pRpcMessage->BufferLength =
- (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
-
- }
-
-
- /* [id] */ HRESULT STDMETHODCALLTYPE IStlMapStringToMyObject_Lookup_Proxy(
- IStlMapStringToMyObject __RPC_FAR * This,
- /* [in] */ BSTR str,
- IMyStruct __RPC_FAR *__RPC_FAR *obj,
- /* [retval][out] */ VARIANT_BOOL __RPC_FAR *b)
- {
-
- 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,
- 5);
-
-
-
- RpcTryFinally
- {
-
- _StubMsg.BufferLength = 4U + 11U;
- NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR *)&str,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[86] );
-
- NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR *)obj,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[96] );
-
- NdrProxyGetBuffer(This, &_StubMsg);
- NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
- (unsigned char __RPC_FAR *)&str,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[86] );
-
- NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
- (unsigned char __RPC_FAR *)obj,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[96] );
-
- NdrProxySendReceive(This, &_StubMsg);
-
- if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
- NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[20] );
-
- *b = *(( VARIANT_BOOL __RPC_FAR * )_StubMsg.Buffer)++;
-
- _StubMsg.Buffer += 2;
- _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[104],
- ( void __RPC_FAR * )b);
- _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
- }
- RpcEndExcept
- return _RetVal;
- }
-
- void __RPC_STUB IStlMapStringToMyObject_Lookup_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase)
- {
- VARIANT_BOOL _M1;
- HRESULT _RetVal;
- MIDL_STUB_MESSAGE _StubMsg;
- void __RPC_FAR *_p_str;
- VARIANT_BOOL __RPC_FAR *b;
- IMyStruct __RPC_FAR *__RPC_FAR *obj;
- BSTR str;
-
- NdrStubInitialize(
- _pRpcMessage,
- &_StubMsg,
- &Object_StubDesc,
- _pRpcChannelBuffer);
- _p_str = &str;
- MIDL_memset(
- _p_str,
- 0,
- sizeof( BSTR ));
- obj = 0;
- b = 0;
- RpcTryFinally
- {
- if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
- NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[20] );
-
- NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR * __RPC_FAR *)&_p_str,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[86],
- (unsigned char)0 );
-
- NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR * __RPC_FAR *)&obj,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[96],
- (unsigned char)0 );
-
- b = &_M1;
-
- *_pdwStubPhase = STUB_CALL_SERVER;
- _RetVal = (((IStlMapStringToMyObject *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> Lookup(
- (IStlMapStringToMyObject *) ((CStdStubBuffer *)This)->pvServerObject,
- str,
- obj,
- b);
-
- *_pdwStubPhase = STUB_MARSHAL;
-
- _StubMsg.BufferLength = 2U + 6U;
- NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
- *(( VARIANT_BOOL __RPC_FAR * )_StubMsg.Buffer)++ = *b;
-
- _StubMsg.Buffer += 2;
- *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
-
- }
- RpcFinally
- {
- NdrUserMarshalFree( &_StubMsg,
- (unsigned char __RPC_FAR *)&str,
- &__MIDL_TypeFormatString.Format[86] );
-
- NdrPointerFree( &_StubMsg,
- (unsigned char __RPC_FAR *)obj,
- &__MIDL_TypeFormatString.Format[96] );
-
- }
- RpcEndFinally
- _pRpcMessage->BufferLength =
- (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
-
- }
-
-
- /* [id] */ HRESULT STDMETHODCALLTYPE IStlMapStringToMyObject_First_Proxy(
- IStlMapStringToMyObject __RPC_FAR * This)
- {
-
- 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,
- 6);
-
-
-
- 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[34] );
-
- _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 IStlMapStringToMyObject_First_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase)
- {
- HRESULT _RetVal;
- MIDL_STUB_MESSAGE _StubMsg;
-
- NdrStubInitialize(
- _pRpcMessage,
- &_StubMsg,
- &Object_StubDesc,
- _pRpcChannelBuffer);
- RpcTryFinally
- {
-
- *_pdwStubPhase = STUB_CALL_SERVER;
- _RetVal = (((IStlMapStringToMyObject *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> First((IStlMapStringToMyObject *) ((CStdStubBuffer *)This)->pvServerObject);
-
- *_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);
-
- }
-
-
- /* [id] */ HRESULT STDMETHODCALLTYPE IStlMapStringToMyObject_Next_Proxy(
- IStlMapStringToMyObject __RPC_FAR * This,
- /* [out] */ BSTR __RPC_FAR *str,
- /* [out] */ IMyStruct __RPC_FAR *__RPC_FAR *obj,
- /* [retval][out] */ VARIANT_BOOL __RPC_FAR *b)
- {
-
- HRESULT _RetVal;
-
- RPC_MESSAGE _RpcMessage;
-
- MIDL_STUB_MESSAGE _StubMsg;
-
- MIDL_memset(
- str,
- 0,
- sizeof( BSTR ));
- *obj = 0;
- RpcTryExcept
- {
- NdrProxyInitialize(
- ( void __RPC_FAR * )This,
- ( PRPC_MESSAGE )&_RpcMessage,
- ( PMIDL_STUB_MESSAGE )&_StubMsg,
- ( PMIDL_STUB_DESC )&Object_StubDesc,
- 7);
-
-
-
- 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[36] );
-
- NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR * __RPC_FAR *)&str,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[112],
- (unsigned char)0 );
-
- NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR * __RPC_FAR *)&obj,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[34],
- (unsigned char)0 );
-
- _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 1) & ~ 0x1);
- *b = *(( VARIANT_BOOL __RPC_FAR * )_StubMsg.Buffer)++;
-
- _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[108],
- ( void __RPC_FAR * )str);
- NdrClearOutParameters(
- ( PMIDL_STUB_MESSAGE )&_StubMsg,
- ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[34],
- ( void __RPC_FAR * )obj);
- NdrClearOutParameters(
- ( PMIDL_STUB_MESSAGE )&_StubMsg,
- ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[104],
- ( void __RPC_FAR * )b);
- _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
- }
- RpcEndExcept
- return _RetVal;
- }
-
- void __RPC_STUB IStlMapStringToMyObject_Next_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase)
- {
- BSTR _M2;
- IMyStruct __RPC_FAR *_M3;
- VARIANT_BOOL _M4;
- HRESULT _RetVal;
- MIDL_STUB_MESSAGE _StubMsg;
- VARIANT_BOOL __RPC_FAR *b;
- IMyStruct __RPC_FAR *__RPC_FAR *obj;
- BSTR __RPC_FAR *str;
-
- NdrStubInitialize(
- _pRpcMessage,
- &_StubMsg,
- &Object_StubDesc,
- _pRpcChannelBuffer);
- str = 0;
- obj = 0;
- b = 0;
- RpcTryFinally
- {
- str = &_M2;
- MIDL_memset(
- str,
- 0,
- sizeof( BSTR ));
- obj = &_M3;
- _M3 = 0;
- b = &_M4;
-
- *_pdwStubPhase = STUB_CALL_SERVER;
- _RetVal = (((IStlMapStringToMyObject *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> Next(
- (IStlMapStringToMyObject *) ((CStdStubBuffer *)This)->pvServerObject,
- str,
- obj,
- b);
-
- *_pdwStubPhase = STUB_MARSHAL;
-
- _StubMsg.BufferLength = 4U + 11U + 5U + 10U;
- NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR *)str,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[112] );
-
- NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR *)obj,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[34] );
-
- _StubMsg.BufferLength += 16;
-
- NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
- NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
- (unsigned char __RPC_FAR *)str,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[112] );
-
- NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
- (unsigned char __RPC_FAR *)obj,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[34] );
-
- _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 1) & ~ 0x1);
- *(( VARIANT_BOOL __RPC_FAR * )_StubMsg.Buffer)++ = *b;
-
- _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
- *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
-
- }
- RpcFinally
- {
- NdrPointerFree( &_StubMsg,
- (unsigned char __RPC_FAR *)str,
- &__MIDL_TypeFormatString.Format[108] );
-
- NdrPointerFree( &_StubMsg,
- (unsigned char __RPC_FAR *)obj,
- &__MIDL_TypeFormatString.Format[34] );
-
- }
- RpcEndFinally
- _pRpcMessage->BufferLength =
- (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
-
- }
-
-
- /* [propget][id] */ HRESULT STDMETHODCALLTYPE IStlMapStringToMyObject_get_Remove_Proxy(
- IStlMapStringToMyObject __RPC_FAR * This,
- /* [retval][out] */ BSTR __RPC_FAR *str)
- {
-
- HRESULT _RetVal;
-
- RPC_MESSAGE _RpcMessage;
-
- MIDL_STUB_MESSAGE _StubMsg;
-
- MIDL_memset(
- str,
- 0,
- sizeof( BSTR ));
- RpcTryExcept
- {
- NdrProxyInitialize(
- ( void __RPC_FAR * )This,
- ( PRPC_MESSAGE )&_RpcMessage,
- ( PMIDL_STUB_MESSAGE )&_StubMsg,
- ( PMIDL_STUB_DESC )&Object_StubDesc,
- 8);
-
-
-
- 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[50] );
-
- NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR * __RPC_FAR *)&str,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[126],
- (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[122],
- ( void __RPC_FAR * )str);
- _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
- }
- RpcEndExcept
- return _RetVal;
- }
-
- void __RPC_STUB IStlMapStringToMyObject_get_Remove_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase)
- {
- BSTR _M5;
- HRESULT _RetVal;
- MIDL_STUB_MESSAGE _StubMsg;
- BSTR __RPC_FAR *str;
-
- NdrStubInitialize(
- _pRpcMessage,
- &_StubMsg,
- &Object_StubDesc,
- _pRpcChannelBuffer);
- str = 0;
- RpcTryFinally
- {
- str = &_M5;
- MIDL_memset(
- str,
- 0,
- sizeof( BSTR ));
-
- *_pdwStubPhase = STUB_CALL_SERVER;
- _RetVal = (((IStlMapStringToMyObject *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> get_Remove((IStlMapStringToMyObject *) ((CStdStubBuffer *)This)->pvServerObject,str);
-
- *_pdwStubPhase = STUB_MARSHAL;
-
- _StubMsg.BufferLength = 4U + 11U;
- NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR *)str,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[126] );
-
- _StubMsg.BufferLength += 16;
-
- NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
- NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
- (unsigned char __RPC_FAR *)str,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[126] );
-
- _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
- *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
-
- }
- RpcFinally
- {
- NdrPointerFree( &_StubMsg,
- (unsigned char __RPC_FAR *)str,
- &__MIDL_TypeFormatString.Format[122] );
-
- }
- RpcEndFinally
- _pRpcMessage->BufferLength =
- (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
-
- }
-
-
- /* [id] */ HRESULT STDMETHODCALLTYPE IStlMapStringToMyObject_RemoveAll_Proxy(
- IStlMapStringToMyObject __RPC_FAR * This)
- {
-
- 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,
- 9);
-
-
-
- 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[34] );
-
- _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 IStlMapStringToMyObject_RemoveAll_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase)
- {
- HRESULT _RetVal;
- MIDL_STUB_MESSAGE _StubMsg;
-
- NdrStubInitialize(
- _pRpcMessage,
- &_StubMsg,
- &Object_StubDesc,
- _pRpcChannelBuffer);
- RpcTryFinally
- {
-
- *_pdwStubPhase = STUB_CALL_SERVER;
- _RetVal = (((IStlMapStringToMyObject *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> RemoveAll((IStlMapStringToMyObject *) ((CStdStubBuffer *)This)->pvServerObject);
-
- *_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);
-
- }
-
-
- /* [propget][id] */ HRESULT STDMETHODCALLTYPE IStlMapStringToMyObject_get_Count_Proxy(
- IStlMapStringToMyObject __RPC_FAR * This,
- /* [retval][out] */ UINT __RPC_FAR *dw)
- {
-
- 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,
- 10);
-
-
-
- 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[56] );
-
- *dw = *(( UINT __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[136],
- ( void __RPC_FAR * )dw);
- _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
- }
- RpcEndExcept
- return _RetVal;
- }
-
- void __RPC_STUB IStlMapStringToMyObject_get_Count_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase)
- {
- UINT _M6;
- HRESULT _RetVal;
- MIDL_STUB_MESSAGE _StubMsg;
- UINT __RPC_FAR *dw;
-
- NdrStubInitialize(
- _pRpcMessage,
- &_StubMsg,
- &Object_StubDesc,
- _pRpcChannelBuffer);
- dw = 0;
- RpcTryFinally
- {
- dw = &_M6;
-
- *_pdwStubPhase = STUB_CALL_SERVER;
- _RetVal = (((IStlMapStringToMyObject *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> get_Count((IStlMapStringToMyObject *) ((CStdStubBuffer *)This)->pvServerObject,dw);
-
- *_pdwStubPhase = STUB_MARSHAL;
-
- _StubMsg.BufferLength = 4U + 4U;
- NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
- *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = *dw;
-
- *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
-
- }
- RpcFinally
- {
- }
- RpcEndFinally
- _pRpcMessage->BufferLength =
- (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
-
- }
-
- const CINTERFACE_PROXY_VTABLE(11) _IStlMapStringToMyObjectProxyVtbl =
- {
- &IID_IStlMapStringToMyObject,
- IUnknown_QueryInterface_Proxy,
- IUnknown_AddRef_Proxy,
- IUnknown_Release_Proxy ,
- IStlMapStringToMyObject_get_Map_Proxy ,
- IStlMapStringToMyObject_put_Map_Proxy ,
- IStlMapStringToMyObject_Lookup_Proxy ,
- IStlMapStringToMyObject_First_Proxy ,
- IStlMapStringToMyObject_Next_Proxy ,
- IStlMapStringToMyObject_get_Remove_Proxy ,
- IStlMapStringToMyObject_RemoveAll_Proxy ,
- IStlMapStringToMyObject_get_Count_Proxy
- };
-
-
- static const PRPC_STUB_FUNCTION IStlMapStringToMyObject_table[] =
- {
- IStlMapStringToMyObject_get_Map_Stub,
- IStlMapStringToMyObject_put_Map_Stub,
- IStlMapStringToMyObject_Lookup_Stub,
- IStlMapStringToMyObject_First_Stub,
- IStlMapStringToMyObject_Next_Stub,
- IStlMapStringToMyObject_get_Remove_Stub,
- IStlMapStringToMyObject_RemoveAll_Stub,
- IStlMapStringToMyObject_get_Count_Stub
- };
-
- const CInterfaceStubVtbl _IStlMapStringToMyObjectStubVtbl =
- {
- &IID_IStlMapStringToMyObject,
- 0,
- 11,
- &IStlMapStringToMyObject_table[-3],
- CStdStubBuffer_METHODS
- };
-
-
- /* Object interface: IStlMapDWordToMyStruct, ver. 0.0,
- GUID={0x7CE086D3,0x3E78,0x11D0,{0xAE,0x6B,0x00,0xC0,0x4F,0xD7,0xD0,0x6E}} */
-
-
- extern const MIDL_STUB_DESC Object_StubDesc;
-
-
- #pragma code_seg(".orpc")
-
- /* [propget][id] */ HRESULT STDMETHODCALLTYPE IStlMapDWordToMyStruct_get_Map_Proxy(
- IStlMapDWordToMyStruct __RPC_FAR * This,
- /* [in] */ DWORD dw,
- /* [retval][out] */ IMyStruct __RPC_FAR *__RPC_FAR *str)
- {
-
- HRESULT _RetVal;
-
- RPC_MESSAGE _RpcMessage;
-
- MIDL_STUB_MESSAGE _StubMsg;
-
- *str = 0;
- RpcTryExcept
- {
- NdrProxyInitialize(
- ( void __RPC_FAR * )This,
- ( PRPC_MESSAGE )&_RpcMessage,
- ( PMIDL_STUB_MESSAGE )&_StubMsg,
- ( PMIDL_STUB_DESC )&Object_StubDesc,
- 3);
-
-
-
- RpcTryFinally
- {
-
- _StubMsg.BufferLength = 4U;
- NdrProxyGetBuffer(This, &_StubMsg);
- *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++ = dw;
-
- NdrProxySendReceive(This, &_StubMsg);
-
- if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
- NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[62] );
-
- NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR * __RPC_FAR *)&str,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[34],
- (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[34],
- ( void __RPC_FAR * )str);
- _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
- }
- RpcEndExcept
- return _RetVal;
- }
-
- void __RPC_STUB IStlMapDWordToMyStruct_get_Map_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase)
- {
- IMyStruct __RPC_FAR *_M7;
- HRESULT _RetVal;
- MIDL_STUB_MESSAGE _StubMsg;
- DWORD dw;
- IMyStruct __RPC_FAR *__RPC_FAR *str;
-
- NdrStubInitialize(
- _pRpcMessage,
- &_StubMsg,
- &Object_StubDesc,
- _pRpcChannelBuffer);
- str = 0;
- RpcTryFinally
- {
- if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
- NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[62] );
-
- dw = *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++;
-
- str = &_M7;
- _M7 = 0;
-
- *_pdwStubPhase = STUB_CALL_SERVER;
- _RetVal = (((IStlMapDWordToMyStruct *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> get_Map(
- (IStlMapDWordToMyStruct *) ((CStdStubBuffer *)This)->pvServerObject,
- dw,
- str);
-
- *_pdwStubPhase = STUB_MARSHAL;
-
- _StubMsg.BufferLength = 4U + 11U;
- NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR *)str,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[34] );
-
- _StubMsg.BufferLength += 16;
-
- NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
- NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
- (unsigned char __RPC_FAR *)str,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[34] );
-
- _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
- *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
-
- }
- RpcFinally
- {
- NdrPointerFree( &_StubMsg,
- (unsigned char __RPC_FAR *)str,
- &__MIDL_TypeFormatString.Format[34] );
-
- }
- RpcEndFinally
- _pRpcMessage->BufferLength =
- (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
-
- }
-
-
- /* [propput][id] */ HRESULT STDMETHODCALLTYPE IStlMapDWordToMyStruct_put_Map_Proxy(
- IStlMapDWordToMyStruct __RPC_FAR * This,
- /* [in] */ DWORD dw,
- /* [in] */ IMyStruct __RPC_FAR *str)
- {
-
- 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 = 4U + 0U;
- NdrComplexStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR *)str,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[56] );
-
- NdrProxyGetBuffer(This, &_StubMsg);
- *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++ = dw;
-
- NdrComplexStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
- (unsigned char __RPC_FAR *)str,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[56] );
-
- NdrProxySendReceive(This, &_StubMsg);
-
- if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
- NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[70] );
-
- _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 IStlMapDWordToMyStruct_put_Map_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase)
- {
- HRESULT _RetVal;
- MIDL_STUB_MESSAGE _StubMsg;
- DWORD dw;
- IMyStruct __RPC_FAR *str;
-
- NdrStubInitialize(
- _pRpcMessage,
- &_StubMsg,
- &Object_StubDesc,
- _pRpcChannelBuffer);
- str = 0;
- RpcTryFinally
- {
- if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
- NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[70] );
-
- dw = *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++;
-
- NdrComplexStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR * __RPC_FAR *)&str,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[56],
- (unsigned char)0 );
-
-
- *_pdwStubPhase = STUB_CALL_SERVER;
- _RetVal = (((IStlMapDWordToMyStruct *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> put_Map(
- (IStlMapDWordToMyStruct *) ((CStdStubBuffer *)This)->pvServerObject,
- dw,
- str);
-
- *_pdwStubPhase = STUB_MARSHAL;
-
- _StubMsg.BufferLength = 4U;
- NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
- *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
-
- }
- RpcFinally
- {
- NdrPointerFree( &_StubMsg,
- (unsigned char __RPC_FAR *)str,
- &__MIDL_TypeFormatString.Format[82] );
-
- }
- RpcEndFinally
- _pRpcMessage->BufferLength =
- (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
-
- }
-
-
- /* [id] */ HRESULT STDMETHODCALLTYPE IStlMapDWordToMyStruct_Lookup_Proxy(
- IStlMapDWordToMyStruct __RPC_FAR * This,
- /* [in] */ DWORD dw,
- /* [out] */ IMyStruct __RPC_FAR *__RPC_FAR *str,
- /* [retval][out] */ VARIANT_BOOL __RPC_FAR *b)
- {
-
- HRESULT _RetVal;
-
- RPC_MESSAGE _RpcMessage;
-
- MIDL_STUB_MESSAGE _StubMsg;
-
- *str = 0;
- RpcTryExcept
- {
- NdrProxyInitialize(
- ( void __RPC_FAR * )This,
- ( PRPC_MESSAGE )&_RpcMessage,
- ( PMIDL_STUB_MESSAGE )&_StubMsg,
- ( PMIDL_STUB_DESC )&Object_StubDesc,
- 5);
-
-
-
- RpcTryFinally
- {
-
- _StubMsg.BufferLength = 4U;
- NdrProxyGetBuffer(This, &_StubMsg);
- *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++ = dw;
-
- NdrProxySendReceive(This, &_StubMsg);
-
- if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
- NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[78] );
-
- NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR * __RPC_FAR *)&str,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[34],
- (unsigned char)0 );
-
- _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 1) & ~ 0x1);
- *b = *(( VARIANT_BOOL __RPC_FAR * )_StubMsg.Buffer)++;
-
- _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[34],
- ( void __RPC_FAR * )str);
- NdrClearOutParameters(
- ( PMIDL_STUB_MESSAGE )&_StubMsg,
- ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[104],
- ( void __RPC_FAR * )b);
- _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
- }
- RpcEndExcept
- return _RetVal;
- }
-
- void __RPC_STUB IStlMapDWordToMyStruct_Lookup_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase)
- {
- IMyStruct __RPC_FAR *_M8;
- VARIANT_BOOL _M9;
- HRESULT _RetVal;
- MIDL_STUB_MESSAGE _StubMsg;
- VARIANT_BOOL __RPC_FAR *b;
- DWORD dw;
- IMyStruct __RPC_FAR *__RPC_FAR *str;
-
- NdrStubInitialize(
- _pRpcMessage,
- &_StubMsg,
- &Object_StubDesc,
- _pRpcChannelBuffer);
- str = 0;
- b = 0;
- RpcTryFinally
- {
- if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
- NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[78] );
-
- dw = *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++;
-
- str = &_M8;
- _M8 = 0;
- b = &_M9;
-
- *_pdwStubPhase = STUB_CALL_SERVER;
- _RetVal = (((IStlMapDWordToMyStruct *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> Lookup(
- (IStlMapDWordToMyStruct *) ((CStdStubBuffer *)This)->pvServerObject,
- dw,
- str,
- b);
-
- *_pdwStubPhase = STUB_MARSHAL;
-
- _StubMsg.BufferLength = 4U + 5U + 10U;
- NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR *)str,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[34] );
-
- _StubMsg.BufferLength += 16;
-
- NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
- NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
- (unsigned char __RPC_FAR *)str,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[34] );
-
- _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 1) & ~ 0x1);
- *(( VARIANT_BOOL __RPC_FAR * )_StubMsg.Buffer)++ = *b;
-
- _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
- *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
-
- }
- RpcFinally
- {
- NdrPointerFree( &_StubMsg,
- (unsigned char __RPC_FAR *)str,
- &__MIDL_TypeFormatString.Format[34] );
-
- }
- RpcEndFinally
- _pRpcMessage->BufferLength =
- (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
-
- }
-
-
- /* [id] */ HRESULT STDMETHODCALLTYPE IStlMapDWordToMyStruct_First_Proxy(
- IStlMapDWordToMyStruct __RPC_FAR * This)
- {
-
- 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,
- 6);
-
-
-
- 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[34] );
-
- _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 IStlMapDWordToMyStruct_First_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase)
- {
- HRESULT _RetVal;
- MIDL_STUB_MESSAGE _StubMsg;
-
- NdrStubInitialize(
- _pRpcMessage,
- &_StubMsg,
- &Object_StubDesc,
- _pRpcChannelBuffer);
- RpcTryFinally
- {
-
- *_pdwStubPhase = STUB_CALL_SERVER;
- _RetVal = (((IStlMapDWordToMyStruct *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> First((IStlMapDWordToMyStruct *) ((CStdStubBuffer *)This)->pvServerObject);
-
- *_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);
-
- }
-
-
- /* [id] */ HRESULT STDMETHODCALLTYPE IStlMapDWordToMyStruct_Next_Proxy(
- IStlMapDWordToMyStruct __RPC_FAR * This,
- /* [out] */ DWORD __RPC_FAR *dw,
- /* [out] */ IMyStruct __RPC_FAR *__RPC_FAR *str,
- /* [retval][out] */ VARIANT_BOOL __RPC_FAR *b)
- {
-
- HRESULT _RetVal;
-
- RPC_MESSAGE _RpcMessage;
-
- MIDL_STUB_MESSAGE _StubMsg;
-
- *str = 0;
- RpcTryExcept
- {
- NdrProxyInitialize(
- ( void __RPC_FAR * )This,
- ( PRPC_MESSAGE )&_RpcMessage,
- ( PMIDL_STUB_MESSAGE )&_StubMsg,
- ( PMIDL_STUB_DESC )&Object_StubDesc,
- 7);
-
-
-
- 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[90] );
-
- *dw = *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++;
-
- NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR * __RPC_FAR *)&str,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[34],
- (unsigned char)0 );
-
- _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 1) & ~ 0x1);
- *b = *(( VARIANT_BOOL __RPC_FAR * )_StubMsg.Buffer)++;
-
- _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[136],
- ( void __RPC_FAR * )dw);
- NdrClearOutParameters(
- ( PMIDL_STUB_MESSAGE )&_StubMsg,
- ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[34],
- ( void __RPC_FAR * )str);
- NdrClearOutParameters(
- ( PMIDL_STUB_MESSAGE )&_StubMsg,
- ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[104],
- ( void __RPC_FAR * )b);
- _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
- }
- RpcEndExcept
- return _RetVal;
- }
-
- void __RPC_STUB IStlMapDWordToMyStruct_Next_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase)
- {
- DWORD _M10;
- IMyStruct __RPC_FAR *_M11;
- VARIANT_BOOL _M12;
- HRESULT _RetVal;
- MIDL_STUB_MESSAGE _StubMsg;
- VARIANT_BOOL __RPC_FAR *b;
- DWORD __RPC_FAR *dw;
- IMyStruct __RPC_FAR *__RPC_FAR *str;
-
- NdrStubInitialize(
- _pRpcMessage,
- &_StubMsg,
- &Object_StubDesc,
- _pRpcChannelBuffer);
- dw = 0;
- str = 0;
- b = 0;
- RpcTryFinally
- {
- dw = &_M10;
- str = &_M11;
- _M11 = 0;
- b = &_M12;
-
- *_pdwStubPhase = STUB_CALL_SERVER;
- _RetVal = (((IStlMapDWordToMyStruct *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> Next(
- (IStlMapDWordToMyStruct *) ((CStdStubBuffer *)This)->pvServerObject,
- dw,
- str,
- b);
-
- *_pdwStubPhase = STUB_MARSHAL;
-
- _StubMsg.BufferLength = 4U + 4U + 5U + 10U;
- NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR *)str,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[34] );
-
- _StubMsg.BufferLength += 16;
-
- NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
- *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++ = *dw;
-
- NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
- (unsigned char __RPC_FAR *)str,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[34] );
-
- _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 1) & ~ 0x1);
- *(( VARIANT_BOOL __RPC_FAR * )_StubMsg.Buffer)++ = *b;
-
- _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
- *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
-
- }
- RpcFinally
- {
- NdrPointerFree( &_StubMsg,
- (unsigned char __RPC_FAR *)str,
- &__MIDL_TypeFormatString.Format[34] );
-
- }
- RpcEndFinally
- _pRpcMessage->BufferLength =
- (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
-
- }
-
-
- /* [propget][id] */ HRESULT STDMETHODCALLTYPE IStlMapDWordToMyStruct_get_Remove_Proxy(
- IStlMapDWordToMyStruct __RPC_FAR * This,
- /* [retval][out] */ DWORD __RPC_FAR *str)
- {
-
- 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,
- 8);
-
-
-
- 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[56] );
-
- *str = *(( DWORD __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[136],
- ( void __RPC_FAR * )str);
- _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
- }
- RpcEndExcept
- return _RetVal;
- }
-
- void __RPC_STUB IStlMapDWordToMyStruct_get_Remove_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase)
- {
- DWORD _M13;
- HRESULT _RetVal;
- MIDL_STUB_MESSAGE _StubMsg;
- DWORD __RPC_FAR *str;
-
- NdrStubInitialize(
- _pRpcMessage,
- &_StubMsg,
- &Object_StubDesc,
- _pRpcChannelBuffer);
- str = 0;
- RpcTryFinally
- {
- str = &_M13;
-
- *_pdwStubPhase = STUB_CALL_SERVER;
- _RetVal = (((IStlMapDWordToMyStruct *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> get_Remove((IStlMapDWordToMyStruct *) ((CStdStubBuffer *)This)->pvServerObject,str);
-
- *_pdwStubPhase = STUB_MARSHAL;
-
- _StubMsg.BufferLength = 4U + 4U;
- NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
- *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++ = *str;
-
- *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
-
- }
- RpcFinally
- {
- }
- RpcEndFinally
- _pRpcMessage->BufferLength =
- (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
-
- }
-
-
- /* [id] */ HRESULT STDMETHODCALLTYPE IStlMapDWordToMyStruct_RemoveAll_Proxy(
- IStlMapDWordToMyStruct __RPC_FAR * This)
- {
-
- 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,
- 9);
-
-
-
- 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[34] );
-
- _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 IStlMapDWordToMyStruct_RemoveAll_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase)
- {
- HRESULT _RetVal;
- MIDL_STUB_MESSAGE _StubMsg;
-
- NdrStubInitialize(
- _pRpcMessage,
- &_StubMsg,
- &Object_StubDesc,
- _pRpcChannelBuffer);
- RpcTryFinally
- {
-
- *_pdwStubPhase = STUB_CALL_SERVER;
- _RetVal = (((IStlMapDWordToMyStruct *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> RemoveAll((IStlMapDWordToMyStruct *) ((CStdStubBuffer *)This)->pvServerObject);
-
- *_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);
-
- }
-
-
- /* [propget][id] */ HRESULT STDMETHODCALLTYPE IStlMapDWordToMyStruct_get_Count_Proxy(
- IStlMapDWordToMyStruct __RPC_FAR * This,
- /* [retval][out] */ UINT __RPC_FAR *dw)
- {
-
- 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,
- 10);
-
-
-
- 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[56] );
-
- *dw = *(( UINT __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[136],
- ( void __RPC_FAR * )dw);
- _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
- }
- RpcEndExcept
- return _RetVal;
- }
-
- void __RPC_STUB IStlMapDWordToMyStruct_get_Count_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase)
- {
- UINT _M14;
- HRESULT _RetVal;
- MIDL_STUB_MESSAGE _StubMsg;
- UINT __RPC_FAR *dw;
-
- NdrStubInitialize(
- _pRpcMessage,
- &_StubMsg,
- &Object_StubDesc,
- _pRpcChannelBuffer);
- dw = 0;
- RpcTryFinally
- {
- dw = &_M14;
-
- *_pdwStubPhase = STUB_CALL_SERVER;
- _RetVal = (((IStlMapDWordToMyStruct *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> get_Count((IStlMapDWordToMyStruct *) ((CStdStubBuffer *)This)->pvServerObject,dw);
-
- *_pdwStubPhase = STUB_MARSHAL;
-
- _StubMsg.BufferLength = 4U + 4U;
- NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
- *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = *dw;
-
- *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
-
- }
- RpcFinally
- {
- }
- RpcEndFinally
- _pRpcMessage->BufferLength =
- (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
-
- }
-
- const CINTERFACE_PROXY_VTABLE(11) _IStlMapDWordToMyStructProxyVtbl =
- {
- &IID_IStlMapDWordToMyStruct,
- IUnknown_QueryInterface_Proxy,
- IUnknown_AddRef_Proxy,
- IUnknown_Release_Proxy ,
- IStlMapDWordToMyStruct_get_Map_Proxy ,
- IStlMapDWordToMyStruct_put_Map_Proxy ,
- IStlMapDWordToMyStruct_Lookup_Proxy ,
- IStlMapDWordToMyStruct_First_Proxy ,
- IStlMapDWordToMyStruct_Next_Proxy ,
- IStlMapDWordToMyStruct_get_Remove_Proxy ,
- IStlMapDWordToMyStruct_RemoveAll_Proxy ,
- IStlMapDWordToMyStruct_get_Count_Proxy
- };
-
-
- static const PRPC_STUB_FUNCTION IStlMapDWordToMyStruct_table[] =
- {
- IStlMapDWordToMyStruct_get_Map_Stub,
- IStlMapDWordToMyStruct_put_Map_Stub,
- IStlMapDWordToMyStruct_Lookup_Stub,
- IStlMapDWordToMyStruct_First_Stub,
- IStlMapDWordToMyStruct_Next_Stub,
- IStlMapDWordToMyStruct_get_Remove_Stub,
- IStlMapDWordToMyStruct_RemoveAll_Stub,
- IStlMapDWordToMyStruct_get_Count_Stub
- };
-
- const CInterfaceStubVtbl _IStlMapDWordToMyStructStubVtbl =
- {
- &IID_IStlMapDWordToMyStruct,
- 0,
- 11,
- &IStlMapDWordToMyStruct_table[-3],
- CStdStubBuffer_METHODS
- };
-
-
- /* Object interface: IStlMapStringToString, ver. 0.0,
- GUID={0x7CE086D8,0x3E78,0x11D0,{0xAE,0x6B,0x00,0xC0,0x4F,0xD7,0xD0,0x6E}} */
-
-
- extern const MIDL_STUB_DESC Object_StubDesc;
-
-
- #pragma code_seg(".orpc")
-
- /* [propget][id] */ HRESULT STDMETHODCALLTYPE IStlMapStringToString_get_Map_Proxy(
- IStlMapStringToString __RPC_FAR * This,
- /* [in] */ BSTR str1,
- /* [retval][out] */ BSTR __RPC_FAR *str2)
- {
-
- HRESULT _RetVal;
-
- RPC_MESSAGE _RpcMessage;
-
- MIDL_STUB_MESSAGE _StubMsg;
-
- MIDL_memset(
- str2,
- 0,
- sizeof( BSTR ));
- RpcTryExcept
- {
- NdrProxyInitialize(
- ( void __RPC_FAR * )This,
- ( PRPC_MESSAGE )&_RpcMessage,
- ( PMIDL_STUB_MESSAGE )&_StubMsg,
- ( PMIDL_STUB_DESC )&Object_StubDesc,
- 3);
-
-
-
- RpcTryFinally
- {
-
- _StubMsg.BufferLength = 4U;
- NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR *)&str1,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[140] );
-
- NdrProxyGetBuffer(This, &_StubMsg);
- NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
- (unsigned char __RPC_FAR *)&str1,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[140] );
-
- NdrProxySendReceive(This, &_StubMsg);
-
- if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
- NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[104] );
-
- NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR * __RPC_FAR *)&str2,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[154],
- (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[150],
- ( void __RPC_FAR * )str2);
- _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
- }
- RpcEndExcept
- return _RetVal;
- }
-
- void __RPC_STUB IStlMapStringToString_get_Map_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase)
- {
- BSTR _M15;
- HRESULT _RetVal;
- MIDL_STUB_MESSAGE _StubMsg;
- void __RPC_FAR *_p_str1;
- BSTR str1;
- BSTR __RPC_FAR *str2;
-
- NdrStubInitialize(
- _pRpcMessage,
- &_StubMsg,
- &Object_StubDesc,
- _pRpcChannelBuffer);
- _p_str1 = &str1;
- MIDL_memset(
- _p_str1,
- 0,
- sizeof( BSTR ));
- str2 = 0;
- RpcTryFinally
- {
- if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
- NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[104] );
-
- NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR * __RPC_FAR *)&_p_str1,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[140],
- (unsigned char)0 );
-
- str2 = &_M15;
- MIDL_memset(
- str2,
- 0,
- sizeof( BSTR ));
-
- *_pdwStubPhase = STUB_CALL_SERVER;
- _RetVal = (((IStlMapStringToString *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> get_Map(
- (IStlMapStringToString *) ((CStdStubBuffer *)This)->pvServerObject,
- str1,
- str2);
-
- *_pdwStubPhase = STUB_MARSHAL;
-
- _StubMsg.BufferLength = 4U + 11U;
- NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR *)str2,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[154] );
-
- _StubMsg.BufferLength += 16;
-
- NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
- NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
- (unsigned char __RPC_FAR *)str2,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[154] );
-
- _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
- *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
-
- }
- RpcFinally
- {
- NdrUserMarshalFree( &_StubMsg,
- (unsigned char __RPC_FAR *)&str1,
- &__MIDL_TypeFormatString.Format[140] );
-
- NdrPointerFree( &_StubMsg,
- (unsigned char __RPC_FAR *)str2,
- &__MIDL_TypeFormatString.Format[150] );
-
- }
- RpcEndFinally
- _pRpcMessage->BufferLength =
- (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
-
- }
-
-
- /* [propput][id] */ HRESULT STDMETHODCALLTYPE IStlMapStringToString_put_Map_Proxy(
- IStlMapStringToString __RPC_FAR * This,
- /* [in] */ BSTR str1,
- /* [in] */ BSTR str2)
- {
-
- 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 = 4U + 11U;
- NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR *)&str1,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[164] );
-
- NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR *)&str2,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[174] );
-
- NdrProxyGetBuffer(This, &_StubMsg);
- NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
- (unsigned char __RPC_FAR *)&str1,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[164] );
-
- NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
- (unsigned char __RPC_FAR *)&str2,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[174] );
-
- NdrProxySendReceive(This, &_StubMsg);
-
- if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
- NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[114] );
-
- _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 IStlMapStringToString_put_Map_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase)
- {
- HRESULT _RetVal;
- MIDL_STUB_MESSAGE _StubMsg;
- void __RPC_FAR *_p_str1;
- void __RPC_FAR *_p_str2;
- BSTR str1;
- BSTR str2;
-
- NdrStubInitialize(
- _pRpcMessage,
- &_StubMsg,
- &Object_StubDesc,
- _pRpcChannelBuffer);
- _p_str1 = &str1;
- MIDL_memset(
- _p_str1,
- 0,
- sizeof( BSTR ));
- _p_str2 = &str2;
- MIDL_memset(
- _p_str2,
- 0,
- sizeof( BSTR ));
- RpcTryFinally
- {
- if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
- NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[114] );
-
- NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR * __RPC_FAR *)&_p_str1,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[164],
- (unsigned char)0 );
-
- NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR * __RPC_FAR *)&_p_str2,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[174],
- (unsigned char)0 );
-
-
- *_pdwStubPhase = STUB_CALL_SERVER;
- _RetVal = (((IStlMapStringToString *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> put_Map(
- (IStlMapStringToString *) ((CStdStubBuffer *)This)->pvServerObject,
- str1,
- str2);
-
- *_pdwStubPhase = STUB_MARSHAL;
-
- _StubMsg.BufferLength = 4U;
- NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
- *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
-
- }
- RpcFinally
- {
- NdrUserMarshalFree( &_StubMsg,
- (unsigned char __RPC_FAR *)&str1,
- &__MIDL_TypeFormatString.Format[164] );
-
- NdrUserMarshalFree( &_StubMsg,
- (unsigned char __RPC_FAR *)&str2,
- &__MIDL_TypeFormatString.Format[174] );
-
- }
- RpcEndFinally
- _pRpcMessage->BufferLength =
- (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
-
- }
-
-
- /* [id] */ HRESULT STDMETHODCALLTYPE IStlMapStringToString_Lookup_Proxy(
- IStlMapStringToString __RPC_FAR * This,
- /* [in] */ BSTR str1,
- /* [out] */ BSTR __RPC_FAR *str2,
- /* [retval][out] */ VARIANT_BOOL __RPC_FAR *b)
- {
-
- HRESULT _RetVal;
-
- RPC_MESSAGE _RpcMessage;
-
- MIDL_STUB_MESSAGE _StubMsg;
-
- MIDL_memset(
- str2,
- 0,
- sizeof( BSTR ));
- RpcTryExcept
- {
- NdrProxyInitialize(
- ( void __RPC_FAR * )This,
- ( PRPC_MESSAGE )&_RpcMessage,
- ( PMIDL_STUB_MESSAGE )&_StubMsg,
- ( PMIDL_STUB_DESC )&Object_StubDesc,
- 5);
-
-
-
- RpcTryFinally
- {
-
- _StubMsg.BufferLength = 4U;
- NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR *)&str1,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[184] );
-
- NdrProxyGetBuffer(This, &_StubMsg);
- NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
- (unsigned char __RPC_FAR *)&str1,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[184] );
-
- NdrProxySendReceive(This, &_StubMsg);
-
- if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
- NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[124] );
-
- NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR * __RPC_FAR *)&str2,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[198],
- (unsigned char)0 );
-
- _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 1) & ~ 0x1);
- *b = *(( VARIANT_BOOL __RPC_FAR * )_StubMsg.Buffer)++;
-
- _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[194],
- ( void __RPC_FAR * )str2);
- NdrClearOutParameters(
- ( PMIDL_STUB_MESSAGE )&_StubMsg,
- ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[104],
- ( void __RPC_FAR * )b);
- _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
- }
- RpcEndExcept
- return _RetVal;
- }
-
- void __RPC_STUB IStlMapStringToString_Lookup_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase)
- {
- BSTR _M16;
- VARIANT_BOOL _M17;
- HRESULT _RetVal;
- MIDL_STUB_MESSAGE _StubMsg;
- void __RPC_FAR *_p_str1;
- VARIANT_BOOL __RPC_FAR *b;
- BSTR str1;
- BSTR __RPC_FAR *str2;
-
- NdrStubInitialize(
- _pRpcMessage,
- &_StubMsg,
- &Object_StubDesc,
- _pRpcChannelBuffer);
- _p_str1 = &str1;
- MIDL_memset(
- _p_str1,
- 0,
- sizeof( BSTR ));
- str2 = 0;
- b = 0;
- RpcTryFinally
- {
- if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
- NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[124] );
-
- NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR * __RPC_FAR *)&_p_str1,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[184],
- (unsigned char)0 );
-
- str2 = &_M16;
- MIDL_memset(
- str2,
- 0,
- sizeof( BSTR ));
- b = &_M17;
-
- *_pdwStubPhase = STUB_CALL_SERVER;
- _RetVal = (((IStlMapStringToString *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> Lookup(
- (IStlMapStringToString *) ((CStdStubBuffer *)This)->pvServerObject,
- str1,
- str2,
- b);
-
- *_pdwStubPhase = STUB_MARSHAL;
-
- _StubMsg.BufferLength = 4U + 5U + 10U;
- NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR *)str2,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[198] );
-
- _StubMsg.BufferLength += 16;
-
- NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
- NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
- (unsigned char __RPC_FAR *)str2,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[198] );
-
- _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 1) & ~ 0x1);
- *(( VARIANT_BOOL __RPC_FAR * )_StubMsg.Buffer)++ = *b;
-
- _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
- *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
-
- }
- RpcFinally
- {
- NdrUserMarshalFree( &_StubMsg,
- (unsigned char __RPC_FAR *)&str1,
- &__MIDL_TypeFormatString.Format[184] );
-
- NdrPointerFree( &_StubMsg,
- (unsigned char __RPC_FAR *)str2,
- &__MIDL_TypeFormatString.Format[194] );
-
- }
- RpcEndFinally
- _pRpcMessage->BufferLength =
- (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
-
- }
-
-
- /* [id] */ HRESULT STDMETHODCALLTYPE IStlMapStringToString_First_Proxy(
- IStlMapStringToString __RPC_FAR * This)
- {
-
- 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,
- 6);
-
-
-
- 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[34] );
-
- _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 IStlMapStringToString_First_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase)
- {
- HRESULT _RetVal;
- MIDL_STUB_MESSAGE _StubMsg;
-
- NdrStubInitialize(
- _pRpcMessage,
- &_StubMsg,
- &Object_StubDesc,
- _pRpcChannelBuffer);
- RpcTryFinally
- {
-
- *_pdwStubPhase = STUB_CALL_SERVER;
- _RetVal = (((IStlMapStringToString *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> First((IStlMapStringToString *) ((CStdStubBuffer *)This)->pvServerObject);
-
- *_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);
-
- }
-
-
- /* [id] */ HRESULT STDMETHODCALLTYPE IStlMapStringToString_Next_Proxy(
- IStlMapStringToString __RPC_FAR * This,
- /* [out] */ BSTR __RPC_FAR *str1,
- /* [out] */ BSTR __RPC_FAR *str2,
- /* [retval][out] */ VARIANT_BOOL __RPC_FAR *b)
- {
-
- HRESULT _RetVal;
-
- RPC_MESSAGE _RpcMessage;
-
- MIDL_STUB_MESSAGE _StubMsg;
-
- MIDL_memset(
- str1,
- 0,
- sizeof( BSTR ));
- MIDL_memset(
- str2,
- 0,
- sizeof( BSTR ));
- RpcTryExcept
- {
- NdrProxyInitialize(
- ( void __RPC_FAR * )This,
- ( PRPC_MESSAGE )&_RpcMessage,
- ( PMIDL_STUB_MESSAGE )&_StubMsg,
- ( PMIDL_STUB_DESC )&Object_StubDesc,
- 7);
-
-
-
- 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[138] );
-
- NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR * __RPC_FAR *)&str1,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[212],
- (unsigned char)0 );
-
- NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR * __RPC_FAR *)&str2,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[226],
- (unsigned char)0 );
-
- _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 1) & ~ 0x1);
- *b = *(( VARIANT_BOOL __RPC_FAR * )_StubMsg.Buffer)++;
-
- _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[208],
- ( void __RPC_FAR * )str1);
- NdrClearOutParameters(
- ( PMIDL_STUB_MESSAGE )&_StubMsg,
- ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[222],
- ( void __RPC_FAR * )str2);
- NdrClearOutParameters(
- ( PMIDL_STUB_MESSAGE )&_StubMsg,
- ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[104],
- ( void __RPC_FAR * )b);
- _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
- }
- RpcEndExcept
- return _RetVal;
- }
-
- void __RPC_STUB IStlMapStringToString_Next_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase)
- {
- BSTR _M18;
- BSTR _M19;
- VARIANT_BOOL _M20;
- HRESULT _RetVal;
- MIDL_STUB_MESSAGE _StubMsg;
- VARIANT_BOOL __RPC_FAR *b;
- BSTR __RPC_FAR *str1;
- BSTR __RPC_FAR *str2;
-
- NdrStubInitialize(
- _pRpcMessage,
- &_StubMsg,
- &Object_StubDesc,
- _pRpcChannelBuffer);
- str1 = 0;
- str2 = 0;
- b = 0;
- RpcTryFinally
- {
- str1 = &_M18;
- MIDL_memset(
- str1,
- 0,
- sizeof( BSTR ));
- str2 = &_M19;
- MIDL_memset(
- str2,
- 0,
- sizeof( BSTR ));
- b = &_M20;
-
- *_pdwStubPhase = STUB_CALL_SERVER;
- _RetVal = (((IStlMapStringToString *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> Next(
- (IStlMapStringToString *) ((CStdStubBuffer *)This)->pvServerObject,
- str1,
- str2,
- b);
-
- *_pdwStubPhase = STUB_MARSHAL;
-
- _StubMsg.BufferLength = 4U + 11U + 5U + 10U;
- NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR *)str1,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[212] );
-
- NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR *)str2,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[226] );
-
- _StubMsg.BufferLength += 16;
-
- NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
- NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
- (unsigned char __RPC_FAR *)str1,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[212] );
-
- NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
- (unsigned char __RPC_FAR *)str2,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[226] );
-
- _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 1) & ~ 0x1);
- *(( VARIANT_BOOL __RPC_FAR * )_StubMsg.Buffer)++ = *b;
-
- _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
- *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
-
- }
- RpcFinally
- {
- NdrPointerFree( &_StubMsg,
- (unsigned char __RPC_FAR *)str1,
- &__MIDL_TypeFormatString.Format[208] );
-
- NdrPointerFree( &_StubMsg,
- (unsigned char __RPC_FAR *)str2,
- &__MIDL_TypeFormatString.Format[222] );
-
- }
- RpcEndFinally
- _pRpcMessage->BufferLength =
- (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
-
- }
-
-
- /* [propget][id] */ HRESULT STDMETHODCALLTYPE IStlMapStringToString_get_Remove_Proxy(
- IStlMapStringToString __RPC_FAR * This,
- /* [retval][out] */ BSTR __RPC_FAR *str)
- {
-
- HRESULT _RetVal;
-
- RPC_MESSAGE _RpcMessage;
-
- MIDL_STUB_MESSAGE _StubMsg;
-
- MIDL_memset(
- str,
- 0,
- sizeof( BSTR ));
- RpcTryExcept
- {
- NdrProxyInitialize(
- ( void __RPC_FAR * )This,
- ( PRPC_MESSAGE )&_RpcMessage,
- ( PMIDL_STUB_MESSAGE )&_StubMsg,
- ( PMIDL_STUB_DESC )&Object_StubDesc,
- 8);
-
-
-
- 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[152] );
-
- NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR * __RPC_FAR *)&str,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[240],
- (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[236],
- ( void __RPC_FAR * )str);
- _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
- }
- RpcEndExcept
- return _RetVal;
- }
-
- void __RPC_STUB IStlMapStringToString_get_Remove_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase)
- {
- BSTR _M21;
- HRESULT _RetVal;
- MIDL_STUB_MESSAGE _StubMsg;
- BSTR __RPC_FAR *str;
-
- NdrStubInitialize(
- _pRpcMessage,
- &_StubMsg,
- &Object_StubDesc,
- _pRpcChannelBuffer);
- str = 0;
- RpcTryFinally
- {
- str = &_M21;
- MIDL_memset(
- str,
- 0,
- sizeof( BSTR ));
-
- *_pdwStubPhase = STUB_CALL_SERVER;
- _RetVal = (((IStlMapStringToString *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> get_Remove((IStlMapStringToString *) ((CStdStubBuffer *)This)->pvServerObject,str);
-
- *_pdwStubPhase = STUB_MARSHAL;
-
- _StubMsg.BufferLength = 4U + 11U;
- NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR *)str,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[240] );
-
- _StubMsg.BufferLength += 16;
-
- NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
- NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
- (unsigned char __RPC_FAR *)str,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[240] );
-
- _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
- *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
-
- }
- RpcFinally
- {
- NdrPointerFree( &_StubMsg,
- (unsigned char __RPC_FAR *)str,
- &__MIDL_TypeFormatString.Format[236] );
-
- }
- RpcEndFinally
- _pRpcMessage->BufferLength =
- (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
-
- }
-
-
- /* [id] */ HRESULT STDMETHODCALLTYPE IStlMapStringToString_RemoveAll_Proxy(
- IStlMapStringToString __RPC_FAR * This)
- {
-
- 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,
- 9);
-
-
-
- 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[34] );
-
- _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 IStlMapStringToString_RemoveAll_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase)
- {
- HRESULT _RetVal;
- MIDL_STUB_MESSAGE _StubMsg;
-
- NdrStubInitialize(
- _pRpcMessage,
- &_StubMsg,
- &Object_StubDesc,
- _pRpcChannelBuffer);
- RpcTryFinally
- {
-
- *_pdwStubPhase = STUB_CALL_SERVER;
- _RetVal = (((IStlMapStringToString *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> RemoveAll((IStlMapStringToString *) ((CStdStubBuffer *)This)->pvServerObject);
-
- *_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);
-
- }
-
-
- /* [propget][id] */ HRESULT STDMETHODCALLTYPE IStlMapStringToString_get_Count_Proxy(
- IStlMapStringToString __RPC_FAR * This,
- /* [retval][out] */ UINT __RPC_FAR *dw)
- {
-
- 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,
- 10);
-
-
-
- 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[56] );
-
- *dw = *(( UINT __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[136],
- ( void __RPC_FAR * )dw);
- _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
- }
- RpcEndExcept
- return _RetVal;
- }
-
- void __RPC_STUB IStlMapStringToString_get_Count_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase)
- {
- UINT _M22;
- HRESULT _RetVal;
- MIDL_STUB_MESSAGE _StubMsg;
- UINT __RPC_FAR *dw;
-
- NdrStubInitialize(
- _pRpcMessage,
- &_StubMsg,
- &Object_StubDesc,
- _pRpcChannelBuffer);
- dw = 0;
- RpcTryFinally
- {
- dw = &_M22;
-
- *_pdwStubPhase = STUB_CALL_SERVER;
- _RetVal = (((IStlMapStringToString *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> get_Count((IStlMapStringToString *) ((CStdStubBuffer *)This)->pvServerObject,dw);
-
- *_pdwStubPhase = STUB_MARSHAL;
-
- _StubMsg.BufferLength = 4U + 4U;
- NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
- *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = *dw;
-
- *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
-
- }
- RpcFinally
- {
- }
- RpcEndFinally
- _pRpcMessage->BufferLength =
- (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
-
- }
-
- const CINTERFACE_PROXY_VTABLE(11) _IStlMapStringToStringProxyVtbl =
- {
- &IID_IStlMapStringToString,
- IUnknown_QueryInterface_Proxy,
- IUnknown_AddRef_Proxy,
- IUnknown_Release_Proxy ,
- IStlMapStringToString_get_Map_Proxy ,
- IStlMapStringToString_put_Map_Proxy ,
- IStlMapStringToString_Lookup_Proxy ,
- IStlMapStringToString_First_Proxy ,
- IStlMapStringToString_Next_Proxy ,
- IStlMapStringToString_get_Remove_Proxy ,
- IStlMapStringToString_RemoveAll_Proxy ,
- IStlMapStringToString_get_Count_Proxy
- };
-
-
- static const PRPC_STUB_FUNCTION IStlMapStringToString_table[] =
- {
- IStlMapStringToString_get_Map_Stub,
- IStlMapStringToString_put_Map_Stub,
- IStlMapStringToString_Lookup_Stub,
- IStlMapStringToString_First_Stub,
- IStlMapStringToString_Next_Stub,
- IStlMapStringToString_get_Remove_Stub,
- IStlMapStringToString_RemoveAll_Stub,
- IStlMapStringToString_get_Count_Stub
- };
-
- const CInterfaceStubVtbl _IStlMapStringToStringStubVtbl =
- {
- &IID_IStlMapStringToString,
- 0,
- 11,
- &IStlMapStringToString_table[-3],
- CStdStubBuffer_METHODS
- };
-
-
- /* Object interface: IStlLists, ver. 0.0,
- GUID={0x7CE086DD,0x3E78,0x11D0,{0xAE,0x6B,0x00,0xC0,0x4F,0xD7,0xD0,0x6E}} */
-
-
- extern const MIDL_STUB_DESC Object_StubDesc;
-
-
- #pragma code_seg(".orpc")
- const CINTERFACE_PROXY_VTABLE(3) _IStlListsProxyVtbl =
- {
- &IID_IStlLists,
- IUnknown_QueryInterface_Proxy,
- IUnknown_AddRef_Proxy,
- IUnknown_Release_Proxy
- };
-
-
- static const PRPC_STUB_FUNCTION IStlLists_table[] =
- {
- 0 /* a dummy for an empty interface */
- };
-
- const CInterfaceStubVtbl _IStlListsStubVtbl =
- {
- &IID_IStlLists,
- 0,
- 3,
- &IStlLists_table[-3],
- CStdStubBuffer_METHODS
- };
-
-
- /* Object interface: IStlStringList, ver. 0.0,
- GUID={0x7CE086E2,0x3E78,0x11D0,{0xAE,0x6B,0x00,0xC0,0x4F,0xD7,0xD0,0x6E}} */
-
-
- extern const MIDL_STUB_DESC Object_StubDesc;
-
-
- #pragma code_seg(".orpc")
-
- /* [id] */ HRESULT STDMETHODCALLTYPE IStlStringList_Find_Proxy(
- IStlStringList __RPC_FAR * This,
- /* [in] */ BSTR str,
- /* [retval][out] */ VARIANT_BOOL __RPC_FAR *b)
- {
-
- 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 = 4U;
- NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR *)&str,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[250] );
-
- NdrProxyGetBuffer(This, &_StubMsg);
- NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
- (unsigned char __RPC_FAR *)&str,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[250] );
-
- NdrProxySendReceive(This, &_StubMsg);
-
- if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
- NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[158] );
-
- *b = *(( VARIANT_BOOL __RPC_FAR * )_StubMsg.Buffer)++;
-
- _StubMsg.Buffer += 2;
- _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[104],
- ( void __RPC_FAR * )b);
- _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
- }
- RpcEndExcept
- return _RetVal;
- }
-
- void __RPC_STUB IStlStringList_Find_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase)
- {
- VARIANT_BOOL _M23;
- HRESULT _RetVal;
- MIDL_STUB_MESSAGE _StubMsg;
- void __RPC_FAR *_p_str;
- VARIANT_BOOL __RPC_FAR *b;
- BSTR str;
-
- NdrStubInitialize(
- _pRpcMessage,
- &_StubMsg,
- &Object_StubDesc,
- _pRpcChannelBuffer);
- _p_str = &str;
- MIDL_memset(
- _p_str,
- 0,
- sizeof( BSTR ));
- b = 0;
- RpcTryFinally
- {
- if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
- NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[158] );
-
- NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR * __RPC_FAR *)&_p_str,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[250],
- (unsigned char)0 );
-
- b = &_M23;
-
- *_pdwStubPhase = STUB_CALL_SERVER;
- _RetVal = (((IStlStringList *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> Find(
- (IStlStringList *) ((CStdStubBuffer *)This)->pvServerObject,
- str,
- b);
-
- *_pdwStubPhase = STUB_MARSHAL;
-
- _StubMsg.BufferLength = 2U + 6U;
- NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
- *(( VARIANT_BOOL __RPC_FAR * )_StubMsg.Buffer)++ = *b;
-
- _StubMsg.Buffer += 2;
- *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
-
- }
- RpcFinally
- {
- NdrUserMarshalFree( &_StubMsg,
- (unsigned char __RPC_FAR *)&str,
- &__MIDL_TypeFormatString.Format[250] );
-
- }
- RpcEndFinally
- _pRpcMessage->BufferLength =
- (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
-
- }
-
-
- /* [propput][id] */ HRESULT STDMETHODCALLTYPE IStlStringList_put_SetAt_Proxy(
- IStlStringList __RPC_FAR * This,
- /* [in] */ BSTR str)
- {
-
- 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 = 4U;
- NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR *)&str,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[260] );
-
- NdrProxyGetBuffer(This, &_StubMsg);
- NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
- (unsigned char __RPC_FAR *)&str,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[260] );
-
- NdrProxySendReceive(This, &_StubMsg);
-
- if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
- NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[168] );
-
- _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 IStlStringList_put_SetAt_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase)
- {
- HRESULT _RetVal;
- MIDL_STUB_MESSAGE _StubMsg;
- void __RPC_FAR *_p_str;
- BSTR str;
-
- NdrStubInitialize(
- _pRpcMessage,
- &_StubMsg,
- &Object_StubDesc,
- _pRpcChannelBuffer);
- _p_str = &str;
- MIDL_memset(
- _p_str,
- 0,
- sizeof( BSTR ));
- RpcTryFinally
- {
- if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
- NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[168] );
-
- NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR * __RPC_FAR *)&_p_str,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[260],
- (unsigned char)0 );
-
-
- *_pdwStubPhase = STUB_CALL_SERVER;
- _RetVal = (((IStlStringList *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> put_SetAt((IStlStringList *) ((CStdStubBuffer *)This)->pvServerObject,str);
-
- *_pdwStubPhase = STUB_MARSHAL;
-
- _StubMsg.BufferLength = 4U;
- NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
- *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
-
- }
- RpcFinally
- {
- NdrUserMarshalFree( &_StubMsg,
- (unsigned char __RPC_FAR *)&str,
- &__MIDL_TypeFormatString.Format[260] );
-
- }
- RpcEndFinally
- _pRpcMessage->BufferLength =
- (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
-
- }
-
-
- /* [propput][id] */ HRESULT STDMETHODCALLTYPE IStlStringList_put_Add_Proxy(
- IStlStringList __RPC_FAR * This,
- /* [in] */ BSTR str)
- {
-
- 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,
- 5);
-
-
-
- RpcTryFinally
- {
-
- _StubMsg.BufferLength = 4U;
- NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR *)&str,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[270] );
-
- NdrProxyGetBuffer(This, &_StubMsg);
- NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
- (unsigned char __RPC_FAR *)&str,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[270] );
-
- NdrProxySendReceive(This, &_StubMsg);
-
- if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
- NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[174] );
-
- _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 IStlStringList_put_Add_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase)
- {
- HRESULT _RetVal;
- MIDL_STUB_MESSAGE _StubMsg;
- void __RPC_FAR *_p_str;
- BSTR str;
-
- NdrStubInitialize(
- _pRpcMessage,
- &_StubMsg,
- &Object_StubDesc,
- _pRpcChannelBuffer);
- _p_str = &str;
- MIDL_memset(
- _p_str,
- 0,
- sizeof( BSTR ));
- RpcTryFinally
- {
- if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
- NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[174] );
-
- NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR * __RPC_FAR *)&_p_str,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[270],
- (unsigned char)0 );
-
-
- *_pdwStubPhase = STUB_CALL_SERVER;
- _RetVal = (((IStlStringList *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> put_Add((IStlStringList *) ((CStdStubBuffer *)This)->pvServerObject,str);
-
- *_pdwStubPhase = STUB_MARSHAL;
-
- _StubMsg.BufferLength = 4U;
- NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
- *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
-
- }
- RpcFinally
- {
- NdrUserMarshalFree( &_StubMsg,
- (unsigned char __RPC_FAR *)&str,
- &__MIDL_TypeFormatString.Format[270] );
-
- }
- RpcEndFinally
- _pRpcMessage->BufferLength =
- (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
-
- }
-
-
- /* [propput][id] */ HRESULT STDMETHODCALLTYPE IStlStringList_put_InsertBefore_Proxy(
- IStlStringList __RPC_FAR * This,
- /* [in] */ BSTR str)
- {
-
- 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,
- 6);
-
-
-
- RpcTryFinally
- {
-
- _StubMsg.BufferLength = 4U;
- NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR *)&str,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[280] );
-
- NdrProxyGetBuffer(This, &_StubMsg);
- NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
- (unsigned char __RPC_FAR *)&str,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[280] );
-
- NdrProxySendReceive(This, &_StubMsg);
-
- if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
- NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[180] );
-
- _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 IStlStringList_put_InsertBefore_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase)
- {
- HRESULT _RetVal;
- MIDL_STUB_MESSAGE _StubMsg;
- void __RPC_FAR *_p_str;
- BSTR str;
-
- NdrStubInitialize(
- _pRpcMessage,
- &_StubMsg,
- &Object_StubDesc,
- _pRpcChannelBuffer);
- _p_str = &str;
- MIDL_memset(
- _p_str,
- 0,
- sizeof( BSTR ));
- RpcTryFinally
- {
- if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
- NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[180] );
-
- NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR * __RPC_FAR *)&_p_str,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[280],
- (unsigned char)0 );
-
-
- *_pdwStubPhase = STUB_CALL_SERVER;
- _RetVal = (((IStlStringList *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> put_InsertBefore((IStlStringList *) ((CStdStubBuffer *)This)->pvServerObject,str);
-
- *_pdwStubPhase = STUB_MARSHAL;
-
- _StubMsg.BufferLength = 4U;
- NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
- *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
-
- }
- RpcFinally
- {
- NdrUserMarshalFree( &_StubMsg,
- (unsigned char __RPC_FAR *)&str,
- &__MIDL_TypeFormatString.Format[280] );
-
- }
- RpcEndFinally
- _pRpcMessage->BufferLength =
- (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
-
- }
-
-
- /* [propget][id] */ HRESULT STDMETHODCALLTYPE IStlStringList_get_Remove_Proxy(
- IStlStringList __RPC_FAR * This,
- /* [retval][out] */ BSTR __RPC_FAR *str)
- {
-
- HRESULT _RetVal;
-
- RPC_MESSAGE _RpcMessage;
-
- MIDL_STUB_MESSAGE _StubMsg;
-
- MIDL_memset(
- str,
- 0,
- sizeof( BSTR ));
- RpcTryExcept
- {
- NdrProxyInitialize(
- ( void __RPC_FAR * )This,
- ( PRPC_MESSAGE )&_RpcMessage,
- ( PMIDL_STUB_MESSAGE )&_StubMsg,
- ( PMIDL_STUB_DESC )&Object_StubDesc,
- 7);
-
-
-
- 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[186] );
-
- NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR * __RPC_FAR *)&str,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[294],
- (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[290],
- ( void __RPC_FAR * )str);
- _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
- }
- RpcEndExcept
- return _RetVal;
- }
-
- void __RPC_STUB IStlStringList_get_Remove_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase)
- {
- BSTR _M24;
- HRESULT _RetVal;
- MIDL_STUB_MESSAGE _StubMsg;
- BSTR __RPC_FAR *str;
-
- NdrStubInitialize(
- _pRpcMessage,
- &_StubMsg,
- &Object_StubDesc,
- _pRpcChannelBuffer);
- str = 0;
- RpcTryFinally
- {
- str = &_M24;
- MIDL_memset(
- str,
- 0,
- sizeof( BSTR ));
-
- *_pdwStubPhase = STUB_CALL_SERVER;
- _RetVal = (((IStlStringList *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> get_Remove((IStlStringList *) ((CStdStubBuffer *)This)->pvServerObject,str);
-
- *_pdwStubPhase = STUB_MARSHAL;
-
- _StubMsg.BufferLength = 4U + 11U;
- NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR *)str,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[294] );
-
- _StubMsg.BufferLength += 16;
-
- NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
- NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
- (unsigned char __RPC_FAR *)str,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[294] );
-
- _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
- *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
-
- }
- RpcFinally
- {
- NdrPointerFree( &_StubMsg,
- (unsigned char __RPC_FAR *)str,
- &__MIDL_TypeFormatString.Format[290] );
-
- }
- RpcEndFinally
- _pRpcMessage->BufferLength =
- (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
-
- }
-
-
- /* [id] */ HRESULT STDMETHODCALLTYPE IStlStringList_RemoveAll_Proxy(
- IStlStringList __RPC_FAR * This)
- {
-
- 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,
- 8);
-
-
-
- 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[34] );
-
- _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 IStlStringList_RemoveAll_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase)
- {
- HRESULT _RetVal;
- MIDL_STUB_MESSAGE _StubMsg;
-
- NdrStubInitialize(
- _pRpcMessage,
- &_StubMsg,
- &Object_StubDesc,
- _pRpcChannelBuffer);
- RpcTryFinally
- {
-
- *_pdwStubPhase = STUB_CALL_SERVER;
- _RetVal = (((IStlStringList *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> RemoveAll((IStlStringList *) ((CStdStubBuffer *)This)->pvServerObject);
-
- *_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);
-
- }
-
-
- /* [id] */ HRESULT STDMETHODCALLTYPE IStlStringList_First_Proxy(
- IStlStringList __RPC_FAR * This)
- {
-
- 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,
- 9);
-
-
-
- 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[34] );
-
- _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 IStlStringList_First_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase)
- {
- HRESULT _RetVal;
- MIDL_STUB_MESSAGE _StubMsg;
-
- NdrStubInitialize(
- _pRpcMessage,
- &_StubMsg,
- &Object_StubDesc,
- _pRpcChannelBuffer);
- RpcTryFinally
- {
-
- *_pdwStubPhase = STUB_CALL_SERVER;
- _RetVal = (((IStlStringList *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> First((IStlStringList *) ((CStdStubBuffer *)This)->pvServerObject);
-
- *_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);
-
- }
-
-
- /* [id] */ HRESULT STDMETHODCALLTYPE IStlStringList_Next_Proxy(
- IStlStringList __RPC_FAR * This,
- /* [out] */ BSTR __RPC_FAR *str,
- /* [retval][out] */ VARIANT_BOOL __RPC_FAR *b)
- {
-
- HRESULT _RetVal;
-
- RPC_MESSAGE _RpcMessage;
-
- MIDL_STUB_MESSAGE _StubMsg;
-
- MIDL_memset(
- str,
- 0,
- sizeof( BSTR ));
- RpcTryExcept
- {
- NdrProxyInitialize(
- ( void __RPC_FAR * )This,
- ( PRPC_MESSAGE )&_RpcMessage,
- ( PMIDL_STUB_MESSAGE )&_StubMsg,
- ( PMIDL_STUB_DESC )&Object_StubDesc,
- 10);
-
-
-
- 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[192] );
-
- NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR * __RPC_FAR *)&str,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[308],
- (unsigned char)0 );
-
- _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 1) & ~ 0x1);
- *b = *(( VARIANT_BOOL __RPC_FAR * )_StubMsg.Buffer)++;
-
- _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[304],
- ( void __RPC_FAR * )str);
- NdrClearOutParameters(
- ( PMIDL_STUB_MESSAGE )&_StubMsg,
- ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[104],
- ( void __RPC_FAR * )b);
- _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
- }
- RpcEndExcept
- return _RetVal;
- }
-
- void __RPC_STUB IStlStringList_Next_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase)
- {
- BSTR _M25;
- VARIANT_BOOL _M26;
- HRESULT _RetVal;
- MIDL_STUB_MESSAGE _StubMsg;
- VARIANT_BOOL __RPC_FAR *b;
- BSTR __RPC_FAR *str;
-
- NdrStubInitialize(
- _pRpcMessage,
- &_StubMsg,
- &Object_StubDesc,
- _pRpcChannelBuffer);
- str = 0;
- b = 0;
- RpcTryFinally
- {
- str = &_M25;
- MIDL_memset(
- str,
- 0,
- sizeof( BSTR ));
- b = &_M26;
-
- *_pdwStubPhase = STUB_CALL_SERVER;
- _RetVal = (((IStlStringList *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> Next(
- (IStlStringList *) ((CStdStubBuffer *)This)->pvServerObject,
- str,
- b);
-
- *_pdwStubPhase = STUB_MARSHAL;
-
- _StubMsg.BufferLength = 4U + 5U + 10U;
- NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR *)str,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[308] );
-
- _StubMsg.BufferLength += 16;
-
- NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
- NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
- (unsigned char __RPC_FAR *)str,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[308] );
-
- _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 1) & ~ 0x1);
- *(( VARIANT_BOOL __RPC_FAR * )_StubMsg.Buffer)++ = *b;
-
- _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
- *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
-
- }
- RpcFinally
- {
- NdrPointerFree( &_StubMsg,
- (unsigned char __RPC_FAR *)str,
- &__MIDL_TypeFormatString.Format[304] );
-
- }
- RpcEndFinally
- _pRpcMessage->BufferLength =
- (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
-
- }
-
-
- /* [propget][id] */ HRESULT STDMETHODCALLTYPE IStlStringList_get_Count_Proxy(
- IStlStringList __RPC_FAR * This,
- /* [retval][out] */ UINT __RPC_FAR *dw)
- {
-
- 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,
- 11);
-
-
-
- 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[56] );
-
- *dw = *(( UINT __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[136],
- ( void __RPC_FAR * )dw);
- _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
- }
- RpcEndExcept
- return _RetVal;
- }
-
- void __RPC_STUB IStlStringList_get_Count_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase)
- {
- UINT _M27;
- HRESULT _RetVal;
- MIDL_STUB_MESSAGE _StubMsg;
- UINT __RPC_FAR *dw;
-
- NdrStubInitialize(
- _pRpcMessage,
- &_StubMsg,
- &Object_StubDesc,
- _pRpcChannelBuffer);
- dw = 0;
- RpcTryFinally
- {
- dw = &_M27;
-
- *_pdwStubPhase = STUB_CALL_SERVER;
- _RetVal = (((IStlStringList *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> get_Count((IStlStringList *) ((CStdStubBuffer *)This)->pvServerObject,dw);
-
- *_pdwStubPhase = STUB_MARSHAL;
-
- _StubMsg.BufferLength = 4U + 4U;
- NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
- *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = *dw;
-
- *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
-
- }
- RpcFinally
- {
- }
- RpcEndFinally
- _pRpcMessage->BufferLength =
- (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
-
- }
-
- const CINTERFACE_PROXY_VTABLE(12) _IStlStringListProxyVtbl =
- {
- &IID_IStlStringList,
- IUnknown_QueryInterface_Proxy,
- IUnknown_AddRef_Proxy,
- IUnknown_Release_Proxy ,
- IStlStringList_Find_Proxy ,
- IStlStringList_put_SetAt_Proxy ,
- IStlStringList_put_Add_Proxy ,
- IStlStringList_put_InsertBefore_Proxy ,
- IStlStringList_get_Remove_Proxy ,
- IStlStringList_RemoveAll_Proxy ,
- IStlStringList_First_Proxy ,
- IStlStringList_Next_Proxy ,
- IStlStringList_get_Count_Proxy
- };
-
-
- static const PRPC_STUB_FUNCTION IStlStringList_table[] =
- {
- IStlStringList_Find_Stub,
- IStlStringList_put_SetAt_Stub,
- IStlStringList_put_Add_Stub,
- IStlStringList_put_InsertBefore_Stub,
- IStlStringList_get_Remove_Stub,
- IStlStringList_RemoveAll_Stub,
- IStlStringList_First_Stub,
- IStlStringList_Next_Stub,
- IStlStringList_get_Count_Stub
- };
-
- const CInterfaceStubVtbl _IStlStringListStubVtbl =
- {
- &IID_IStlStringList,
- 0,
- 12,
- &IStlStringList_table[-3],
- CStdStubBuffer_METHODS
- };
-
-
- /* Object interface: IStlMyStructList, ver. 0.0,
- GUID={0x7CE086E7,0x3E78,0x11D0,{0xAE,0x6B,0x00,0xC0,0x4F,0xD7,0xD0,0x6E}} */
-
-
- extern const MIDL_STUB_DESC Object_StubDesc;
-
-
- #pragma code_seg(".orpc")
-
- /* [id] */ HRESULT STDMETHODCALLTYPE IStlMyStructList_Find_Proxy(
- IStlMyStructList __RPC_FAR * This,
- /* [in] */ IMyStruct __RPC_FAR *str,
- /* [retval][out] */ VARIANT_BOOL __RPC_FAR *b)
- {
-
- 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 = 0U;
- NdrComplexStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR *)str,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[56] );
-
- NdrProxyGetBuffer(This, &_StubMsg);
- NdrComplexStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
- (unsigned char __RPC_FAR *)str,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[56] );
-
- NdrProxySendReceive(This, &_StubMsg);
-
- if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
- NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[202] );
-
- *b = *(( VARIANT_BOOL __RPC_FAR * )_StubMsg.Buffer)++;
-
- _StubMsg.Buffer += 2;
- _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[104],
- ( void __RPC_FAR * )b);
- _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
- }
- RpcEndExcept
- return _RetVal;
- }
-
- void __RPC_STUB IStlMyStructList_Find_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase)
- {
- VARIANT_BOOL _M28;
- HRESULT _RetVal;
- MIDL_STUB_MESSAGE _StubMsg;
- VARIANT_BOOL __RPC_FAR *b;
- IMyStruct __RPC_FAR *str;
-
- NdrStubInitialize(
- _pRpcMessage,
- &_StubMsg,
- &Object_StubDesc,
- _pRpcChannelBuffer);
- str = 0;
- b = 0;
- RpcTryFinally
- {
- if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
- NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[202] );
-
- NdrComplexStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR * __RPC_FAR *)&str,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[56],
- (unsigned char)0 );
-
- b = &_M28;
-
- *_pdwStubPhase = STUB_CALL_SERVER;
- _RetVal = (((IStlMyStructList *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> Find(
- (IStlMyStructList *) ((CStdStubBuffer *)This)->pvServerObject,
- str,
- b);
-
- *_pdwStubPhase = STUB_MARSHAL;
-
- _StubMsg.BufferLength = 2U + 6U;
- NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
- *(( VARIANT_BOOL __RPC_FAR * )_StubMsg.Buffer)++ = *b;
-
- _StubMsg.Buffer += 2;
- *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
-
- }
- RpcFinally
- {
- NdrPointerFree( &_StubMsg,
- (unsigned char __RPC_FAR *)str,
- &__MIDL_TypeFormatString.Format[82] );
-
- }
- RpcEndFinally
- _pRpcMessage->BufferLength =
- (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
-
- }
-
-
- /* [propput][id] */ HRESULT STDMETHODCALLTYPE IStlMyStructList_put_SetAt_Proxy(
- IStlMyStructList __RPC_FAR * This,
- /* [in] */ IMyStruct __RPC_FAR *str)
- {
-
- 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;
- NdrComplexStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR *)str,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[56] );
-
- NdrProxyGetBuffer(This, &_StubMsg);
- NdrComplexStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
- (unsigned char __RPC_FAR *)str,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[56] );
-
- NdrProxySendReceive(This, &_StubMsg);
-
- if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
- NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[212] );
-
- _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 IStlMyStructList_put_SetAt_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase)
- {
- HRESULT _RetVal;
- MIDL_STUB_MESSAGE _StubMsg;
- IMyStruct __RPC_FAR *str;
-
- NdrStubInitialize(
- _pRpcMessage,
- &_StubMsg,
- &Object_StubDesc,
- _pRpcChannelBuffer);
- str = 0;
- RpcTryFinally
- {
- if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
- NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[212] );
-
- NdrComplexStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR * __RPC_FAR *)&str,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[56],
- (unsigned char)0 );
-
-
- *_pdwStubPhase = STUB_CALL_SERVER;
- _RetVal = (((IStlMyStructList *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> put_SetAt((IStlMyStructList *) ((CStdStubBuffer *)This)->pvServerObject,str);
-
- *_pdwStubPhase = STUB_MARSHAL;
-
- _StubMsg.BufferLength = 4U;
- NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
- *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
-
- }
- RpcFinally
- {
- NdrPointerFree( &_StubMsg,
- (unsigned char __RPC_FAR *)str,
- &__MIDL_TypeFormatString.Format[82] );
-
- }
- RpcEndFinally
- _pRpcMessage->BufferLength =
- (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
-
- }
-
-
- /* [propput][id] */ HRESULT STDMETHODCALLTYPE IStlMyStructList_put_Add_Proxy(
- IStlMyStructList __RPC_FAR * This,
- /* [in] */ IMyStruct __RPC_FAR *str)
- {
-
- 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,
- 5);
-
-
-
- RpcTryFinally
- {
-
- _StubMsg.BufferLength = 0U;
- NdrComplexStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR *)str,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[56] );
-
- NdrProxyGetBuffer(This, &_StubMsg);
- NdrComplexStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
- (unsigned char __RPC_FAR *)str,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[56] );
-
- NdrProxySendReceive(This, &_StubMsg);
-
- if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
- NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[212] );
-
- _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 IStlMyStructList_put_Add_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase)
- {
- HRESULT _RetVal;
- MIDL_STUB_MESSAGE _StubMsg;
- IMyStruct __RPC_FAR *str;
-
- NdrStubInitialize(
- _pRpcMessage,
- &_StubMsg,
- &Object_StubDesc,
- _pRpcChannelBuffer);
- str = 0;
- RpcTryFinally
- {
- if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
- NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[212] );
-
- NdrComplexStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR * __RPC_FAR *)&str,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[56],
- (unsigned char)0 );
-
-
- *_pdwStubPhase = STUB_CALL_SERVER;
- _RetVal = (((IStlMyStructList *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> put_Add((IStlMyStructList *) ((CStdStubBuffer *)This)->pvServerObject,str);
-
- *_pdwStubPhase = STUB_MARSHAL;
-
- _StubMsg.BufferLength = 4U;
- NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
- *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
-
- }
- RpcFinally
- {
- NdrPointerFree( &_StubMsg,
- (unsigned char __RPC_FAR *)str,
- &__MIDL_TypeFormatString.Format[82] );
-
- }
- RpcEndFinally
- _pRpcMessage->BufferLength =
- (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
-
- }
-
-
- /* [propput][id] */ HRESULT STDMETHODCALLTYPE IStlMyStructList_put_InsertBefore_Proxy(
- IStlMyStructList __RPC_FAR * This,
- /* [in] */ IMyStruct __RPC_FAR *str)
- {
-
- 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,
- 6);
-
-
-
- RpcTryFinally
- {
-
- _StubMsg.BufferLength = 0U;
- NdrComplexStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR *)str,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[56] );
-
- NdrProxyGetBuffer(This, &_StubMsg);
- NdrComplexStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
- (unsigned char __RPC_FAR *)str,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[56] );
-
- NdrProxySendReceive(This, &_StubMsg);
-
- if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
- NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[212] );
-
- _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 IStlMyStructList_put_InsertBefore_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase)
- {
- HRESULT _RetVal;
- MIDL_STUB_MESSAGE _StubMsg;
- IMyStruct __RPC_FAR *str;
-
- NdrStubInitialize(
- _pRpcMessage,
- &_StubMsg,
- &Object_StubDesc,
- _pRpcChannelBuffer);
- str = 0;
- RpcTryFinally
- {
- if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
- NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[212] );
-
- NdrComplexStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR * __RPC_FAR *)&str,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[56],
- (unsigned char)0 );
-
-
- *_pdwStubPhase = STUB_CALL_SERVER;
- _RetVal = (((IStlMyStructList *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> put_InsertBefore((IStlMyStructList *) ((CStdStubBuffer *)This)->pvServerObject,str);
-
- *_pdwStubPhase = STUB_MARSHAL;
-
- _StubMsg.BufferLength = 4U;
- NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
- *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
-
- }
- RpcFinally
- {
- NdrPointerFree( &_StubMsg,
- (unsigned char __RPC_FAR *)str,
- &__MIDL_TypeFormatString.Format[82] );
-
- }
- RpcEndFinally
- _pRpcMessage->BufferLength =
- (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
-
- }
-
-
- /* [propget][id] */ HRESULT STDMETHODCALLTYPE IStlMyStructList_get_Remove_Proxy(
- IStlMyStructList __RPC_FAR * This,
- /* [retval][out] */ IMyStruct __RPC_FAR *__RPC_FAR *str)
- {
-
- HRESULT _RetVal;
-
- RPC_MESSAGE _RpcMessage;
-
- MIDL_STUB_MESSAGE _StubMsg;
-
- *str = 0;
- RpcTryExcept
- {
- NdrProxyInitialize(
- ( void __RPC_FAR * )This,
- ( PRPC_MESSAGE )&_RpcMessage,
- ( PMIDL_STUB_MESSAGE )&_StubMsg,
- ( PMIDL_STUB_DESC )&Object_StubDesc,
- 7);
-
-
-
- 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[218] );
-
- NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR * __RPC_FAR *)&str,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[34],
- (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[34],
- ( void __RPC_FAR * )str);
- _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
- }
- RpcEndExcept
- return _RetVal;
- }
-
- void __RPC_STUB IStlMyStructList_get_Remove_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase)
- {
- IMyStruct __RPC_FAR *_M29;
- HRESULT _RetVal;
- MIDL_STUB_MESSAGE _StubMsg;
- IMyStruct __RPC_FAR *__RPC_FAR *str;
-
- NdrStubInitialize(
- _pRpcMessage,
- &_StubMsg,
- &Object_StubDesc,
- _pRpcChannelBuffer);
- str = 0;
- RpcTryFinally
- {
- str = &_M29;
- _M29 = 0;
-
- *_pdwStubPhase = STUB_CALL_SERVER;
- _RetVal = (((IStlMyStructList *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> get_Remove((IStlMyStructList *) ((CStdStubBuffer *)This)->pvServerObject,str);
-
- *_pdwStubPhase = STUB_MARSHAL;
-
- _StubMsg.BufferLength = 4U + 11U;
- NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR *)str,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[34] );
-
- _StubMsg.BufferLength += 16;
-
- NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
- NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
- (unsigned char __RPC_FAR *)str,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[34] );
-
- _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
- *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
-
- }
- RpcFinally
- {
- NdrPointerFree( &_StubMsg,
- (unsigned char __RPC_FAR *)str,
- &__MIDL_TypeFormatString.Format[34] );
-
- }
- RpcEndFinally
- _pRpcMessage->BufferLength =
- (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
-
- }
-
-
- /* [id] */ HRESULT STDMETHODCALLTYPE IStlMyStructList_RemoveAll_Proxy(
- IStlMyStructList __RPC_FAR * This)
- {
-
- 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,
- 8);
-
-
-
- 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[34] );
-
- _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 IStlMyStructList_RemoveAll_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase)
- {
- HRESULT _RetVal;
- MIDL_STUB_MESSAGE _StubMsg;
-
- NdrStubInitialize(
- _pRpcMessage,
- &_StubMsg,
- &Object_StubDesc,
- _pRpcChannelBuffer);
- RpcTryFinally
- {
-
- *_pdwStubPhase = STUB_CALL_SERVER;
- _RetVal = (((IStlMyStructList *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> RemoveAll((IStlMyStructList *) ((CStdStubBuffer *)This)->pvServerObject);
-
- *_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);
-
- }
-
-
- /* [id] */ HRESULT STDMETHODCALLTYPE IStlMyStructList_First_Proxy(
- IStlMyStructList __RPC_FAR * This)
- {
-
- 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,
- 9);
-
-
-
- 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[34] );
-
- _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 IStlMyStructList_First_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase)
- {
- HRESULT _RetVal;
- MIDL_STUB_MESSAGE _StubMsg;
-
- NdrStubInitialize(
- _pRpcMessage,
- &_StubMsg,
- &Object_StubDesc,
- _pRpcChannelBuffer);
- RpcTryFinally
- {
-
- *_pdwStubPhase = STUB_CALL_SERVER;
- _RetVal = (((IStlMyStructList *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> First((IStlMyStructList *) ((CStdStubBuffer *)This)->pvServerObject);
-
- *_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);
-
- }
-
-
- /* [id] */ HRESULT STDMETHODCALLTYPE IStlMyStructList_Next_Proxy(
- IStlMyStructList __RPC_FAR * This,
- /* [out] */ IMyStruct __RPC_FAR *__RPC_FAR *str,
- /* [retval][out] */ VARIANT_BOOL __RPC_FAR *b)
- {
-
- HRESULT _RetVal;
-
- RPC_MESSAGE _RpcMessage;
-
- MIDL_STUB_MESSAGE _StubMsg;
-
- *str = 0;
- RpcTryExcept
- {
- NdrProxyInitialize(
- ( void __RPC_FAR * )This,
- ( PRPC_MESSAGE )&_RpcMessage,
- ( PMIDL_STUB_MESSAGE )&_StubMsg,
- ( PMIDL_STUB_DESC )&Object_StubDesc,
- 10);
-
-
-
- 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[224] );
-
- NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR * __RPC_FAR *)&str,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[34],
- (unsigned char)0 );
-
- _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 1) & ~ 0x1);
- *b = *(( VARIANT_BOOL __RPC_FAR * )_StubMsg.Buffer)++;
-
- _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[34],
- ( void __RPC_FAR * )str);
- NdrClearOutParameters(
- ( PMIDL_STUB_MESSAGE )&_StubMsg,
- ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[104],
- ( void __RPC_FAR * )b);
- _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
- }
- RpcEndExcept
- return _RetVal;
- }
-
- void __RPC_STUB IStlMyStructList_Next_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase)
- {
- IMyStruct __RPC_FAR *_M30;
- VARIANT_BOOL _M31;
- HRESULT _RetVal;
- MIDL_STUB_MESSAGE _StubMsg;
- VARIANT_BOOL __RPC_FAR *b;
- IMyStruct __RPC_FAR *__RPC_FAR *str;
-
- NdrStubInitialize(
- _pRpcMessage,
- &_StubMsg,
- &Object_StubDesc,
- _pRpcChannelBuffer);
- str = 0;
- b = 0;
- RpcTryFinally
- {
- str = &_M30;
- _M30 = 0;
- b = &_M31;
-
- *_pdwStubPhase = STUB_CALL_SERVER;
- _RetVal = (((IStlMyStructList *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> Next(
- (IStlMyStructList *) ((CStdStubBuffer *)This)->pvServerObject,
- str,
- b);
-
- *_pdwStubPhase = STUB_MARSHAL;
-
- _StubMsg.BufferLength = 4U + 5U + 10U;
- NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR *)str,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[34] );
-
- _StubMsg.BufferLength += 16;
-
- NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
- NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
- (unsigned char __RPC_FAR *)str,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[34] );
-
- _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 1) & ~ 0x1);
- *(( VARIANT_BOOL __RPC_FAR * )_StubMsg.Buffer)++ = *b;
-
- _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
- *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
-
- }
- RpcFinally
- {
- NdrPointerFree( &_StubMsg,
- (unsigned char __RPC_FAR *)str,
- &__MIDL_TypeFormatString.Format[34] );
-
- }
- RpcEndFinally
- _pRpcMessage->BufferLength =
- (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
-
- }
-
-
- /* [propget][id] */ HRESULT STDMETHODCALLTYPE IStlMyStructList_get_Count_Proxy(
- IStlMyStructList __RPC_FAR * This,
- /* [retval][out] */ UINT __RPC_FAR *dw)
- {
-
- 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,
- 11);
-
-
-
- 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[56] );
-
- *dw = *(( UINT __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[136],
- ( void __RPC_FAR * )dw);
- _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
- }
- RpcEndExcept
- return _RetVal;
- }
-
- void __RPC_STUB IStlMyStructList_get_Count_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase)
- {
- UINT _M32;
- HRESULT _RetVal;
- MIDL_STUB_MESSAGE _StubMsg;
- UINT __RPC_FAR *dw;
-
- NdrStubInitialize(
- _pRpcMessage,
- &_StubMsg,
- &Object_StubDesc,
- _pRpcChannelBuffer);
- dw = 0;
- RpcTryFinally
- {
- dw = &_M32;
-
- *_pdwStubPhase = STUB_CALL_SERVER;
- _RetVal = (((IStlMyStructList *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> get_Count((IStlMyStructList *) ((CStdStubBuffer *)This)->pvServerObject,dw);
-
- *_pdwStubPhase = STUB_MARSHAL;
-
- _StubMsg.BufferLength = 4U + 4U;
- NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
- *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = *dw;
-
- *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
-
- }
- RpcFinally
- {
- }
- RpcEndFinally
- _pRpcMessage->BufferLength =
- (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
-
- }
-
- const CINTERFACE_PROXY_VTABLE(12) _IStlMyStructListProxyVtbl =
- {
- &IID_IStlMyStructList,
- IUnknown_QueryInterface_Proxy,
- IUnknown_AddRef_Proxy,
- IUnknown_Release_Proxy ,
- IStlMyStructList_Find_Proxy ,
- IStlMyStructList_put_SetAt_Proxy ,
- IStlMyStructList_put_Add_Proxy ,
- IStlMyStructList_put_InsertBefore_Proxy ,
- IStlMyStructList_get_Remove_Proxy ,
- IStlMyStructList_RemoveAll_Proxy ,
- IStlMyStructList_First_Proxy ,
- IStlMyStructList_Next_Proxy ,
- IStlMyStructList_get_Count_Proxy
- };
-
-
- static const PRPC_STUB_FUNCTION IStlMyStructList_table[] =
- {
- IStlMyStructList_Find_Stub,
- IStlMyStructList_put_SetAt_Stub,
- IStlMyStructList_put_Add_Stub,
- IStlMyStructList_put_InsertBefore_Stub,
- IStlMyStructList_get_Remove_Stub,
- IStlMyStructList_RemoveAll_Stub,
- IStlMyStructList_First_Stub,
- IStlMyStructList_Next_Stub,
- IStlMyStructList_get_Count_Stub
- };
-
- const CInterfaceStubVtbl _IStlMyStructListStubVtbl =
- {
- &IID_IStlMyStructList,
- 0,
- 12,
- &IStlMyStructList_table[-3],
- CStdStubBuffer_METHODS
- };
-
-
- /* Object interface: IStlintList, ver. 0.0,
- GUID={0x7CE086EC,0x3E78,0x11D0,{0xAE,0x6B,0x00,0xC0,0x4F,0xD7,0xD0,0x6E}} */
-
-
- extern const MIDL_STUB_DESC Object_StubDesc;
-
-
- #pragma code_seg(".orpc")
-
- /* [id] */ HRESULT STDMETHODCALLTYPE IStlintList_Find_Proxy(
- IStlintList __RPC_FAR * This,
- /* [in] */ long n,
- /* [retval][out] */ VARIANT_BOOL __RPC_FAR *b)
- {
-
- 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 = 4U;
- NdrProxyGetBuffer(This, &_StubMsg);
- *(( long __RPC_FAR * )_StubMsg.Buffer)++ = n;
-
- NdrProxySendReceive(This, &_StubMsg);
-
- if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
- NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[234] );
-
- *b = *(( VARIANT_BOOL __RPC_FAR * )_StubMsg.Buffer)++;
-
- _StubMsg.Buffer += 2;
- _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[104],
- ( void __RPC_FAR * )b);
- _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
- }
- RpcEndExcept
- return _RetVal;
- }
-
- void __RPC_STUB IStlintList_Find_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase)
- {
- VARIANT_BOOL _M33;
- HRESULT _RetVal;
- MIDL_STUB_MESSAGE _StubMsg;
- VARIANT_BOOL __RPC_FAR *b;
- long n;
-
- NdrStubInitialize(
- _pRpcMessage,
- &_StubMsg,
- &Object_StubDesc,
- _pRpcChannelBuffer);
- b = 0;
- RpcTryFinally
- {
- if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
- NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[234] );
-
- n = *(( long __RPC_FAR * )_StubMsg.Buffer)++;
-
- b = &_M33;
-
- *_pdwStubPhase = STUB_CALL_SERVER;
- _RetVal = (((IStlintList *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> Find(
- (IStlintList *) ((CStdStubBuffer *)This)->pvServerObject,
- n,
- b);
-
- *_pdwStubPhase = STUB_MARSHAL;
-
- _StubMsg.BufferLength = 2U + 6U;
- NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
- *(( VARIANT_BOOL __RPC_FAR * )_StubMsg.Buffer)++ = *b;
-
- _StubMsg.Buffer += 2;
- *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
-
- }
- RpcFinally
- {
- }
- RpcEndFinally
- _pRpcMessage->BufferLength =
- (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
-
- }
-
-
- /* [propput][id] */ HRESULT STDMETHODCALLTYPE IStlintList_put_SetAt_Proxy(
- IStlintList __RPC_FAR * This,
- /* [in] */ long n)
- {
-
- 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 = 4U;
- NdrProxyGetBuffer(This, &_StubMsg);
- *(( long __RPC_FAR * )_StubMsg.Buffer)++ = n;
-
- NdrProxySendReceive(This, &_StubMsg);
-
- if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
- NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[242] );
-
- _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 IStlintList_put_SetAt_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase)
- {
- HRESULT _RetVal;
- MIDL_STUB_MESSAGE _StubMsg;
- long n;
-
- 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[242] );
-
- n = *(( long __RPC_FAR * )_StubMsg.Buffer)++;
-
-
- *_pdwStubPhase = STUB_CALL_SERVER;
- _RetVal = (((IStlintList *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> put_SetAt((IStlintList *) ((CStdStubBuffer *)This)->pvServerObject,n);
-
- *_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);
-
- }
-
-
- /* [propput][id] */ HRESULT STDMETHODCALLTYPE IStlintList_put_Add_Proxy(
- IStlintList __RPC_FAR * This,
- /* [in] */ long n)
- {
-
- 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,
- 5);
-
-
-
- RpcTryFinally
- {
-
- _StubMsg.BufferLength = 4U;
- NdrProxyGetBuffer(This, &_StubMsg);
- *(( long __RPC_FAR * )_StubMsg.Buffer)++ = n;
-
- NdrProxySendReceive(This, &_StubMsg);
-
- if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
- NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[242] );
-
- _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 IStlintList_put_Add_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase)
- {
- HRESULT _RetVal;
- MIDL_STUB_MESSAGE _StubMsg;
- long n;
-
- 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[242] );
-
- n = *(( long __RPC_FAR * )_StubMsg.Buffer)++;
-
-
- *_pdwStubPhase = STUB_CALL_SERVER;
- _RetVal = (((IStlintList *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> put_Add((IStlintList *) ((CStdStubBuffer *)This)->pvServerObject,n);
-
- *_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);
-
- }
-
-
- /* [propput][id] */ HRESULT STDMETHODCALLTYPE IStlintList_put_InsertBefore_Proxy(
- IStlintList __RPC_FAR * This,
- /* [in] */ long n)
- {
-
- 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,
- 6);
-
-
-
- RpcTryFinally
- {
-
- _StubMsg.BufferLength = 4U;
- NdrProxyGetBuffer(This, &_StubMsg);
- *(( long __RPC_FAR * )_StubMsg.Buffer)++ = n;
-
- NdrProxySendReceive(This, &_StubMsg);
-
- if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
- NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[242] );
-
- _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 IStlintList_put_InsertBefore_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase)
- {
- HRESULT _RetVal;
- MIDL_STUB_MESSAGE _StubMsg;
- long n;
-
- 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[242] );
-
- n = *(( long __RPC_FAR * )_StubMsg.Buffer)++;
-
-
- *_pdwStubPhase = STUB_CALL_SERVER;
- _RetVal = (((IStlintList *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> put_InsertBefore((IStlintList *) ((CStdStubBuffer *)This)->pvServerObject,n);
-
- *_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);
-
- }
-
-
- /* [propget][id] */ HRESULT STDMETHODCALLTYPE IStlintList_get_Remove_Proxy(
- IStlintList __RPC_FAR * This,
- /* [retval][out] */ long __RPC_FAR *n)
- {
-
- 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,
- 7);
-
-
-
- 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[56] );
-
- *n = *(( 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[136],
- ( void __RPC_FAR * )n);
- _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
- }
- RpcEndExcept
- return _RetVal;
- }
-
- void __RPC_STUB IStlintList_get_Remove_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase)
- {
- long _M34;
- HRESULT _RetVal;
- MIDL_STUB_MESSAGE _StubMsg;
- long __RPC_FAR *n;
-
- NdrStubInitialize(
- _pRpcMessage,
- &_StubMsg,
- &Object_StubDesc,
- _pRpcChannelBuffer);
- n = 0;
- RpcTryFinally
- {
- n = &_M34;
-
- *_pdwStubPhase = STUB_CALL_SERVER;
- _RetVal = (((IStlintList *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> get_Remove((IStlintList *) ((CStdStubBuffer *)This)->pvServerObject,n);
-
- *_pdwStubPhase = STUB_MARSHAL;
-
- _StubMsg.BufferLength = 4U + 4U;
- NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
- *(( long __RPC_FAR * )_StubMsg.Buffer)++ = *n;
-
- *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
-
- }
- RpcFinally
- {
- }
- RpcEndFinally
- _pRpcMessage->BufferLength =
- (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
-
- }
-
-
- /* [id] */ HRESULT STDMETHODCALLTYPE IStlintList_RemoveAll_Proxy(
- IStlintList __RPC_FAR * This)
- {
-
- 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,
- 8);
-
-
-
- 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[34] );
-
- _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 IStlintList_RemoveAll_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase)
- {
- HRESULT _RetVal;
- MIDL_STUB_MESSAGE _StubMsg;
-
- NdrStubInitialize(
- _pRpcMessage,
- &_StubMsg,
- &Object_StubDesc,
- _pRpcChannelBuffer);
- RpcTryFinally
- {
-
- *_pdwStubPhase = STUB_CALL_SERVER;
- _RetVal = (((IStlintList *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> RemoveAll((IStlintList *) ((CStdStubBuffer *)This)->pvServerObject);
-
- *_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);
-
- }
-
-
- /* [id] */ HRESULT STDMETHODCALLTYPE IStlintList_First_Proxy(
- IStlintList __RPC_FAR * This)
- {
-
- 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,
- 9);
-
-
-
- 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[34] );
-
- _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 IStlintList_First_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase)
- {
- HRESULT _RetVal;
- MIDL_STUB_MESSAGE _StubMsg;
-
- NdrStubInitialize(
- _pRpcMessage,
- &_StubMsg,
- &Object_StubDesc,
- _pRpcChannelBuffer);
- RpcTryFinally
- {
-
- *_pdwStubPhase = STUB_CALL_SERVER;
- _RetVal = (((IStlintList *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> First((IStlintList *) ((CStdStubBuffer *)This)->pvServerObject);
-
- *_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);
-
- }
-
-
- /* [id] */ HRESULT STDMETHODCALLTYPE IStlintList_Next_Proxy(
- IStlintList __RPC_FAR * This,
- /* [out] */ long __RPC_FAR *n,
- /* [retval][out] */ VARIANT_BOOL __RPC_FAR *b)
- {
-
- 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,
- 10);
-
-
-
- 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[246] );
-
- *n = *(( long __RPC_FAR * )_StubMsg.Buffer)++;
-
- *b = *(( VARIANT_BOOL __RPC_FAR * )_StubMsg.Buffer)++;
-
- _StubMsg.Buffer += 2;
- _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[136],
- ( void __RPC_FAR * )n);
- NdrClearOutParameters(
- ( PMIDL_STUB_MESSAGE )&_StubMsg,
- ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[104],
- ( void __RPC_FAR * )b);
- _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
- }
- RpcEndExcept
- return _RetVal;
- }
-
- void __RPC_STUB IStlintList_Next_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase)
- {
- long _M35;
- VARIANT_BOOL _M36;
- HRESULT _RetVal;
- MIDL_STUB_MESSAGE _StubMsg;
- VARIANT_BOOL __RPC_FAR *b;
- long __RPC_FAR *n;
-
- NdrStubInitialize(
- _pRpcMessage,
- &_StubMsg,
- &Object_StubDesc,
- _pRpcChannelBuffer);
- n = 0;
- b = 0;
- RpcTryFinally
- {
- n = &_M35;
- b = &_M36;
-
- *_pdwStubPhase = STUB_CALL_SERVER;
- _RetVal = (((IStlintList *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> Next(
- (IStlintList *) ((CStdStubBuffer *)This)->pvServerObject,
- n,
- b);
-
- *_pdwStubPhase = STUB_MARSHAL;
-
- _StubMsg.BufferLength = 4U + 2U + 6U;
- NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
- *(( long __RPC_FAR * )_StubMsg.Buffer)++ = *n;
-
- *(( VARIANT_BOOL __RPC_FAR * )_StubMsg.Buffer)++ = *b;
-
- _StubMsg.Buffer += 2;
- *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
-
- }
- RpcFinally
- {
- }
- RpcEndFinally
- _pRpcMessage->BufferLength =
- (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
-
- }
-
-
- /* [propget][id] */ HRESULT STDMETHODCALLTYPE IStlintList_get_Count_Proxy(
- IStlintList __RPC_FAR * This,
- /* [retval][out] */ UINT __RPC_FAR *dw)
- {
-
- 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,
- 11);
-
-
-
- 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[56] );
-
- *dw = *(( UINT __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[136],
- ( void __RPC_FAR * )dw);
- _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
- }
- RpcEndExcept
- return _RetVal;
- }
-
- void __RPC_STUB IStlintList_get_Count_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase)
- {
- UINT _M37;
- HRESULT _RetVal;
- MIDL_STUB_MESSAGE _StubMsg;
- UINT __RPC_FAR *dw;
-
- NdrStubInitialize(
- _pRpcMessage,
- &_StubMsg,
- &Object_StubDesc,
- _pRpcChannelBuffer);
- dw = 0;
- RpcTryFinally
- {
- dw = &_M37;
-
- *_pdwStubPhase = STUB_CALL_SERVER;
- _RetVal = (((IStlintList *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> get_Count((IStlintList *) ((CStdStubBuffer *)This)->pvServerObject,dw);
-
- *_pdwStubPhase = STUB_MARSHAL;
-
- _StubMsg.BufferLength = 4U + 4U;
- NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
- *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = *dw;
-
- *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
-
- }
- RpcFinally
- {
- }
- RpcEndFinally
- _pRpcMessage->BufferLength =
- (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
-
- }
-
- const CINTERFACE_PROXY_VTABLE(12) _IStlintListProxyVtbl =
- {
- &IID_IStlintList,
- IUnknown_QueryInterface_Proxy,
- IUnknown_AddRef_Proxy,
- IUnknown_Release_Proxy ,
- IStlintList_Find_Proxy ,
- IStlintList_put_SetAt_Proxy ,
- IStlintList_put_Add_Proxy ,
- IStlintList_put_InsertBefore_Proxy ,
- IStlintList_get_Remove_Proxy ,
- IStlintList_RemoveAll_Proxy ,
- IStlintList_First_Proxy ,
- IStlintList_Next_Proxy ,
- IStlintList_get_Count_Proxy
- };
-
-
- static const PRPC_STUB_FUNCTION IStlintList_table[] =
- {
- IStlintList_Find_Stub,
- IStlintList_put_SetAt_Stub,
- IStlintList_put_Add_Stub,
- IStlintList_put_InsertBefore_Stub,
- IStlintList_get_Remove_Stub,
- IStlintList_RemoveAll_Stub,
- IStlintList_First_Stub,
- IStlintList_Next_Stub,
- IStlintList_get_Count_Stub
- };
-
- const CInterfaceStubVtbl _IStlintListStubVtbl =
- {
- &IID_IStlintList,
- 0,
- 12,
- &IStlintList_table[-3],
- CStdStubBuffer_METHODS
- };
-
-
- /* Object interface: IStlArrays, ver. 0.0,
- GUID={0x7CE086F1,0x3E78,0x11D0,{0xAE,0x6B,0x00,0xC0,0x4F,0xD7,0xD0,0x6E}} */
-
-
- extern const MIDL_STUB_DESC Object_StubDesc;
-
-
- #pragma code_seg(".orpc")
- const CINTERFACE_PROXY_VTABLE(3) _IStlArraysProxyVtbl =
- {
- &IID_IStlArrays,
- IUnknown_QueryInterface_Proxy,
- IUnknown_AddRef_Proxy,
- IUnknown_Release_Proxy
- };
-
-
- static const PRPC_STUB_FUNCTION IStlArrays_table[] =
- {
- 0 /* a dummy for an empty interface */
- };
-
- const CInterfaceStubVtbl _IStlArraysStubVtbl =
- {
- &IID_IStlArrays,
- 0,
- 3,
- &IStlArrays_table[-3],
- CStdStubBuffer_METHODS
- };
-
-
- /* Object interface: IStlDWordArray, ver. 0.0,
- GUID={0x7CE086F6,0x3E78,0x11D0,{0xAE,0x6B,0x00,0xC0,0x4F,0xD7,0xD0,0x6E}} */
-
-
- extern const MIDL_STUB_DESC Object_StubDesc;
-
-
- #pragma code_seg(".orpc")
-
- /* [propget][id] */ HRESULT STDMETHODCALLTYPE IStlDWordArray_get_Array_Proxy(
- IStlDWordArray __RPC_FAR * This,
- /* [in] */ long idx,
- /* [retval][out] */ DWORD __RPC_FAR *dw)
- {
-
- 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 = 4U;
- NdrProxyGetBuffer(This, &_StubMsg);
- *(( long __RPC_FAR * )_StubMsg.Buffer)++ = idx;
-
- NdrProxySendReceive(This, &_StubMsg);
-
- if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
- NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[256] );
-
- *dw = *(( DWORD __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[136],
- ( void __RPC_FAR * )dw);
- _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
- }
- RpcEndExcept
- return _RetVal;
- }
-
- void __RPC_STUB IStlDWordArray_get_Array_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase)
- {
- DWORD _M38;
- HRESULT _RetVal;
- MIDL_STUB_MESSAGE _StubMsg;
- DWORD __RPC_FAR *dw;
- long idx;
-
- NdrStubInitialize(
- _pRpcMessage,
- &_StubMsg,
- &Object_StubDesc,
- _pRpcChannelBuffer);
- dw = 0;
- RpcTryFinally
- {
- if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
- NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[256] );
-
- idx = *(( long __RPC_FAR * )_StubMsg.Buffer)++;
-
- dw = &_M38;
-
- *_pdwStubPhase = STUB_CALL_SERVER;
- _RetVal = (((IStlDWordArray *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> get_Array(
- (IStlDWordArray *) ((CStdStubBuffer *)This)->pvServerObject,
- idx,
- dw);
-
- *_pdwStubPhase = STUB_MARSHAL;
-
- _StubMsg.BufferLength = 4U + 4U;
- NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
- *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++ = *dw;
-
- *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
-
- }
- RpcFinally
- {
- }
- RpcEndFinally
- _pRpcMessage->BufferLength =
- (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
-
- }
-
-
- /* [propput][id] */ HRESULT STDMETHODCALLTYPE IStlDWordArray_put_Array_Proxy(
- IStlDWordArray __RPC_FAR * This,
- /* [in] */ long idx,
- /* [in] */ DWORD dw)
- {
-
- 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 = 4U + 4U;
- NdrProxyGetBuffer(This, &_StubMsg);
- *(( long __RPC_FAR * )_StubMsg.Buffer)++ = idx;
-
- *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++ = dw;
-
- NdrProxySendReceive(This, &_StubMsg);
-
- if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
- NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[264] );
-
- _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 IStlDWordArray_put_Array_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase)
- {
- HRESULT _RetVal;
- MIDL_STUB_MESSAGE _StubMsg;
- DWORD dw;
- long idx;
-
- 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[264] );
-
- idx = *(( long __RPC_FAR * )_StubMsg.Buffer)++;
-
- dw = *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++;
-
-
- *_pdwStubPhase = STUB_CALL_SERVER;
- _RetVal = (((IStlDWordArray *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> put_Array(
- (IStlDWordArray *) ((CStdStubBuffer *)This)->pvServerObject,
- idx,
- dw);
-
- *_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);
-
- }
-
-
- /* [propput][id] */ HRESULT STDMETHODCALLTYPE IStlDWordArray_put_Add_Proxy(
- IStlDWordArray __RPC_FAR * This,
- /* [in] */ DWORD dw)
- {
-
- 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,
- 5);
-
-
-
- RpcTryFinally
- {
-
- _StubMsg.BufferLength = 4U;
- NdrProxyGetBuffer(This, &_StubMsg);
- *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++ = dw;
-
- NdrProxySendReceive(This, &_StubMsg);
-
- if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
- NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[242] );
-
- _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 IStlDWordArray_put_Add_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase)
- {
- HRESULT _RetVal;
- MIDL_STUB_MESSAGE _StubMsg;
- DWORD dw;
-
- 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[242] );
-
- dw = *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++;
-
-
- *_pdwStubPhase = STUB_CALL_SERVER;
- _RetVal = (((IStlDWordArray *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> put_Add((IStlDWordArray *) ((CStdStubBuffer *)This)->pvServerObject,dw);
-
- *_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);
-
- }
-
-
- /* [propget][id] */ HRESULT STDMETHODCALLTYPE IStlDWordArray_get_Remove_Proxy(
- IStlDWordArray __RPC_FAR * This,
- /* [in] */ long idx,
- /* [retval][out] */ DWORD __RPC_FAR *dw)
- {
-
- 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,
- 6);
-
-
-
- RpcTryFinally
- {
-
- _StubMsg.BufferLength = 4U;
- NdrProxyGetBuffer(This, &_StubMsg);
- *(( long __RPC_FAR * )_StubMsg.Buffer)++ = idx;
-
- NdrProxySendReceive(This, &_StubMsg);
-
- if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
- NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[256] );
-
- *dw = *(( DWORD __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[136],
- ( void __RPC_FAR * )dw);
- _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
- }
- RpcEndExcept
- return _RetVal;
- }
-
- void __RPC_STUB IStlDWordArray_get_Remove_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase)
- {
- DWORD _M39;
- HRESULT _RetVal;
- MIDL_STUB_MESSAGE _StubMsg;
- DWORD __RPC_FAR *dw;
- long idx;
-
- NdrStubInitialize(
- _pRpcMessage,
- &_StubMsg,
- &Object_StubDesc,
- _pRpcChannelBuffer);
- dw = 0;
- RpcTryFinally
- {
- if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
- NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[256] );
-
- idx = *(( long __RPC_FAR * )_StubMsg.Buffer)++;
-
- dw = &_M39;
-
- *_pdwStubPhase = STUB_CALL_SERVER;
- _RetVal = (((IStlDWordArray *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> get_Remove(
- (IStlDWordArray *) ((CStdStubBuffer *)This)->pvServerObject,
- idx,
- dw);
-
- *_pdwStubPhase = STUB_MARSHAL;
-
- _StubMsg.BufferLength = 4U + 4U;
- NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
- *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++ = *dw;
-
- *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
-
- }
- RpcFinally
- {
- }
- RpcEndFinally
- _pRpcMessage->BufferLength =
- (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
-
- }
-
-
- /* [id] */ HRESULT STDMETHODCALLTYPE IStlDWordArray_RemoveAll_Proxy(
- IStlDWordArray __RPC_FAR * This)
- {
-
- 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,
- 7);
-
-
-
- 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[34] );
-
- _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 IStlDWordArray_RemoveAll_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase)
- {
- HRESULT _RetVal;
- MIDL_STUB_MESSAGE _StubMsg;
-
- NdrStubInitialize(
- _pRpcMessage,
- &_StubMsg,
- &Object_StubDesc,
- _pRpcChannelBuffer);
- RpcTryFinally
- {
-
- *_pdwStubPhase = STUB_CALL_SERVER;
- _RetVal = (((IStlDWordArray *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> RemoveAll((IStlDWordArray *) ((CStdStubBuffer *)This)->pvServerObject);
-
- *_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);
-
- }
-
-
- /* [id] */ HRESULT STDMETHODCALLTYPE IStlDWordArray_First_Proxy(
- IStlDWordArray __RPC_FAR * This)
- {
-
- 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,
- 8);
-
-
-
- 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[34] );
-
- _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 IStlDWordArray_First_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase)
- {
- HRESULT _RetVal;
- MIDL_STUB_MESSAGE _StubMsg;
-
- NdrStubInitialize(
- _pRpcMessage,
- &_StubMsg,
- &Object_StubDesc,
- _pRpcChannelBuffer);
- RpcTryFinally
- {
-
- *_pdwStubPhase = STUB_CALL_SERVER;
- _RetVal = (((IStlDWordArray *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> First((IStlDWordArray *) ((CStdStubBuffer *)This)->pvServerObject);
-
- *_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);
-
- }
-
-
- /* [id] */ HRESULT STDMETHODCALLTYPE IStlDWordArray_Next_Proxy(
- IStlDWordArray __RPC_FAR * This,
- /* [out] */ DWORD __RPC_FAR *pt,
- /* [retval][out] */ VARIANT_BOOL __RPC_FAR *b)
- {
-
- 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,
- 9);
-
-
-
- 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[246] );
-
- *pt = *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++;
-
- *b = *(( VARIANT_BOOL __RPC_FAR * )_StubMsg.Buffer)++;
-
- _StubMsg.Buffer += 2;
- _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[136],
- ( void __RPC_FAR * )pt);
- NdrClearOutParameters(
- ( PMIDL_STUB_MESSAGE )&_StubMsg,
- ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[104],
- ( void __RPC_FAR * )b);
- _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
- }
- RpcEndExcept
- return _RetVal;
- }
-
- void __RPC_STUB IStlDWordArray_Next_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase)
- {
- DWORD _M40;
- VARIANT_BOOL _M41;
- HRESULT _RetVal;
- MIDL_STUB_MESSAGE _StubMsg;
- VARIANT_BOOL __RPC_FAR *b;
- DWORD __RPC_FAR *pt;
-
- NdrStubInitialize(
- _pRpcMessage,
- &_StubMsg,
- &Object_StubDesc,
- _pRpcChannelBuffer);
- pt = 0;
- b = 0;
- RpcTryFinally
- {
- pt = &_M40;
- b = &_M41;
-
- *_pdwStubPhase = STUB_CALL_SERVER;
- _RetVal = (((IStlDWordArray *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> Next(
- (IStlDWordArray *) ((CStdStubBuffer *)This)->pvServerObject,
- pt,
- b);
-
- *_pdwStubPhase = STUB_MARSHAL;
-
- _StubMsg.BufferLength = 4U + 2U + 6U;
- NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
- *(( DWORD __RPC_FAR * )_StubMsg.Buffer)++ = *pt;
-
- *(( VARIANT_BOOL __RPC_FAR * )_StubMsg.Buffer)++ = *b;
-
- _StubMsg.Buffer += 2;
- *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
-
- }
- RpcFinally
- {
- }
- RpcEndFinally
- _pRpcMessage->BufferLength =
- (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
-
- }
-
-
- /* [propget][id] */ HRESULT STDMETHODCALLTYPE IStlDWordArray_get_Count_Proxy(
- IStlDWordArray __RPC_FAR * This,
- /* [retval][out] */ UINT __RPC_FAR *dw)
- {
-
- 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,
- 10);
-
-
-
- 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[56] );
-
- *dw = *(( UINT __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[136],
- ( void __RPC_FAR * )dw);
- _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
- }
- RpcEndExcept
- return _RetVal;
- }
-
- void __RPC_STUB IStlDWordArray_get_Count_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase)
- {
- UINT _M42;
- HRESULT _RetVal;
- MIDL_STUB_MESSAGE _StubMsg;
- UINT __RPC_FAR *dw;
-
- NdrStubInitialize(
- _pRpcMessage,
- &_StubMsg,
- &Object_StubDesc,
- _pRpcChannelBuffer);
- dw = 0;
- RpcTryFinally
- {
- dw = &_M42;
-
- *_pdwStubPhase = STUB_CALL_SERVER;
- _RetVal = (((IStlDWordArray *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> get_Count((IStlDWordArray *) ((CStdStubBuffer *)This)->pvServerObject,dw);
-
- *_pdwStubPhase = STUB_MARSHAL;
-
- _StubMsg.BufferLength = 4U + 4U;
- NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
- *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = *dw;
-
- *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
-
- }
- RpcFinally
- {
- }
- RpcEndFinally
- _pRpcMessage->BufferLength =
- (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
-
- }
-
- const CINTERFACE_PROXY_VTABLE(11) _IStlDWordArrayProxyVtbl =
- {
- &IID_IStlDWordArray,
- IUnknown_QueryInterface_Proxy,
- IUnknown_AddRef_Proxy,
- IUnknown_Release_Proxy ,
- IStlDWordArray_get_Array_Proxy ,
- IStlDWordArray_put_Array_Proxy ,
- IStlDWordArray_put_Add_Proxy ,
- IStlDWordArray_get_Remove_Proxy ,
- IStlDWordArray_RemoveAll_Proxy ,
- IStlDWordArray_First_Proxy ,
- IStlDWordArray_Next_Proxy ,
- IStlDWordArray_get_Count_Proxy
- };
-
-
- static const PRPC_STUB_FUNCTION IStlDWordArray_table[] =
- {
- IStlDWordArray_get_Array_Stub,
- IStlDWordArray_put_Array_Stub,
- IStlDWordArray_put_Add_Stub,
- IStlDWordArray_get_Remove_Stub,
- IStlDWordArray_RemoveAll_Stub,
- IStlDWordArray_First_Stub,
- IStlDWordArray_Next_Stub,
- IStlDWordArray_get_Count_Stub
- };
-
- const CInterfaceStubVtbl _IStlDWordArrayStubVtbl =
- {
- &IID_IStlDWordArray,
- 0,
- 11,
- &IStlDWordArray_table[-3],
- CStdStubBuffer_METHODS
- };
-
-
- /* Object interface: IStlMyObjectArray, ver. 0.0,
- GUID={0x7CE086FB,0x3E78,0x11D0,{0xAE,0x6B,0x00,0xC0,0x4F,0xD7,0xD0,0x6E}} */
-
-
- extern const MIDL_STUB_DESC Object_StubDesc;
-
-
- #pragma code_seg(".orpc")
-
- /* [propget][id] */ HRESULT STDMETHODCALLTYPE IStlMyObjectArray_get_Array_Proxy(
- IStlMyObjectArray __RPC_FAR * This,
- /* [in] */ long idx,
- /* [retval][out] */ IMyStruct __RPC_FAR *__RPC_FAR *str)
- {
-
- HRESULT _RetVal;
-
- RPC_MESSAGE _RpcMessage;
-
- MIDL_STUB_MESSAGE _StubMsg;
-
- *str = 0;
- RpcTryExcept
- {
- NdrProxyInitialize(
- ( void __RPC_FAR * )This,
- ( PRPC_MESSAGE )&_RpcMessage,
- ( PMIDL_STUB_MESSAGE )&_StubMsg,
- ( PMIDL_STUB_DESC )&Object_StubDesc,
- 3);
-
-
-
- RpcTryFinally
- {
-
- _StubMsg.BufferLength = 4U;
- NdrProxyGetBuffer(This, &_StubMsg);
- *(( long __RPC_FAR * )_StubMsg.Buffer)++ = idx;
-
- NdrProxySendReceive(This, &_StubMsg);
-
- if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
- NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[62] );
-
- NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR * __RPC_FAR *)&str,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[34],
- (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[34],
- ( void __RPC_FAR * )str);
- _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
- }
- RpcEndExcept
- return _RetVal;
- }
-
- void __RPC_STUB IStlMyObjectArray_get_Array_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase)
- {
- IMyStruct __RPC_FAR *_M43;
- HRESULT _RetVal;
- MIDL_STUB_MESSAGE _StubMsg;
- long idx;
- IMyStruct __RPC_FAR *__RPC_FAR *str;
-
- NdrStubInitialize(
- _pRpcMessage,
- &_StubMsg,
- &Object_StubDesc,
- _pRpcChannelBuffer);
- str = 0;
- RpcTryFinally
- {
- if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
- NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[62] );
-
- idx = *(( long __RPC_FAR * )_StubMsg.Buffer)++;
-
- str = &_M43;
- _M43 = 0;
-
- *_pdwStubPhase = STUB_CALL_SERVER;
- _RetVal = (((IStlMyObjectArray *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> get_Array(
- (IStlMyObjectArray *) ((CStdStubBuffer *)This)->pvServerObject,
- idx,
- str);
-
- *_pdwStubPhase = STUB_MARSHAL;
-
- _StubMsg.BufferLength = 4U + 11U;
- NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR *)str,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[34] );
-
- _StubMsg.BufferLength += 16;
-
- NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
- NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
- (unsigned char __RPC_FAR *)str,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[34] );
-
- _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
- *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
-
- }
- RpcFinally
- {
- NdrPointerFree( &_StubMsg,
- (unsigned char __RPC_FAR *)str,
- &__MIDL_TypeFormatString.Format[34] );
-
- }
- RpcEndFinally
- _pRpcMessage->BufferLength =
- (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
-
- }
-
-
- /* [propput][id] */ HRESULT STDMETHODCALLTYPE IStlMyObjectArray_put_Array_Proxy(
- IStlMyObjectArray __RPC_FAR * This,
- /* [in] */ long idx,
- /* [in] */ IMyStruct __RPC_FAR *str)
- {
-
- 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 = 4U + 0U;
- NdrComplexStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR *)str,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[56] );
-
- NdrProxyGetBuffer(This, &_StubMsg);
- *(( long __RPC_FAR * )_StubMsg.Buffer)++ = idx;
-
- NdrComplexStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
- (unsigned char __RPC_FAR *)str,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[56] );
-
- NdrProxySendReceive(This, &_StubMsg);
-
- if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
- NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[70] );
-
- _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 IStlMyObjectArray_put_Array_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase)
- {
- HRESULT _RetVal;
- MIDL_STUB_MESSAGE _StubMsg;
- long idx;
- IMyStruct __RPC_FAR *str;
-
- NdrStubInitialize(
- _pRpcMessage,
- &_StubMsg,
- &Object_StubDesc,
- _pRpcChannelBuffer);
- str = 0;
- RpcTryFinally
- {
- if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
- NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[70] );
-
- idx = *(( long __RPC_FAR * )_StubMsg.Buffer)++;
-
- NdrComplexStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR * __RPC_FAR *)&str,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[56],
- (unsigned char)0 );
-
-
- *_pdwStubPhase = STUB_CALL_SERVER;
- _RetVal = (((IStlMyObjectArray *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> put_Array(
- (IStlMyObjectArray *) ((CStdStubBuffer *)This)->pvServerObject,
- idx,
- str);
-
- *_pdwStubPhase = STUB_MARSHAL;
-
- _StubMsg.BufferLength = 4U;
- NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
- *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
-
- }
- RpcFinally
- {
- NdrPointerFree( &_StubMsg,
- (unsigned char __RPC_FAR *)str,
- &__MIDL_TypeFormatString.Format[82] );
-
- }
- RpcEndFinally
- _pRpcMessage->BufferLength =
- (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
-
- }
-
-
- /* [propput][id] */ HRESULT STDMETHODCALLTYPE IStlMyObjectArray_put_Add_Proxy(
- IStlMyObjectArray __RPC_FAR * This,
- /* [in] */ IMyStruct __RPC_FAR *str)
- {
-
- 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,
- 5);
-
-
-
- RpcTryFinally
- {
-
- _StubMsg.BufferLength = 0U;
- NdrComplexStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR *)str,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[56] );
-
- NdrProxyGetBuffer(This, &_StubMsg);
- NdrComplexStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
- (unsigned char __RPC_FAR *)str,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[56] );
-
- NdrProxySendReceive(This, &_StubMsg);
-
- if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
- NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[212] );
-
- _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 IStlMyObjectArray_put_Add_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase)
- {
- HRESULT _RetVal;
- MIDL_STUB_MESSAGE _StubMsg;
- IMyStruct __RPC_FAR *str;
-
- NdrStubInitialize(
- _pRpcMessage,
- &_StubMsg,
- &Object_StubDesc,
- _pRpcChannelBuffer);
- str = 0;
- RpcTryFinally
- {
- if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
- NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[212] );
-
- NdrComplexStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR * __RPC_FAR *)&str,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[56],
- (unsigned char)0 );
-
-
- *_pdwStubPhase = STUB_CALL_SERVER;
- _RetVal = (((IStlMyObjectArray *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> put_Add((IStlMyObjectArray *) ((CStdStubBuffer *)This)->pvServerObject,str);
-
- *_pdwStubPhase = STUB_MARSHAL;
-
- _StubMsg.BufferLength = 4U;
- NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
- *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
-
- }
- RpcFinally
- {
- NdrPointerFree( &_StubMsg,
- (unsigned char __RPC_FAR *)str,
- &__MIDL_TypeFormatString.Format[82] );
-
- }
- RpcEndFinally
- _pRpcMessage->BufferLength =
- (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
-
- }
-
-
- /* [propget][id] */ HRESULT STDMETHODCALLTYPE IStlMyObjectArray_get_Remove_Proxy(
- IStlMyObjectArray __RPC_FAR * This,
- /* [in] */ long idx,
- /* [retval][out] */ IMyStruct __RPC_FAR *__RPC_FAR *str)
- {
-
- HRESULT _RetVal;
-
- RPC_MESSAGE _RpcMessage;
-
- MIDL_STUB_MESSAGE _StubMsg;
-
- *str = 0;
- RpcTryExcept
- {
- NdrProxyInitialize(
- ( void __RPC_FAR * )This,
- ( PRPC_MESSAGE )&_RpcMessage,
- ( PMIDL_STUB_MESSAGE )&_StubMsg,
- ( PMIDL_STUB_DESC )&Object_StubDesc,
- 6);
-
-
-
- RpcTryFinally
- {
-
- _StubMsg.BufferLength = 4U;
- NdrProxyGetBuffer(This, &_StubMsg);
- *(( long __RPC_FAR * )_StubMsg.Buffer)++ = idx;
-
- NdrProxySendReceive(This, &_StubMsg);
-
- if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
- NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[62] );
-
- NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR * __RPC_FAR *)&str,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[34],
- (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[34],
- ( void __RPC_FAR * )str);
- _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
- }
- RpcEndExcept
- return _RetVal;
- }
-
- void __RPC_STUB IStlMyObjectArray_get_Remove_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase)
- {
- IMyStruct __RPC_FAR *_M44;
- HRESULT _RetVal;
- MIDL_STUB_MESSAGE _StubMsg;
- long idx;
- IMyStruct __RPC_FAR *__RPC_FAR *str;
-
- NdrStubInitialize(
- _pRpcMessage,
- &_StubMsg,
- &Object_StubDesc,
- _pRpcChannelBuffer);
- str = 0;
- RpcTryFinally
- {
- if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
- NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[62] );
-
- idx = *(( long __RPC_FAR * )_StubMsg.Buffer)++;
-
- str = &_M44;
- _M44 = 0;
-
- *_pdwStubPhase = STUB_CALL_SERVER;
- _RetVal = (((IStlMyObjectArray *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> get_Remove(
- (IStlMyObjectArray *) ((CStdStubBuffer *)This)->pvServerObject,
- idx,
- str);
-
- *_pdwStubPhase = STUB_MARSHAL;
-
- _StubMsg.BufferLength = 4U + 11U;
- NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR *)str,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[34] );
-
- _StubMsg.BufferLength += 16;
-
- NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
- NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
- (unsigned char __RPC_FAR *)str,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[34] );
-
- _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
- *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
-
- }
- RpcFinally
- {
- NdrPointerFree( &_StubMsg,
- (unsigned char __RPC_FAR *)str,
- &__MIDL_TypeFormatString.Format[34] );
-
- }
- RpcEndFinally
- _pRpcMessage->BufferLength =
- (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
-
- }
-
-
- /* [id] */ HRESULT STDMETHODCALLTYPE IStlMyObjectArray_RemoveAll_Proxy(
- IStlMyObjectArray __RPC_FAR * This)
- {
-
- 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,
- 7);
-
-
-
- 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[34] );
-
- _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 IStlMyObjectArray_RemoveAll_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase)
- {
- HRESULT _RetVal;
- MIDL_STUB_MESSAGE _StubMsg;
-
- NdrStubInitialize(
- _pRpcMessage,
- &_StubMsg,
- &Object_StubDesc,
- _pRpcChannelBuffer);
- RpcTryFinally
- {
-
- *_pdwStubPhase = STUB_CALL_SERVER;
- _RetVal = (((IStlMyObjectArray *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> RemoveAll((IStlMyObjectArray *) ((CStdStubBuffer *)This)->pvServerObject);
-
- *_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);
-
- }
-
-
- /* [id] */ HRESULT STDMETHODCALLTYPE IStlMyObjectArray_First_Proxy(
- IStlMyObjectArray __RPC_FAR * This)
- {
-
- 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,
- 8);
-
-
-
- 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[34] );
-
- _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 IStlMyObjectArray_First_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase)
- {
- HRESULT _RetVal;
- MIDL_STUB_MESSAGE _StubMsg;
-
- NdrStubInitialize(
- _pRpcMessage,
- &_StubMsg,
- &Object_StubDesc,
- _pRpcChannelBuffer);
- RpcTryFinally
- {
-
- *_pdwStubPhase = STUB_CALL_SERVER;
- _RetVal = (((IStlMyObjectArray *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> First((IStlMyObjectArray *) ((CStdStubBuffer *)This)->pvServerObject);
-
- *_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);
-
- }
-
-
- /* [id] */ HRESULT STDMETHODCALLTYPE IStlMyObjectArray_Next_Proxy(
- IStlMyObjectArray __RPC_FAR * This,
- /* [out] */ IMyStruct __RPC_FAR *__RPC_FAR *pt,
- /* [retval][out] */ VARIANT_BOOL __RPC_FAR *b)
- {
-
- HRESULT _RetVal;
-
- RPC_MESSAGE _RpcMessage;
-
- MIDL_STUB_MESSAGE _StubMsg;
-
- *pt = 0;
- RpcTryExcept
- {
- NdrProxyInitialize(
- ( void __RPC_FAR * )This,
- ( PRPC_MESSAGE )&_RpcMessage,
- ( PMIDL_STUB_MESSAGE )&_StubMsg,
- ( PMIDL_STUB_DESC )&Object_StubDesc,
- 9);
-
-
-
- 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[224] );
-
- NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR * __RPC_FAR *)&pt,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[34],
- (unsigned char)0 );
-
- _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 1) & ~ 0x1);
- *b = *(( VARIANT_BOOL __RPC_FAR * )_StubMsg.Buffer)++;
-
- _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[34],
- ( void __RPC_FAR * )pt);
- NdrClearOutParameters(
- ( PMIDL_STUB_MESSAGE )&_StubMsg,
- ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[104],
- ( void __RPC_FAR * )b);
- _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
- }
- RpcEndExcept
- return _RetVal;
- }
-
- void __RPC_STUB IStlMyObjectArray_Next_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase)
- {
- IMyStruct __RPC_FAR *_M45;
- VARIANT_BOOL _M46;
- HRESULT _RetVal;
- MIDL_STUB_MESSAGE _StubMsg;
- VARIANT_BOOL __RPC_FAR *b;
- IMyStruct __RPC_FAR *__RPC_FAR *pt;
-
- NdrStubInitialize(
- _pRpcMessage,
- &_StubMsg,
- &Object_StubDesc,
- _pRpcChannelBuffer);
- pt = 0;
- b = 0;
- RpcTryFinally
- {
- pt = &_M45;
- _M45 = 0;
- b = &_M46;
-
- *_pdwStubPhase = STUB_CALL_SERVER;
- _RetVal = (((IStlMyObjectArray *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> Next(
- (IStlMyObjectArray *) ((CStdStubBuffer *)This)->pvServerObject,
- pt,
- b);
-
- *_pdwStubPhase = STUB_MARSHAL;
-
- _StubMsg.BufferLength = 4U + 5U + 10U;
- NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR *)pt,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[34] );
-
- _StubMsg.BufferLength += 16;
-
- NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
- NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
- (unsigned char __RPC_FAR *)pt,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[34] );
-
- _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 1) & ~ 0x1);
- *(( VARIANT_BOOL __RPC_FAR * )_StubMsg.Buffer)++ = *b;
-
- _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
- *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
-
- }
- RpcFinally
- {
- NdrPointerFree( &_StubMsg,
- (unsigned char __RPC_FAR *)pt,
- &__MIDL_TypeFormatString.Format[34] );
-
- }
- RpcEndFinally
- _pRpcMessage->BufferLength =
- (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
-
- }
-
-
- /* [propget][id] */ HRESULT STDMETHODCALLTYPE IStlMyObjectArray_get_Count_Proxy(
- IStlMyObjectArray __RPC_FAR * This,
- /* [retval][out] */ UINT __RPC_FAR *dw)
- {
-
- 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,
- 10);
-
-
-
- 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[56] );
-
- *dw = *(( UINT __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[136],
- ( void __RPC_FAR * )dw);
- _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
- }
- RpcEndExcept
- return _RetVal;
- }
-
- void __RPC_STUB IStlMyObjectArray_get_Count_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase)
- {
- UINT _M47;
- HRESULT _RetVal;
- MIDL_STUB_MESSAGE _StubMsg;
- UINT __RPC_FAR *dw;
-
- NdrStubInitialize(
- _pRpcMessage,
- &_StubMsg,
- &Object_StubDesc,
- _pRpcChannelBuffer);
- dw = 0;
- RpcTryFinally
- {
- dw = &_M47;
-
- *_pdwStubPhase = STUB_CALL_SERVER;
- _RetVal = (((IStlMyObjectArray *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> get_Count((IStlMyObjectArray *) ((CStdStubBuffer *)This)->pvServerObject,dw);
-
- *_pdwStubPhase = STUB_MARSHAL;
-
- _StubMsg.BufferLength = 4U + 4U;
- NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
- *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = *dw;
-
- *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
-
- }
- RpcFinally
- {
- }
- RpcEndFinally
- _pRpcMessage->BufferLength =
- (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
-
- }
-
- const CINTERFACE_PROXY_VTABLE(11) _IStlMyObjectArrayProxyVtbl =
- {
- &IID_IStlMyObjectArray,
- IUnknown_QueryInterface_Proxy,
- IUnknown_AddRef_Proxy,
- IUnknown_Release_Proxy ,
- IStlMyObjectArray_get_Array_Proxy ,
- IStlMyObjectArray_put_Array_Proxy ,
- IStlMyObjectArray_put_Add_Proxy ,
- IStlMyObjectArray_get_Remove_Proxy ,
- IStlMyObjectArray_RemoveAll_Proxy ,
- IStlMyObjectArray_First_Proxy ,
- IStlMyObjectArray_Next_Proxy ,
- IStlMyObjectArray_get_Count_Proxy
- };
-
-
- static const PRPC_STUB_FUNCTION IStlMyObjectArray_table[] =
- {
- IStlMyObjectArray_get_Array_Stub,
- IStlMyObjectArray_put_Array_Stub,
- IStlMyObjectArray_put_Add_Stub,
- IStlMyObjectArray_get_Remove_Stub,
- IStlMyObjectArray_RemoveAll_Stub,
- IStlMyObjectArray_First_Stub,
- IStlMyObjectArray_Next_Stub,
- IStlMyObjectArray_get_Count_Stub
- };
-
- const CInterfaceStubVtbl _IStlMyObjectArrayStubVtbl =
- {
- &IID_IStlMyObjectArray,
- 0,
- 11,
- &IStlMyObjectArray_table[-3],
- CStdStubBuffer_METHODS
- };
-
-
- /* Object interface: IStlPointArray, ver. 0.0,
- GUID={0x7CE08700,0x3E78,0x11D0,{0xAE,0x6B,0x00,0xC0,0x4F,0xD7,0xD0,0x6E}} */
-
-
- extern const MIDL_STUB_DESC Object_StubDesc;
-
-
- #pragma code_seg(".orpc")
-
- /* [propget][id] */ HRESULT STDMETHODCALLTYPE IStlPointArray_get_Array_Proxy(
- IStlPointArray __RPC_FAR * This,
- /* [in] */ long idx,
- /* [retval][out] */ POINT __RPC_FAR *pt)
- {
-
- HRESULT _RetVal;
-
- RPC_MESSAGE _RpcMessage;
-
- MIDL_STUB_MESSAGE _StubMsg;
-
- MIDL_memset(
- pt,
- 0,
- sizeof( POINT ));
- RpcTryExcept
- {
- NdrProxyInitialize(
- ( void __RPC_FAR * )This,
- ( PRPC_MESSAGE )&_RpcMessage,
- ( PMIDL_STUB_MESSAGE )&_StubMsg,
- ( PMIDL_STUB_DESC )&Object_StubDesc,
- 3);
-
-
-
- RpcTryFinally
- {
-
- _StubMsg.BufferLength = 4U;
- NdrProxyGetBuffer(This, &_StubMsg);
- *(( long __RPC_FAR * )_StubMsg.Buffer)++ = idx;
-
- NdrProxySendReceive(This, &_StubMsg);
-
- if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
- NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[270] );
-
- NdrSimpleStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR * __RPC_FAR *)&pt,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[322],
- (unsigned char)0 );
-
- _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[318],
- ( void __RPC_FAR * )pt);
- _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
- }
- RpcEndExcept
- return _RetVal;
- }
-
- void __RPC_STUB IStlPointArray_get_Array_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase)
- {
- HRESULT _RetVal;
- MIDL_STUB_MESSAGE _StubMsg;
- POINT _ptM;
- long idx;
- POINT __RPC_FAR *pt;
-
- NdrStubInitialize(
- _pRpcMessage,
- &_StubMsg,
- &Object_StubDesc,
- _pRpcChannelBuffer);
- pt = 0;
- RpcTryFinally
- {
- if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
- NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[270] );
-
- idx = *(( long __RPC_FAR * )_StubMsg.Buffer)++;
-
- pt = &_ptM;
-
- *_pdwStubPhase = STUB_CALL_SERVER;
- _RetVal = (((IStlPointArray *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> get_Array(
- (IStlPointArray *) ((CStdStubBuffer *)This)->pvServerObject,
- idx,
- pt);
-
- *_pdwStubPhase = STUB_MARSHAL;
-
- _StubMsg.BufferLength = 0U + 11U;
- NdrSimpleStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR *)pt,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[322] );
-
- _StubMsg.BufferLength += 16;
-
- NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
- NdrSimpleStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
- (unsigned char __RPC_FAR *)pt,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[322] );
-
- *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
-
- }
- RpcFinally
- {
- }
- RpcEndFinally
- _pRpcMessage->BufferLength =
- (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
-
- }
-
-
- /* [propput][id] */ HRESULT STDMETHODCALLTYPE IStlPointArray_put_Array_Proxy(
- IStlPointArray __RPC_FAR * This,
- /* [in] */ long idx,
- /* [in] */ POINT pt)
- {
-
- 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 = 4U + 0U;
- NdrSimpleStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR *)&pt,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[322] );
-
- NdrProxyGetBuffer(This, &_StubMsg);
- *(( long __RPC_FAR * )_StubMsg.Buffer)++ = idx;
-
- NdrSimpleStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
- (unsigned char __RPC_FAR *)&pt,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[322] );
-
- NdrProxySendReceive(This, &_StubMsg);
-
- if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
- NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[278] );
-
- _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 IStlPointArray_put_Array_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase)
- {
- HRESULT _RetVal;
- MIDL_STUB_MESSAGE _StubMsg;
- void __RPC_FAR *_p_pt;
- long idx;
- POINT pt;
-
- NdrStubInitialize(
- _pRpcMessage,
- &_StubMsg,
- &Object_StubDesc,
- _pRpcChannelBuffer);
- _p_pt = &pt;
- MIDL_memset(
- _p_pt,
- 0,
- sizeof( POINT ));
- RpcTryFinally
- {
- if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
- NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[278] );
-
- idx = *(( long __RPC_FAR * )_StubMsg.Buffer)++;
-
- NdrSimpleStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR * __RPC_FAR *)&_p_pt,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[322],
- (unsigned char)0 );
-
-
- *_pdwStubPhase = STUB_CALL_SERVER;
- _RetVal = (((IStlPointArray *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> put_Array(
- (IStlPointArray *) ((CStdStubBuffer *)This)->pvServerObject,
- idx,
- pt);
-
- *_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);
-
- }
-
-
- /* [propput][id] */ HRESULT STDMETHODCALLTYPE IStlPointArray_put_Add_Proxy(
- IStlPointArray __RPC_FAR * This,
- /* [in] */ POINT pt)
- {
-
- 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,
- 5);
-
-
-
- RpcTryFinally
- {
-
- _StubMsg.BufferLength = 0U;
- NdrSimpleStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR *)&pt,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[322] );
-
- NdrProxyGetBuffer(This, &_StubMsg);
- NdrSimpleStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
- (unsigned char __RPC_FAR *)&pt,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[322] );
-
- NdrProxySendReceive(This, &_StubMsg);
-
- if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
- NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[286] );
-
- _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 IStlPointArray_put_Add_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase)
- {
- HRESULT _RetVal;
- MIDL_STUB_MESSAGE _StubMsg;
- void __RPC_FAR *_p_pt;
- POINT pt;
-
- NdrStubInitialize(
- _pRpcMessage,
- &_StubMsg,
- &Object_StubDesc,
- _pRpcChannelBuffer);
- _p_pt = &pt;
- MIDL_memset(
- _p_pt,
- 0,
- sizeof( POINT ));
- RpcTryFinally
- {
- if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
- NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[286] );
-
- NdrSimpleStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR * __RPC_FAR *)&_p_pt,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[322],
- (unsigned char)0 );
-
-
- *_pdwStubPhase = STUB_CALL_SERVER;
- _RetVal = (((IStlPointArray *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> put_Add((IStlPointArray *) ((CStdStubBuffer *)This)->pvServerObject,pt);
-
- *_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);
-
- }
-
-
- /* [propget][id] */ HRESULT STDMETHODCALLTYPE IStlPointArray_get_Remove_Proxy(
- IStlPointArray __RPC_FAR * This,
- /* [in] */ long idx,
- /* [retval][out] */ POINT __RPC_FAR *pt)
- {
-
- HRESULT _RetVal;
-
- RPC_MESSAGE _RpcMessage;
-
- MIDL_STUB_MESSAGE _StubMsg;
-
- MIDL_memset(
- pt,
- 0,
- sizeof( POINT ));
- RpcTryExcept
- {
- NdrProxyInitialize(
- ( void __RPC_FAR * )This,
- ( PRPC_MESSAGE )&_RpcMessage,
- ( PMIDL_STUB_MESSAGE )&_StubMsg,
- ( PMIDL_STUB_DESC )&Object_StubDesc,
- 6);
-
-
-
- RpcTryFinally
- {
-
- _StubMsg.BufferLength = 4U;
- NdrProxyGetBuffer(This, &_StubMsg);
- *(( long __RPC_FAR * )_StubMsg.Buffer)++ = idx;
-
- NdrProxySendReceive(This, &_StubMsg);
-
- if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
- NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[270] );
-
- NdrSimpleStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR * __RPC_FAR *)&pt,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[322],
- (unsigned char)0 );
-
- _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[318],
- ( void __RPC_FAR * )pt);
- _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
- }
- RpcEndExcept
- return _RetVal;
- }
-
- void __RPC_STUB IStlPointArray_get_Remove_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase)
- {
- HRESULT _RetVal;
- MIDL_STUB_MESSAGE _StubMsg;
- POINT _ptM;
- long idx;
- POINT __RPC_FAR *pt;
-
- NdrStubInitialize(
- _pRpcMessage,
- &_StubMsg,
- &Object_StubDesc,
- _pRpcChannelBuffer);
- pt = 0;
- RpcTryFinally
- {
- if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
- NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[270] );
-
- idx = *(( long __RPC_FAR * )_StubMsg.Buffer)++;
-
- pt = &_ptM;
-
- *_pdwStubPhase = STUB_CALL_SERVER;
- _RetVal = (((IStlPointArray *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> get_Remove(
- (IStlPointArray *) ((CStdStubBuffer *)This)->pvServerObject,
- idx,
- pt);
-
- *_pdwStubPhase = STUB_MARSHAL;
-
- _StubMsg.BufferLength = 0U + 11U;
- NdrSimpleStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR *)pt,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[322] );
-
- _StubMsg.BufferLength += 16;
-
- NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
- NdrSimpleStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
- (unsigned char __RPC_FAR *)pt,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[322] );
-
- *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
-
- }
- RpcFinally
- {
- }
- RpcEndFinally
- _pRpcMessage->BufferLength =
- (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
-
- }
-
-
- /* [id] */ HRESULT STDMETHODCALLTYPE IStlPointArray_RemoveAll_Proxy(
- IStlPointArray __RPC_FAR * This)
- {
-
- 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,
- 7);
-
-
-
- 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[34] );
-
- _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 IStlPointArray_RemoveAll_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase)
- {
- HRESULT _RetVal;
- MIDL_STUB_MESSAGE _StubMsg;
-
- NdrStubInitialize(
- _pRpcMessage,
- &_StubMsg,
- &Object_StubDesc,
- _pRpcChannelBuffer);
- RpcTryFinally
- {
-
- *_pdwStubPhase = STUB_CALL_SERVER;
- _RetVal = (((IStlPointArray *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> RemoveAll((IStlPointArray *) ((CStdStubBuffer *)This)->pvServerObject);
-
- *_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);
-
- }
-
-
- /* [id] */ HRESULT STDMETHODCALLTYPE IStlPointArray_First_Proxy(
- IStlPointArray __RPC_FAR * This)
- {
-
- 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,
- 8);
-
-
-
- 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[34] );
-
- _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 IStlPointArray_First_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase)
- {
- HRESULT _RetVal;
- MIDL_STUB_MESSAGE _StubMsg;
-
- NdrStubInitialize(
- _pRpcMessage,
- &_StubMsg,
- &Object_StubDesc,
- _pRpcChannelBuffer);
- RpcTryFinally
- {
-
- *_pdwStubPhase = STUB_CALL_SERVER;
- _RetVal = (((IStlPointArray *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> First((IStlPointArray *) ((CStdStubBuffer *)This)->pvServerObject);
-
- *_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);
-
- }
-
-
- /* [id] */ HRESULT STDMETHODCALLTYPE IStlPointArray_Next_Proxy(
- IStlPointArray __RPC_FAR * This,
- /* [out] */ POINT __RPC_FAR *pt,
- /* [retval][out] */ VARIANT_BOOL __RPC_FAR *b)
- {
-
- HRESULT _RetVal;
-
- RPC_MESSAGE _RpcMessage;
-
- MIDL_STUB_MESSAGE _StubMsg;
-
- MIDL_memset(
- pt,
- 0,
- sizeof( POINT ));
- RpcTryExcept
- {
- NdrProxyInitialize(
- ( void __RPC_FAR * )This,
- ( PRPC_MESSAGE )&_RpcMessage,
- ( PMIDL_STUB_MESSAGE )&_StubMsg,
- ( PMIDL_STUB_DESC )&Object_StubDesc,
- 9);
-
-
-
- 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[292] );
-
- NdrSimpleStructUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR * __RPC_FAR *)&pt,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[322],
- (unsigned char)0 );
-
- *b = *(( VARIANT_BOOL __RPC_FAR * )_StubMsg.Buffer)++;
-
- _StubMsg.Buffer += 2;
- _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[318],
- ( void __RPC_FAR * )pt);
- NdrClearOutParameters(
- ( PMIDL_STUB_MESSAGE )&_StubMsg,
- ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[104],
- ( void __RPC_FAR * )b);
- _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
- }
- RpcEndExcept
- return _RetVal;
- }
-
- void __RPC_STUB IStlPointArray_Next_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase)
- {
- VARIANT_BOOL _M48;
- HRESULT _RetVal;
- MIDL_STUB_MESSAGE _StubMsg;
- POINT _ptM;
- VARIANT_BOOL __RPC_FAR *b;
- POINT __RPC_FAR *pt;
-
- NdrStubInitialize(
- _pRpcMessage,
- &_StubMsg,
- &Object_StubDesc,
- _pRpcChannelBuffer);
- pt = 0;
- b = 0;
- RpcTryFinally
- {
- pt = &_ptM;
- b = &_M48;
-
- *_pdwStubPhase = STUB_CALL_SERVER;
- _RetVal = (((IStlPointArray *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> Next(
- (IStlPointArray *) ((CStdStubBuffer *)This)->pvServerObject,
- pt,
- b);
-
- *_pdwStubPhase = STUB_MARSHAL;
-
- _StubMsg.BufferLength = 0U + 5U + 10U;
- NdrSimpleStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR *)pt,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[322] );
-
- _StubMsg.BufferLength += 16;
-
- NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
- NdrSimpleStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
- (unsigned char __RPC_FAR *)pt,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[322] );
-
- *(( VARIANT_BOOL __RPC_FAR * )_StubMsg.Buffer)++ = *b;
-
- _StubMsg.Buffer += 2;
- *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
-
- }
- RpcFinally
- {
- }
- RpcEndFinally
- _pRpcMessage->BufferLength =
- (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
-
- }
-
-
- /* [propget][id] */ HRESULT STDMETHODCALLTYPE IStlPointArray_get_Count_Proxy(
- IStlPointArray __RPC_FAR * This,
- /* [retval][out] */ UINT __RPC_FAR *dw)
- {
-
- 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,
- 10);
-
-
-
- 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[56] );
-
- *dw = *(( UINT __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[136],
- ( void __RPC_FAR * )dw);
- _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
- }
- RpcEndExcept
- return _RetVal;
- }
-
- void __RPC_STUB IStlPointArray_get_Count_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase)
- {
- UINT _M49;
- HRESULT _RetVal;
- MIDL_STUB_MESSAGE _StubMsg;
- UINT __RPC_FAR *dw;
-
- NdrStubInitialize(
- _pRpcMessage,
- &_StubMsg,
- &Object_StubDesc,
- _pRpcChannelBuffer);
- dw = 0;
- RpcTryFinally
- {
- dw = &_M49;
-
- *_pdwStubPhase = STUB_CALL_SERVER;
- _RetVal = (((IStlPointArray *) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> get_Count((IStlPointArray *) ((CStdStubBuffer *)This)->pvServerObject,dw);
-
- *_pdwStubPhase = STUB_MARSHAL;
-
- _StubMsg.BufferLength = 4U + 4U;
- NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
- *(( UINT __RPC_FAR * )_StubMsg.Buffer)++ = *dw;
-
- *(( HRESULT __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
-
- }
- RpcFinally
- {
- }
- 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,
- 0, /* -error bounds_check flag */
- 0x20000, /* Ndr library version */
- 0,
- 0x301004c, /* MIDL Version 3.1.76 */
- 0,
- UserMarshalRoutines,
- 0, /* Reserved1 */
- 0, /* Reserved2 */
- 0, /* Reserved3 */
- 0, /* Reserved4 */
- 0 /* Reserved5 */
- };
-
- const CINTERFACE_PROXY_VTABLE(11) _IStlPointArrayProxyVtbl =
- {
- &IID_IStlPointArray,
- IUnknown_QueryInterface_Proxy,
- IUnknown_AddRef_Proxy,
- IUnknown_Release_Proxy ,
- IStlPointArray_get_Array_Proxy ,
- IStlPointArray_put_Array_Proxy ,
- IStlPointArray_put_Add_Proxy ,
- IStlPointArray_get_Remove_Proxy ,
- IStlPointArray_RemoveAll_Proxy ,
- IStlPointArray_First_Proxy ,
- IStlPointArray_Next_Proxy ,
- IStlPointArray_get_Count_Proxy
- };
-
-
- static const PRPC_STUB_FUNCTION IStlPointArray_table[] =
- {
- IStlPointArray_get_Array_Stub,
- IStlPointArray_put_Array_Stub,
- IStlPointArray_put_Add_Stub,
- IStlPointArray_get_Remove_Stub,
- IStlPointArray_RemoveAll_Stub,
- IStlPointArray_First_Stub,
- IStlPointArray_Next_Stub,
- IStlPointArray_get_Count_Stub
- };
-
- const CInterfaceStubVtbl _IStlPointArrayStubVtbl =
- {
- &IID_IStlPointArray,
- 0,
- 11,
- &IStlPointArray_table[-3],
- CStdStubBuffer_METHODS
- };
-
- #pragma data_seg(".rdata")
-
- static const USER_MARSHAL_ROUTINE_QUADRUPLE UserMarshalRoutines[1] =
- {
-
- {
- BSTR_UserSize
- ,BSTR_UserMarshal
- ,BSTR_UserUnmarshal
- ,BSTR_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,
- {
-
- 0x4d, /* FC_IN_PARAM */
- #ifndef _ALPHA_
- 0x1, /* x86, MIPS & PPC Stack size = 1 */
- #else
- 0x2, /* Alpha Stack size = 2 */
- #endif
- /* 2 */ NdrFcShort( 0x18 ), /* Type Offset=24 */
- /* 4 */
- 0x51, /* FC_OUT_PARAM */
- #ifndef _ALPHA_
- 0x1, /* x86, MIPS & PPC Stack size = 1 */
- #else
- 0x2, /* Alpha Stack size = 2 */
- #endif
- /* 6 */ NdrFcShort( 0x22 ), /* Type Offset=34 */
- /* 8 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
- 0x8, /* FC_LONG */
- /* 10 */
- 0x4d, /* FC_IN_PARAM */
- #ifndef _ALPHA_
- 0x1, /* x86, MIPS & PPC Stack size = 1 */
- #else
- 0x2, /* Alpha Stack size = 2 */
- #endif
- /* 12 */ NdrFcShort( 0x48 ), /* Type Offset=72 */
- /* 14 */
- 0x4d, /* FC_IN_PARAM */
- #ifndef _ALPHA_
- 0x1, /* x86, MIPS & PPC Stack size = 1 */
- #else
- 0x2, /* Alpha Stack size = 2 */
- #endif
- /* 16 */ NdrFcShort( 0x52 ), /* Type Offset=82 */
- /* 18 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
- 0x8, /* FC_LONG */
- /* 20 */
- 0x4d, /* FC_IN_PARAM */
- #ifndef _ALPHA_
- 0x1, /* x86, MIPS & PPC Stack size = 1 */
- #else
- 0x2, /* Alpha Stack size = 2 */
- #endif
- /* 22 */ NdrFcShort( 0x56 ), /* Type Offset=86 */
- /* 24 */
- 0x4d, /* FC_IN_PARAM */
- #ifndef _ALPHA_
- 0x1, /* x86, MIPS & PPC Stack size = 1 */
- #else
- 0x2, /* Alpha Stack size = 2 */
- #endif
- /* 26 */ NdrFcShort( 0x60 ), /* Type Offset=96 */
- /* 28 */
- 0x51, /* FC_OUT_PARAM */
- #ifndef _ALPHA_
- 0x1, /* x86, MIPS & PPC Stack size = 1 */
- #else
- 0x2, /* Alpha Stack size = 2 */
- #endif
- /* 30 */ NdrFcShort( 0x68 ), /* Type Offset=104 */
- /* 32 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
- 0x8, /* FC_LONG */
- /* 34 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
- 0x8, /* FC_LONG */
- /* 36 */
- 0x51, /* FC_OUT_PARAM */
- #ifndef _ALPHA_
- 0x1, /* x86, MIPS & PPC Stack size = 1 */
- #else
- 0x2, /* Alpha Stack size = 2 */
- #endif
- /* 38 */ NdrFcShort( 0x6c ), /* Type Offset=108 */
- /* 40 */
- 0x51, /* FC_OUT_PARAM */
- #ifndef _ALPHA_
- 0x1, /* x86, MIPS & PPC Stack size = 1 */
- #else
- 0x2, /* Alpha Stack size = 2 */
- #endif
- /* 42 */ NdrFcShort( 0x22 ), /* Type Offset=34 */
- /* 44 */
- 0x51, /* FC_OUT_PARAM */
- #ifndef _ALPHA_
- 0x1, /* x86, MIPS & PPC Stack size = 1 */
- #else
- 0x2, /* Alpha Stack size = 2 */
- #endif
- /* 46 */ NdrFcShort( 0x68 ), /* Type Offset=104 */
- /* 48 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
- 0x8, /* FC_LONG */
- /* 50 */
- 0x51, /* FC_OUT_PARAM */
- #ifndef _ALPHA_
- 0x1, /* x86, MIPS & PPC Stack size = 1 */
- #else
- 0x2, /* Alpha Stack size = 2 */
- #endif
- /* 52 */ NdrFcShort( 0x7a ), /* Type Offset=122 */
- /* 54 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
- 0x8, /* FC_LONG */
- /* 56 */
- 0x51, /* FC_OUT_PARAM */
- #ifndef _ALPHA_
- 0x1, /* x86, MIPS & PPC Stack size = 1 */
- #else
- 0x2, /* Alpha Stack size = 2 */
- #endif
- /* 58 */ NdrFcShort( 0x88 ), /* Type Offset=136 */
- /* 60 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
- 0x8, /* FC_LONG */
- /* 62 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
- 0x8, /* FC_LONG */
- /* 64 */
- 0x51, /* FC_OUT_PARAM */
- #ifndef _ALPHA_
- 0x1, /* x86, MIPS & PPC Stack size = 1 */
- #else
- 0x2, /* Alpha Stack size = 2 */
- #endif
- /* 66 */ NdrFcShort( 0x22 ), /* Type Offset=34 */
- /* 68 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
- 0x8, /* FC_LONG */
- /* 70 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
- 0x8, /* FC_LONG */
- /* 72 */
- 0x4d, /* FC_IN_PARAM */
- #ifndef _ALPHA_
- 0x1, /* x86, MIPS & PPC Stack size = 1 */
- #else
- 0x2, /* Alpha Stack size = 2 */
- #endif
- /* 74 */ NdrFcShort( 0x52 ), /* Type Offset=82 */
- /* 76 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
- 0x8, /* FC_LONG */
- /* 78 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
- 0x8, /* FC_LONG */
- /* 80 */
- 0x51, /* FC_OUT_PARAM */
- #ifndef _ALPHA_
- 0x1, /* x86, MIPS & PPC Stack size = 1 */
- #else
- 0x2, /* Alpha Stack size = 2 */
- #endif
- /* 82 */ NdrFcShort( 0x22 ), /* Type Offset=34 */
- /* 84 */
- 0x51, /* FC_OUT_PARAM */
- #ifndef _ALPHA_
- 0x1, /* x86, MIPS & PPC Stack size = 1 */
- #else
- 0x2, /* Alpha Stack size = 2 */
- #endif
- /* 86 */ NdrFcShort( 0x68 ), /* Type Offset=104 */
- /* 88 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
- 0x8, /* FC_LONG */
- /* 90 */
- 0x51, /* FC_OUT_PARAM */
- #ifndef _ALPHA_
- 0x1, /* x86, MIPS & PPC Stack size = 1 */
- #else
- 0x2, /* Alpha Stack size = 2 */
- #endif
- /* 92 */ NdrFcShort( 0x88 ), /* Type Offset=136 */
- /* 94 */
- 0x51, /* FC_OUT_PARAM */
- #ifndef _ALPHA_
- 0x1, /* x86, MIPS & PPC Stack size = 1 */
- #else
- 0x2, /* Alpha Stack size = 2 */
- #endif
- /* 96 */ NdrFcShort( 0x22 ), /* Type Offset=34 */
- /* 98 */
- 0x51, /* FC_OUT_PARAM */
- #ifndef _ALPHA_
- 0x1, /* x86, MIPS & PPC Stack size = 1 */
- #else
- 0x2, /* Alpha Stack size = 2 */
- #endif
- /* 100 */ NdrFcShort( 0x68 ), /* Type Offset=104 */
- /* 102 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
- 0x8, /* FC_LONG */
- /* 104 */
- 0x4d, /* FC_IN_PARAM */
- #ifndef _ALPHA_
- 0x1, /* x86, MIPS & PPC Stack size = 1 */
- #else
- 0x2, /* Alpha Stack size = 2 */
- #endif
- /* 106 */ NdrFcShort( 0x8c ), /* Type Offset=140 */
- /* 108 */
- 0x51, /* FC_OUT_PARAM */
- #ifndef _ALPHA_
- 0x1, /* x86, MIPS & PPC Stack size = 1 */
- #else
- 0x2, /* Alpha Stack size = 2 */
- #endif
- /* 110 */ NdrFcShort( 0x96 ), /* Type Offset=150 */
- /* 112 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
- 0x8, /* FC_LONG */
- /* 114 */
- 0x4d, /* FC_IN_PARAM */
- #ifndef _ALPHA_
- 0x1, /* x86, MIPS & PPC Stack size = 1 */
- #else
- 0x2, /* Alpha Stack size = 2 */
- #endif
- /* 116 */ NdrFcShort( 0xa4 ), /* Type Offset=164 */
- /* 118 */
- 0x4d, /* FC_IN_PARAM */
- #ifndef _ALPHA_
- 0x1, /* x86, MIPS & PPC Stack size = 1 */
- #else
- 0x2, /* Alpha Stack size = 2 */
- #endif
- /* 120 */ NdrFcShort( 0xae ), /* Type Offset=174 */
- /* 122 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
- 0x8, /* FC_LONG */
- /* 124 */
- 0x4d, /* FC_IN_PARAM */
- #ifndef _ALPHA_
- 0x1, /* x86, MIPS & PPC Stack size = 1 */
- #else
- 0x2, /* Alpha Stack size = 2 */
- #endif
- /* 126 */ NdrFcShort( 0xb8 ), /* Type Offset=184 */
- /* 128 */
- 0x51, /* FC_OUT_PARAM */
- #ifndef _ALPHA_
- 0x1, /* x86, MIPS & PPC Stack size = 1 */
- #else
- 0x2, /* Alpha Stack size = 2 */
- #endif
- /* 130 */ NdrFcShort( 0xc2 ), /* Type Offset=194 */
- /* 132 */
- 0x51, /* FC_OUT_PARAM */
- #ifndef _ALPHA_
- 0x1, /* x86, MIPS & PPC Stack size = 1 */
- #else
- 0x2, /* Alpha Stack size = 2 */
- #endif
- /* 134 */ NdrFcShort( 0x68 ), /* Type Offset=104 */
- /* 136 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
- 0x8, /* FC_LONG */
- /* 138 */
- 0x51, /* FC_OUT_PARAM */
- #ifndef _ALPHA_
- 0x1, /* x86, MIPS & PPC Stack size = 1 */
- #else
- 0x2, /* Alpha Stack size = 2 */
- #endif
- /* 140 */ NdrFcShort( 0xd0 ), /* Type Offset=208 */
- /* 142 */
- 0x51, /* FC_OUT_PARAM */
- #ifndef _ALPHA_
- 0x1, /* x86, MIPS & PPC Stack size = 1 */
- #else
- 0x2, /* Alpha Stack size = 2 */
- #endif
- /* 144 */ NdrFcShort( 0xde ), /* Type Offset=222 */
- /* 146 */
- 0x51, /* FC_OUT_PARAM */
- #ifndef _ALPHA_
- 0x1, /* x86, MIPS & PPC Stack size = 1 */
- #else
- 0x2, /* Alpha Stack size = 2 */
- #endif
- /* 148 */ NdrFcShort( 0x68 ), /* Type Offset=104 */
- /* 150 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
- 0x8, /* FC_LONG */
- /* 152 */
- 0x51, /* FC_OUT_PARAM */
- #ifndef _ALPHA_
- 0x1, /* x86, MIPS & PPC Stack size = 1 */
- #else
- 0x2, /* Alpha Stack size = 2 */
- #endif
- /* 154 */ NdrFcShort( 0xec ), /* Type Offset=236 */
- /* 156 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
- 0x8, /* FC_LONG */
- /* 158 */
- 0x4d, /* FC_IN_PARAM */
- #ifndef _ALPHA_
- 0x1, /* x86, MIPS & PPC Stack size = 1 */
- #else
- 0x2, /* Alpha Stack size = 2 */
- #endif
- /* 160 */ NdrFcShort( 0xfa ), /* Type Offset=250 */
- /* 162 */
- 0x51, /* FC_OUT_PARAM */
- #ifndef _ALPHA_
- 0x1, /* x86, MIPS & PPC Stack size = 1 */
- #else
- 0x2, /* Alpha Stack size = 2 */
- #endif
- /* 164 */ NdrFcShort( 0x68 ), /* Type Offset=104 */
- /* 166 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
- 0x8, /* FC_LONG */
- /* 168 */
- 0x4d, /* FC_IN_PARAM */
- #ifndef _ALPHA_
- 0x1, /* x86, MIPS & PPC Stack size = 1 */
- #else
- 0x2, /* Alpha Stack size = 2 */
- #endif
- /* 170 */ NdrFcShort( 0x104 ), /* Type Offset=260 */
- /* 172 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
- 0x8, /* FC_LONG */
- /* 174 */
- 0x4d, /* FC_IN_PARAM */
- #ifndef _ALPHA_
- 0x1, /* x86, MIPS & PPC Stack size = 1 */
- #else
- 0x2, /* Alpha Stack size = 2 */
- #endif
- /* 176 */ NdrFcShort( 0x10e ), /* Type Offset=270 */
- /* 178 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
- 0x8, /* FC_LONG */
- /* 180 */
- 0x4d, /* FC_IN_PARAM */
- #ifndef _ALPHA_
- 0x1, /* x86, MIPS & PPC Stack size = 1 */
- #else
- 0x2, /* Alpha Stack size = 2 */
- #endif
- /* 182 */ NdrFcShort( 0x118 ), /* Type Offset=280 */
- /* 184 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
- 0x8, /* FC_LONG */
- /* 186 */
- 0x51, /* FC_OUT_PARAM */
- #ifndef _ALPHA_
- 0x1, /* x86, MIPS & PPC Stack size = 1 */
- #else
- 0x2, /* Alpha Stack size = 2 */
- #endif
- /* 188 */ NdrFcShort( 0x122 ), /* Type Offset=290 */
- /* 190 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
- 0x8, /* FC_LONG */
- /* 192 */
- 0x51, /* FC_OUT_PARAM */
- #ifndef _ALPHA_
- 0x1, /* x86, MIPS & PPC Stack size = 1 */
- #else
- 0x2, /* Alpha Stack size = 2 */
- #endif
- /* 194 */ NdrFcShort( 0x130 ), /* Type Offset=304 */
- /* 196 */
- 0x51, /* FC_OUT_PARAM */
- #ifndef _ALPHA_
- 0x1, /* x86, MIPS & PPC Stack size = 1 */
- #else
- 0x2, /* Alpha Stack size = 2 */
- #endif
- /* 198 */ NdrFcShort( 0x68 ), /* Type Offset=104 */
- /* 200 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
- 0x8, /* FC_LONG */
- /* 202 */
- 0x4d, /* FC_IN_PARAM */
- #ifndef _ALPHA_
- 0x1, /* x86, MIPS & PPC Stack size = 1 */
- #else
- 0x2, /* Alpha Stack size = 2 */
- #endif
- /* 204 */ NdrFcShort( 0x52 ), /* Type Offset=82 */
- /* 206 */
- 0x51, /* FC_OUT_PARAM */
- #ifndef _ALPHA_
- 0x1, /* x86, MIPS & PPC Stack size = 1 */
- #else
- 0x2, /* Alpha Stack size = 2 */
- #endif
- /* 208 */ NdrFcShort( 0x68 ), /* Type Offset=104 */
- /* 210 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
- 0x8, /* FC_LONG */
- /* 212 */
- 0x4d, /* FC_IN_PARAM */
- #ifndef _ALPHA_
- 0x1, /* x86, MIPS & PPC Stack size = 1 */
- #else
- 0x2, /* Alpha Stack size = 2 */
- #endif
- /* 214 */ NdrFcShort( 0x52 ), /* Type Offset=82 */
- /* 216 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
- 0x8, /* FC_LONG */
- /* 218 */
- 0x51, /* FC_OUT_PARAM */
- #ifndef _ALPHA_
- 0x1, /* x86, MIPS & PPC Stack size = 1 */
- #else
- 0x2, /* Alpha Stack size = 2 */
- #endif
- /* 220 */ NdrFcShort( 0x22 ), /* Type Offset=34 */
- /* 222 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
- 0x8, /* FC_LONG */
- /* 224 */
- 0x51, /* FC_OUT_PARAM */
- #ifndef _ALPHA_
- 0x1, /* x86, MIPS & PPC Stack size = 1 */
- #else
- 0x2, /* Alpha Stack size = 2 */
- #endif
- /* 226 */ NdrFcShort( 0x22 ), /* Type Offset=34 */
- /* 228 */
- 0x51, /* FC_OUT_PARAM */
- #ifndef _ALPHA_
- 0x1, /* x86, MIPS & PPC Stack size = 1 */
- #else
- 0x2, /* Alpha Stack size = 2 */
- #endif
- /* 230 */ NdrFcShort( 0x68 ), /* Type Offset=104 */
- /* 232 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
- 0x8, /* FC_LONG */
- /* 234 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
- 0x8, /* FC_LONG */
- /* 236 */
- 0x51, /* FC_OUT_PARAM */
- #ifndef _ALPHA_
- 0x1, /* x86, MIPS & PPC Stack size = 1 */
- #else
- 0x2, /* Alpha Stack size = 2 */
- #endif
- /* 238 */ NdrFcShort( 0x68 ), /* Type Offset=104 */
- /* 240 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
- 0x8, /* FC_LONG */
- /* 242 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
- 0x8, /* FC_LONG */
- /* 244 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
- 0x8, /* FC_LONG */
- /* 246 */
- 0x51, /* FC_OUT_PARAM */
- #ifndef _ALPHA_
- 0x1, /* x86, MIPS & PPC Stack size = 1 */
- #else
- 0x2, /* Alpha Stack size = 2 */
- #endif
- /* 248 */ NdrFcShort( 0x88 ), /* Type Offset=136 */
- /* 250 */
- 0x51, /* FC_OUT_PARAM */
- #ifndef _ALPHA_
- 0x1, /* x86, MIPS & PPC Stack size = 1 */
- #else
- 0x2, /* Alpha Stack size = 2 */
- #endif
- /* 252 */ NdrFcShort( 0x68 ), /* Type Offset=104 */
- /* 254 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
- 0x8, /* FC_LONG */
- /* 256 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
- 0x8, /* FC_LONG */
- /* 258 */
- 0x51, /* FC_OUT_PARAM */
- #ifndef _ALPHA_
- 0x1, /* x86, MIPS & PPC Stack size = 1 */
- #else
- 0x2, /* Alpha Stack size = 2 */
- #endif
- /* 260 */ NdrFcShort( 0x88 ), /* Type Offset=136 */
- /* 262 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
- 0x8, /* FC_LONG */
- /* 264 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
- 0x8, /* FC_LONG */
- /* 266 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
- 0x8, /* FC_LONG */
- /* 268 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
- 0x8, /* FC_LONG */
- /* 270 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
- 0x8, /* FC_LONG */
- /* 272 */
- 0x51, /* FC_OUT_PARAM */
- #ifndef _ALPHA_
- 0x1, /* x86, MIPS & PPC Stack size = 1 */
- #else
- 0x2, /* Alpha Stack size = 2 */
- #endif
- /* 274 */ NdrFcShort( 0x13e ), /* Type Offset=318 */
- /* 276 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
- 0x8, /* FC_LONG */
- /* 278 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
- 0x8, /* FC_LONG */
- /* 280 */
- 0x4d, /* FC_IN_PARAM */
- #ifndef _ALPHA_
- 0x2, /* x86, MIPS & PPC Stack size = 2 */
- #else
- 0x2, /* Alpha Stack size = 2 */
- #endif
- /* 282 */ NdrFcShort( 0x142 ), /* Type Offset=322 */
- /* 284 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
- 0x8, /* FC_LONG */
- /* 286 */
- 0x4d, /* FC_IN_PARAM */
- #ifndef _ALPHA_
- 0x2, /* x86, MIPS & PPC Stack size = 2 */
- #else
- 0x2, /* Alpha Stack size = 2 */
- #endif
- /* 288 */ NdrFcShort( 0x142 ), /* Type Offset=322 */
- /* 290 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
- 0x8, /* FC_LONG */
- /* 292 */
- 0x51, /* FC_OUT_PARAM */
- #ifndef _ALPHA_
- 0x1, /* x86, MIPS & PPC Stack size = 1 */
- #else
- 0x2, /* Alpha Stack size = 2 */
- #endif
- /* 294 */ NdrFcShort( 0x13e ), /* Type Offset=318 */
- /* 296 */
- 0x51, /* FC_OUT_PARAM */
- #ifndef _ALPHA_
- 0x1, /* x86, MIPS & PPC Stack size = 1 */
- #else
- 0x2, /* Alpha Stack size = 2 */
- #endif
- /* 298 */ NdrFcShort( 0x68 ), /* Type Offset=104 */
- /* 300 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
- 0x8, /* FC_LONG */
-
- 0x0
- }
- };
-
- static const MIDL_TYPE_FORMAT_STRING __MIDL_TypeFormatString =
- {
- 0,
- {
- 0x12, 0x0, /* FC_UP */
- /* 2 */ NdrFcShort( 0xc ), /* Offset= 12 (14) */
- /* 4 */
- 0x1b, /* FC_CARRAY */
- 0x1, /* 1 */
- /* 6 */ NdrFcShort( 0x2 ), /* 2 */
- /* 8 */ 0x9, /* 9 */
- 0x0, /* */
- /* 10 */ NdrFcShort( 0xfffffffc ), /* -4 */
- /* 12 */ 0x6, /* FC_SHORT */
- 0x5b, /* FC_END */
- /* 14 */
- 0x17, /* FC_CSTRUCT */
- 0x3, /* 3 */
- /* 16 */ NdrFcShort( 0x8 ), /* 8 */
- /* 18 */ NdrFcShort( 0xfffffff2 ), /* Offset= -14 (4) */
- /* 20 */ 0x8, /* FC_LONG */
- 0x8, /* FC_LONG */
- /* 22 */ 0x5c, /* FC_PAD */
- 0x5b, /* FC_END */
- /* 24 */ 0xb4, /* FC_USER_MARSHAL */
- 0x83, /* 131 */
- /* 26 */ NdrFcShort( 0x0 ), /* 0 */
- /* 28 */ NdrFcShort( 0x4 ), /* 4 */
- /* 30 */ NdrFcShort( 0x0 ), /* 0 */
- /* 32 */ NdrFcShort( 0xffffffe0 ), /* Offset= -32 (0) */
- /* 34 */
- 0x11, 0x14, /* FC_RP [alloced_on_stack] */
- /* 36 */ NdrFcShort( 0x2 ), /* Offset= 2 (38) */
- /* 38 */
- 0x13, 0x0, /* FC_OP */
- /* 40 */ NdrFcShort( 0x10 ), /* Offset= 16 (56) */
- /* 42 */
- 0x13, 0x0, /* FC_OP */
- /* 44 */ NdrFcShort( 0xffffffe2 ), /* Offset= -30 (14) */
- /* 46 */ 0xb4, /* FC_USER_MARSHAL */
- 0x83, /* 131 */
- /* 48 */ NdrFcShort( 0x0 ), /* 0 */
- /* 50 */ NdrFcShort( 0x4 ), /* 4 */
- /* 52 */ NdrFcShort( 0x0 ), /* 0 */
- /* 54 */ NdrFcShort( 0xfffffff4 ), /* Offset= -12 (42) */
- /* 56 */
- 0x1a, /* FC_BOGUS_STRUCT */
- 0x3, /* 3 */
- /* 58 */ NdrFcShort( 0xc ), /* 12 */
- /* 60 */ NdrFcShort( 0x0 ), /* 0 */
- /* 62 */ NdrFcShort( 0x0 ), /* Offset= 0 (62) */
- /* 64 */ 0x8, /* FC_LONG */
- 0xa, /* FC_FLOAT */
- /* 66 */ 0x4c, /* FC_EMBEDDED_COMPLEX */
- 0x0, /* 0 */
- /* 68 */ NdrFcShort( 0xffffffea ), /* Offset= -22 (46) */
- /* 70 */ 0x5c, /* FC_PAD */
- 0x5b, /* FC_END */
- /* 72 */ 0xb4, /* FC_USER_MARSHAL */
- 0x83, /* 131 */
- /* 74 */ NdrFcShort( 0x0 ), /* 0 */
- /* 76 */ NdrFcShort( 0x4 ), /* 4 */
- /* 78 */ NdrFcShort( 0x0 ), /* 0 */
- /* 80 */ NdrFcShort( 0xffffffb0 ), /* Offset= -80 (0) */
- /* 82 */
- 0x11, 0x0, /* FC_RP */
- /* 84 */ NdrFcShort( 0xffffffe4 ), /* Offset= -28 (56) */
- /* 86 */ 0xb4, /* FC_USER_MARSHAL */
- 0x83, /* 131 */
- /* 88 */ NdrFcShort( 0x0 ), /* 0 */
- /* 90 */ NdrFcShort( 0x4 ), /* 4 */
- /* 92 */ NdrFcShort( 0x0 ), /* 0 */
- /* 94 */ NdrFcShort( 0xffffffa2 ), /* Offset= -94 (0) */
- /* 96 */
- 0x11, 0x10, /* FC_RP */
- /* 98 */ NdrFcShort( 0x2 ), /* Offset= 2 (100) */
- /* 100 */
- 0x12, 0x0, /* FC_UP */
- /* 102 */ NdrFcShort( 0xffffffd2 ), /* Offset= -46 (56) */
- /* 104 */
- 0x11, 0xc, /* FC_RP [alloced_on_stack] [simple_pointer] */
- /* 106 */ 0x6, /* FC_SHORT */
- 0x5c, /* FC_PAD */
- /* 108 */
- 0x11, 0x4, /* FC_RP [alloced_on_stack] */
- /* 110 */ NdrFcShort( 0x2 ), /* Offset= 2 (112) */
- /* 112 */ 0xb4, /* FC_USER_MARSHAL */
- 0x83, /* 131 */
- /* 114 */ NdrFcShort( 0x0 ), /* 0 */
- /* 116 */ NdrFcShort( 0x4 ), /* 4 */
- /* 118 */ NdrFcShort( 0x0 ), /* 0 */
- /* 120 */ NdrFcShort( 0xffffffb2 ), /* Offset= -78 (42) */
- /* 122 */
- 0x11, 0x4, /* FC_RP [alloced_on_stack] */
- /* 124 */ NdrFcShort( 0x2 ), /* Offset= 2 (126) */
- /* 126 */ 0xb4, /* FC_USER_MARSHAL */
- 0x83, /* 131 */
- /* 128 */ NdrFcShort( 0x0 ), /* 0 */
- /* 130 */ NdrFcShort( 0x4 ), /* 4 */
- /* 132 */ NdrFcShort( 0x0 ), /* 0 */
- /* 134 */ NdrFcShort( 0xffffffa4 ), /* Offset= -92 (42) */
- /* 136 */
- 0x11, 0xc, /* FC_RP [alloced_on_stack] [simple_pointer] */
- /* 138 */ 0x8, /* FC_LONG */
- 0x5c, /* FC_PAD */
- /* 140 */ 0xb4, /* FC_USER_MARSHAL */
- 0x83, /* 131 */
- /* 142 */ NdrFcShort( 0x0 ), /* 0 */
- /* 144 */ NdrFcShort( 0x4 ), /* 4 */
- /* 146 */ NdrFcShort( 0x0 ), /* 0 */
- /* 148 */ NdrFcShort( 0xffffff6c ), /* Offset= -148 (0) */
- /* 150 */
- 0x11, 0x4, /* FC_RP [alloced_on_stack] */
- /* 152 */ NdrFcShort( 0x2 ), /* Offset= 2 (154) */
- /* 154 */ 0xb4, /* FC_USER_MARSHAL */
- 0x83, /* 131 */
- /* 156 */ NdrFcShort( 0x0 ), /* 0 */
- /* 158 */ NdrFcShort( 0x4 ), /* 4 */
- /* 160 */ NdrFcShort( 0x0 ), /* 0 */
- /* 162 */ NdrFcShort( 0xffffff88 ), /* Offset= -120 (42) */
- /* 164 */ 0xb4, /* FC_USER_MARSHAL */
- 0x83, /* 131 */
- /* 166 */ NdrFcShort( 0x0 ), /* 0 */
- /* 168 */ NdrFcShort( 0x4 ), /* 4 */
- /* 170 */ NdrFcShort( 0x0 ), /* 0 */
- /* 172 */ NdrFcShort( 0xffffff54 ), /* Offset= -172 (0) */
- /* 174 */ 0xb4, /* FC_USER_MARSHAL */
- 0x83, /* 131 */
- /* 176 */ NdrFcShort( 0x0 ), /* 0 */
- /* 178 */ NdrFcShort( 0x4 ), /* 4 */
- /* 180 */ NdrFcShort( 0x0 ), /* 0 */
- /* 182 */ NdrFcShort( 0xffffff4a ), /* Offset= -182 (0) */
- /* 184 */ 0xb4, /* FC_USER_MARSHAL */
- 0x83, /* 131 */
- /* 186 */ NdrFcShort( 0x0 ), /* 0 */
- /* 188 */ NdrFcShort( 0x4 ), /* 4 */
- /* 190 */ NdrFcShort( 0x0 ), /* 0 */
- /* 192 */ NdrFcShort( 0xffffff40 ), /* Offset= -192 (0) */
- /* 194 */
- 0x11, 0x4, /* FC_RP [alloced_on_stack] */
- /* 196 */ NdrFcShort( 0x2 ), /* Offset= 2 (198) */
- /* 198 */ 0xb4, /* FC_USER_MARSHAL */
- 0x83, /* 131 */
- /* 200 */ NdrFcShort( 0x0 ), /* 0 */
- /* 202 */ NdrFcShort( 0x4 ), /* 4 */
- /* 204 */ NdrFcShort( 0x0 ), /* 0 */
- /* 206 */ NdrFcShort( 0xffffff5c ), /* Offset= -164 (42) */
- /* 208 */
- 0x11, 0x4, /* FC_RP [alloced_on_stack] */
- /* 210 */ NdrFcShort( 0x2 ), /* Offset= 2 (212) */
- /* 212 */ 0xb4, /* FC_USER_MARSHAL */
- 0x83, /* 131 */
- /* 214 */ NdrFcShort( 0x0 ), /* 0 */
- /* 216 */ NdrFcShort( 0x4 ), /* 4 */
- /* 218 */ NdrFcShort( 0x0 ), /* 0 */
- /* 220 */ NdrFcShort( 0xffffff4e ), /* Offset= -178 (42) */
- /* 222 */
- 0x11, 0x4, /* FC_RP [alloced_on_stack] */
- /* 224 */ NdrFcShort( 0x2 ), /* Offset= 2 (226) */
- /* 226 */ 0xb4, /* FC_USER_MARSHAL */
- 0x83, /* 131 */
- /* 228 */ NdrFcShort( 0x0 ), /* 0 */
- /* 230 */ NdrFcShort( 0x4 ), /* 4 */
- /* 232 */ NdrFcShort( 0x0 ), /* 0 */
- /* 234 */ NdrFcShort( 0xffffff40 ), /* Offset= -192 (42) */
- /* 236 */
- 0x11, 0x4, /* FC_RP [alloced_on_stack] */
- /* 238 */ NdrFcShort( 0x2 ), /* Offset= 2 (240) */
- /* 240 */ 0xb4, /* FC_USER_MARSHAL */
- 0x83, /* 131 */
- /* 242 */ NdrFcShort( 0x0 ), /* 0 */
- /* 244 */ NdrFcShort( 0x4 ), /* 4 */
- /* 246 */ NdrFcShort( 0x0 ), /* 0 */
- /* 248 */ NdrFcShort( 0xffffff32 ), /* Offset= -206 (42) */
- /* 250 */ 0xb4, /* FC_USER_MARSHAL */
- 0x83, /* 131 */
- /* 252 */ NdrFcShort( 0x0 ), /* 0 */
- /* 254 */ NdrFcShort( 0x4 ), /* 4 */
- /* 256 */ NdrFcShort( 0x0 ), /* 0 */
- /* 258 */ NdrFcShort( 0xfffffefe ), /* Offset= -258 (0) */
- /* 260 */ 0xb4, /* FC_USER_MARSHAL */
- 0x83, /* 131 */
- /* 262 */ NdrFcShort( 0x0 ), /* 0 */
- /* 264 */ NdrFcShort( 0x4 ), /* 4 */
- /* 266 */ NdrFcShort( 0x0 ), /* 0 */
- /* 268 */ NdrFcShort( 0xfffffef4 ), /* Offset= -268 (0) */
- /* 270 */ 0xb4, /* FC_USER_MARSHAL */
- 0x83, /* 131 */
- /* 272 */ NdrFcShort( 0x0 ), /* 0 */
- /* 274 */ NdrFcShort( 0x4 ), /* 4 */
- /* 276 */ NdrFcShort( 0x0 ), /* 0 */
- /* 278 */ NdrFcShort( 0xfffffeea ), /* Offset= -278 (0) */
- /* 280 */ 0xb4, /* FC_USER_MARSHAL */
- 0x83, /* 131 */
- /* 282 */ NdrFcShort( 0x0 ), /* 0 */
- /* 284 */ NdrFcShort( 0x4 ), /* 4 */
- /* 286 */ NdrFcShort( 0x0 ), /* 0 */
- /* 288 */ NdrFcShort( 0xfffffee0 ), /* Offset= -288 (0) */
- /* 290 */
- 0x11, 0x4, /* FC_RP [alloced_on_stack] */
- /* 292 */ NdrFcShort( 0x2 ), /* Offset= 2 (294) */
- /* 294 */ 0xb4, /* FC_USER_MARSHAL */
- 0x83, /* 131 */
- /* 296 */ NdrFcShort( 0x0 ), /* 0 */
- /* 298 */ NdrFcShort( 0x4 ), /* 4 */
- /* 300 */ NdrFcShort( 0x0 ), /* 0 */
- /* 302 */ NdrFcShort( 0xfffffefc ), /* Offset= -260 (42) */
- /* 304 */
- 0x11, 0x4, /* FC_RP [alloced_on_stack] */
- /* 306 */ NdrFcShort( 0x2 ), /* Offset= 2 (308) */
- /* 308 */ 0xb4, /* FC_USER_MARSHAL */
- 0x83, /* 131 */
- /* 310 */ NdrFcShort( 0x0 ), /* 0 */
- /* 312 */ NdrFcShort( 0x4 ), /* 4 */
- /* 314 */ NdrFcShort( 0x0 ), /* 0 */
- /* 316 */ NdrFcShort( 0xfffffeee ), /* Offset= -274 (42) */
- /* 318 */
- 0x11, 0x4, /* FC_RP [alloced_on_stack] */
- /* 320 */ NdrFcShort( 0x2 ), /* Offset= 2 (322) */
- /* 322 */
- 0x15, /* FC_STRUCT */
- 0x3, /* 3 */
- /* 324 */ NdrFcShort( 0x8 ), /* 8 */
- /* 326 */ 0x8, /* FC_LONG */
- 0x8, /* FC_LONG */
- /* 328 */ 0x5c, /* FC_PAD */
- 0x5b, /* FC_END */
-
- 0x0
- }
- };
-
- const CInterfaceProxyVtbl * _stlcoll_ProxyVtblList[] =
- {
- ( CInterfaceProxyVtbl *) &_IStlPointArrayProxyVtbl,
- ( CInterfaceProxyVtbl *) &_IStlMapsProxyVtbl,
- ( CInterfaceProxyVtbl *) &_IStlMapStringToMyObjectProxyVtbl,
- ( CInterfaceProxyVtbl *) &_IStlMapDWordToMyStructProxyVtbl,
- ( CInterfaceProxyVtbl *) &_IStlMapStringToStringProxyVtbl,
- ( CInterfaceProxyVtbl *) &_IStlListsProxyVtbl,
- ( CInterfaceProxyVtbl *) &_IStlStringListProxyVtbl,
- ( CInterfaceProxyVtbl *) &_IStlMyStructListProxyVtbl,
- ( CInterfaceProxyVtbl *) &_IStlintListProxyVtbl,
- ( CInterfaceProxyVtbl *) &_IStlArraysProxyVtbl,
- ( CInterfaceProxyVtbl *) &_IStlDWordArrayProxyVtbl,
- ( CInterfaceProxyVtbl *) &_IStlMyObjectArrayProxyVtbl,
- 0
- };
-
- const CInterfaceStubVtbl * _stlcoll_StubVtblList[] =
- {
- ( CInterfaceStubVtbl *) &_IStlPointArrayStubVtbl,
- ( CInterfaceStubVtbl *) &_IStlMapsStubVtbl,
- ( CInterfaceStubVtbl *) &_IStlMapStringToMyObjectStubVtbl,
- ( CInterfaceStubVtbl *) &_IStlMapDWordToMyStructStubVtbl,
- ( CInterfaceStubVtbl *) &_IStlMapStringToStringStubVtbl,
- ( CInterfaceStubVtbl *) &_IStlListsStubVtbl,
- ( CInterfaceStubVtbl *) &_IStlStringListStubVtbl,
- ( CInterfaceStubVtbl *) &_IStlMyStructListStubVtbl,
- ( CInterfaceStubVtbl *) &_IStlintListStubVtbl,
- ( CInterfaceStubVtbl *) &_IStlArraysStubVtbl,
- ( CInterfaceStubVtbl *) &_IStlDWordArrayStubVtbl,
- ( CInterfaceStubVtbl *) &_IStlMyObjectArrayStubVtbl,
- 0
- };
-
- PCInterfaceName const _stlcoll_InterfaceNamesList[] =
- {
- "IStlPointArray",
- "IStlMaps",
- "IStlMapStringToMyObject",
- "IStlMapDWordToMyStruct",
- "IStlMapStringToString",
- "IStlLists",
- "IStlStringList",
- "IStlMyStructList",
- "IStlintList",
- "IStlArrays",
- "IStlDWordArray",
- "IStlMyObjectArray",
- 0
- };
-
-
- #define _stlcoll_CHECK_IID(n) IID_GENERIC_CHECK_IID( _stlcoll, pIID, n)
-
- int __stdcall _stlcoll_IID_Lookup( const IID * pIID, int * pIndex )
- {
- IID_BS_LOOKUP_SETUP
-
- IID_BS_LOOKUP_INITIAL_TEST( _stlcoll, 12, 8 )
- IID_BS_LOOKUP_NEXT_TEST( _stlcoll, 4 )
- IID_BS_LOOKUP_NEXT_TEST( _stlcoll, 2 )
- IID_BS_LOOKUP_NEXT_TEST( _stlcoll, 1 )
- IID_BS_LOOKUP_RETURN_RESULT( _stlcoll, 12, *pIndex )
-
- }
-
- const ExtendedProxyFileInfo stlcoll_ProxyFileInfo =
- {
- (PCInterfaceProxyVtblList *) & _stlcoll_ProxyVtblList,
- (PCInterfaceStubVtblList *) & _stlcoll_StubVtblList,
- (const PCInterfaceName * ) & _stlcoll_InterfaceNamesList,
- 0, // no delegation
- & _stlcoll_IID_Lookup,
- 12,
- 1
- };
-