📄 creditverification_s.c
字号:
#pragma warning( disable: 4049 ) /* more than 64k source lines */
/* this ALWAYS GENERATED file contains the RPC server stubs */
/* File created by MIDL compiler version 6.00.0342 */
/* at Sun Oct 14 19:24:35 2001
*/
/* Compiler settings for CreditVerification.idl:
Os, W1, Zp8, env=Win32 (32b run)
protocol : dce , ms_ext, c_ext
error checks: allocation ref bounds_check enum stub_data
VC __declspec() decoration level:
__declspec(uuid()), __declspec(selectany), __declspec(novtable)
DECLSPEC_UUID(), MIDL_INTERFACE()
*/
//@@MIDL_FILE_HEADING( )
#if !defined(_M_IA64) && !defined(_M_AMD64)
#include <string.h>
#include "CreditVerification_h.h"
#define TYPE_FORMAT_STRING_SIZE 11
#define PROC_FORMAT_STRING_SIZE 21
#define TRANSMIT_AS_TABLE_SIZE 0
#define WIRE_MARSHAL_TABLE_SIZE 0
typedef struct _MIDL_TYPE_FORMAT_STRING
{
short Pad;
unsigned char Format[ TYPE_FORMAT_STRING_SIZE ];
} MIDL_TYPE_FORMAT_STRING;
typedef struct _MIDL_PROC_FORMAT_STRING
{
short Pad;
unsigned char Format[ PROC_FORMAT_STRING_SIZE ];
} MIDL_PROC_FORMAT_STRING;
static RPC_SYNTAX_IDENTIFIER _RpcTransferSyntax =
{{0x8A885D04,0x1CEB,0x11C9,{0x9F,0xE8,0x08,0x00,0x2B,0x10,0x48,0x60}},{2,0}};
extern const MIDL_TYPE_FORMAT_STRING __MIDL_TypeFormatString;
extern const MIDL_PROC_FORMAT_STRING __MIDL_ProcFormatString;
/* Standard interface: ICreditVerification, ver. 0.0,
GUID={0xcbb27840,0x836d,0x11d1,{0xb9,0x90,0x00,0x80,0xc8,0x24,0xb3,0x23}} */
extern RPC_DISPATCH_TABLE ICreditVerification_v0_0_DispatchTable;
static const RPC_SERVER_INTERFACE ICreditVerification___RpcServerInterface =
{
sizeof(RPC_SERVER_INTERFACE),
{{0xcbb27840,0x836d,0x11d1,{0xb9,0x90,0x00,0x80,0xc8,0x24,0xb3,0x23}},{0,0}},
{{0x8A885D04,0x1CEB,0x11C9,{0x9F,0xE8,0x08,0x00,0x2B,0x10,0x48,0x60}},{2,0}},
&ICreditVerification_v0_0_DispatchTable,
0,
0,
0,
0,
0x00000000
};
RPC_IF_HANDLE ICreditVerification_v0_0_s_ifspec = (RPC_IF_HANDLE)& ICreditVerification___RpcServerInterface;
extern const MIDL_STUB_DESC ICreditVerification_StubDesc;
void __RPC_STUB
ICreditVerification_SetCardType(
PRPC_MESSAGE _pRpcMessage )
{
HRESULT _RetVal;
MIDL_STUB_MESSAGE _StubMsg;
unsigned char *s;
RPC_STATUS _Status;
((void)(_Status));
NdrServerInitializeNew(
_pRpcMessage,
&_StubMsg,
&ICreditVerification_StubDesc);
( unsigned char * )s = 0;
RpcTryFinally
{
RpcTryExcept
{
if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[0] );
_StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 0) & ~ 0);
s = ( unsigned char * )_StubMsg.Buffer;
_StubMsg.Buffer += sizeof( unsigned char );
if(_StubMsg.Buffer > _StubMsg.BufferEnd)
{
RpcRaiseException(RPC_X_BAD_STUB_DATA);
}
}
RpcExcept( RPC_BAD_STUB_DATA_EXCEPTION_FILTER )
{
RpcRaiseException(RPC_X_BAD_STUB_DATA);
}
RpcEndExcept
_RetVal = SetCardType(s);
_StubMsg.BufferLength = 8;
_pRpcMessage->BufferLength = _StubMsg.BufferLength;
_Status = I_RpcGetBuffer( _pRpcMessage );
if ( _Status )
RpcRaiseException( _Status );
_StubMsg.Buffer = (unsigned char *) _pRpcMessage->Buffer;
_StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
*(( HRESULT * )_StubMsg.Buffer)++ = _RetVal;
}
RpcFinally
{
}
RpcEndFinally
_pRpcMessage->BufferLength =
(unsigned int)(_StubMsg.Buffer - (unsigned char *)_pRpcMessage->Buffer);
}
void __RPC_STUB
ICreditVerification_VerifyCardNumber(
PRPC_MESSAGE _pRpcMessage )
{
HRESULT _RetVal;
MIDL_STUB_MESSAGE _StubMsg;
long n;
RPC_STATUS _Status;
((void)(_Status));
NdrServerInitializeNew(
_pRpcMessage,
&_StubMsg,
&ICreditVerification_StubDesc);
n = 0;
RpcTryFinally
{
RpcTryExcept
{
if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[6] );
_StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
if(_StubMsg.Buffer + 4 > _StubMsg.BufferEnd)
{
RpcRaiseException(RPC_X_BAD_STUB_DATA);
}
n = *(( long * )_StubMsg.Buffer)++;
if(_StubMsg.Buffer > _StubMsg.BufferEnd)
{
RpcRaiseException(RPC_X_BAD_STUB_DATA);
}
}
RpcExcept( RPC_BAD_STUB_DATA_EXCEPTION_FILTER )
{
RpcRaiseException(RPC_X_BAD_STUB_DATA);
}
RpcEndExcept
_RetVal = VerifyCardNumber(n);
_StubMsg.BufferLength = 8;
_pRpcMessage->BufferLength = _StubMsg.BufferLength;
_Status = I_RpcGetBuffer( _pRpcMessage );
if ( _Status )
RpcRaiseException( _Status );
_StubMsg.Buffer = (unsigned char *) _pRpcMessage->Buffer;
_StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
*(( HRESULT * )_StubMsg.Buffer)++ = _RetVal;
}
RpcFinally
{
}
RpcEndFinally
_pRpcMessage->BufferLength =
(unsigned int)(_StubMsg.Buffer - (unsigned char *)_pRpcMessage->Buffer);
}
/* Standard interface: ISomethingElse, ver. 0.0,
GUID={0xd6925520,0x8505,0x11d1,{0xb9,0x90,0x00,0x80,0xc8,0x24,0xb3,0x23}} */
extern RPC_DISPATCH_TABLE ISomethingElse_v0_0_DispatchTable;
static const RPC_SERVER_INTERFACE ISomethingElse___RpcServerInterface =
{
sizeof(RPC_SERVER_INTERFACE),
{{0xd6925520,0x8505,0x11d1,{0xb9,0x90,0x00,0x80,0xc8,0x24,0xb3,0x23}},{0,0}},
{{0x8A885D04,0x1CEB,0x11C9,{0x9F,0xE8,0x08,0x00,0x2B,0x10,0x48,0x60}},{2,0}},
&ISomethingElse_v0_0_DispatchTable,
0,
0,
0,
0,
0x00000000
};
RPC_IF_HANDLE ISomethingElse_v0_0_s_ifspec = (RPC_IF_HANDLE)& ISomethingElse___RpcServerInterface;
extern const MIDL_STUB_DESC ISomethingElse_StubDesc;
void __RPC_STUB
ISomethingElse_Foo(
PRPC_MESSAGE _pRpcMessage )
{
HRESULT _RetVal;
MIDL_STUB_MESSAGE _StubMsg;
RPC_STATUS _Status;
((void)(_Status));
NdrServerInitializeNew(
_pRpcMessage,
&_StubMsg,
&ISomethingElse_StubDesc);
RpcTryFinally
{
RpcTryExcept
{
if(_StubMsg.Buffer > _StubMsg.BufferEnd)
{
RpcRaiseException(RPC_X_BAD_STUB_DATA);
}
}
RpcExcept( RPC_BAD_STUB_DATA_EXCEPTION_FILTER )
{
RpcRaiseException(RPC_X_BAD_STUB_DATA);
}
RpcEndExcept
_RetVal = Foo();
_StubMsg.BufferLength = 8;
_pRpcMessage->BufferLength = _StubMsg.BufferLength;
_Status = I_RpcGetBuffer( _pRpcMessage );
if ( _Status )
RpcRaiseException( _Status );
_StubMsg.Buffer = (unsigned char *) _pRpcMessage->Buffer;
_StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
*(( HRESULT * )_StubMsg.Buffer)++ = _RetVal;
}
RpcFinally
{
}
RpcEndFinally
_pRpcMessage->BufferLength =
(unsigned int)(_StubMsg.Buffer - (unsigned char *)_pRpcMessage->Buffer);
}
/* Standard interface: ICreditVerification2, ver. 0.0,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -