📄 creditverification_c.c
字号:
#pragma warning( disable: 4049 ) /* more than 64k source lines */
/* this ALWAYS GENERATED file contains the RPC client 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;
#define GENERIC_BINDING_TABLE_SIZE 0
/* Standard interface: ICreditVerification, ver. 0.0,
GUID={0xcbb27840,0x836d,0x11d1,{0xb9,0x90,0x00,0x80,0xc8,0x24,0xb3,0x23}} */
static const RPC_CLIENT_INTERFACE ICreditVerification___RpcClientInterface =
{
sizeof(RPC_CLIENT_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}},
0,
0,
0,
0,
0,
0x00000000
};
RPC_IF_HANDLE ICreditVerification_v0_0_c_ifspec = (RPC_IF_HANDLE)& ICreditVerification___RpcClientInterface;
extern const MIDL_STUB_DESC ICreditVerification_StubDesc;
static RPC_BINDING_HANDLE ICreditVerification__MIDL_AutoBindHandle;
HRESULT SetCardType(
/* [in] */ unsigned char *s)
{
HRESULT _RetVal;
RPC_MESSAGE _RpcMessage;
MIDL_STUB_MESSAGE _StubMsg;
if(!s)
{
RpcRaiseException(RPC_X_NULL_REF_POINTER);
}
RpcTryFinally
{
NdrClientInitializeNew(
( PRPC_MESSAGE )&_RpcMessage,
( PMIDL_STUB_MESSAGE )&_StubMsg,
( PMIDL_STUB_DESC )&ICreditVerification_StubDesc,
0);
_StubMsg.BufferLength = 25;
NdrNsGetBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg, _StubMsg.BufferLength, ICreditVerification__MIDL_AutoBindHandle );
_StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 0) & ~ 0);
*(( unsigned char * )_StubMsg.Buffer)++ = *s;
NdrNsSendReceive( (PMIDL_STUB_MESSAGE) &_StubMsg, (unsigned char *) _StubMsg.Buffer, (RPC_BINDING_HANDLE *) &ICreditVerification__MIDL_AutoBindHandle );
if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[0] );
_StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
if(_StubMsg.Buffer + 4 > _StubMsg.BufferEnd)
{
RpcRaiseException(RPC_X_BAD_STUB_DATA);
}
_RetVal = *(( HRESULT * )_StubMsg.Buffer)++;
}
RpcFinally
{
NdrFreeBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg );
}
RpcEndFinally
return _RetVal;
}
HRESULT VerifyCardNumber(
/* [in] */ long n)
{
HRESULT _RetVal;
RPC_MESSAGE _RpcMessage;
MIDL_STUB_MESSAGE _StubMsg;
RpcTryFinally
{
NdrClientInitializeNew(
( PRPC_MESSAGE )&_RpcMessage,
( PMIDL_STUB_MESSAGE )&_StubMsg,
( PMIDL_STUB_DESC )&ICreditVerification_StubDesc,
1);
_StubMsg.BufferLength = 8;
NdrNsGetBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg, _StubMsg.BufferLength, ICreditVerification__MIDL_AutoBindHandle );
_StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
*(( long * )_StubMsg.Buffer)++ = n;
NdrNsSendReceive( (PMIDL_STUB_MESSAGE) &_StubMsg, (unsigned char *) _StubMsg.Buffer, (RPC_BINDING_HANDLE *) &ICreditVerification__MIDL_AutoBindHandle );
if ( (_RpcMessage.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);
}
_RetVal = *(( HRESULT * )_StubMsg.Buffer)++;
}
RpcFinally
{
NdrFreeBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg );
}
RpcEndFinally
return _RetVal;
}
/* Standard interface: ISomethingElse, ver. 0.0,
GUID={0xd6925520,0x8505,0x11d1,{0xb9,0x90,0x00,0x80,0xc8,0x24,0xb3,0x23}} */
static const RPC_CLIENT_INTERFACE ISomethingElse___RpcClientInterface =
{
sizeof(RPC_CLIENT_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}},
0,
0,
0,
0,
0,
0x00000000
};
RPC_IF_HANDLE ISomethingElse_v0_0_c_ifspec = (RPC_IF_HANDLE)& ISomethingElse___RpcClientInterface;
extern const MIDL_STUB_DESC ISomethingElse_StubDesc;
static RPC_BINDING_HANDLE ISomethingElse__MIDL_AutoBindHandle;
HRESULT Foo( void)
{
HRESULT _RetVal;
RPC_MESSAGE _RpcMessage;
MIDL_STUB_MESSAGE _StubMsg;
RpcTryFinally
{
NdrClientInitializeNew(
( PRPC_MESSAGE )&_RpcMessage,
( PMIDL_STUB_MESSAGE )&_StubMsg,
( PMIDL_STUB_DESC )&ISomethingElse_StubDesc,
0);
_StubMsg.BufferLength = 0;
NdrNsGetBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg, _StubMsg.BufferLength, ISomethingElse__MIDL_AutoBindHandle );
NdrNsSendReceive( (PMIDL_STUB_MESSAGE) &_StubMsg, (unsigned char *) _StubMsg.Buffer, (RPC_BINDING_HANDLE *) &ISomethingElse__MIDL_AutoBindHandle );
if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[10] );
_StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
if(_StubMsg.Buffer + 4 > _StubMsg.BufferEnd)
{
RpcRaiseException(RPC_X_BAD_STUB_DATA);
}
_RetVal = *(( HRESULT * )_StubMsg.Buffer)++;
}
RpcFinally
{
NdrFreeBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg );
}
RpcEndFinally
return _RetVal;
}
/* Standard interface: ICreditVerification2, ver. 0.0,
GUID={0xd6925522,0x8505,0x11d1,{0xb9,0x90,0x00,0x80,0xc8,0x24,0xb3,0x23}} */
static const RPC_CLIENT_INTERFACE ICreditVerification2___RpcClientInterface =
{
sizeof(RPC_CLIENT_INTERFACE),
{{0xd6925522,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}},
0,
0,
0,
0,
0,
0x00000000
};
RPC_IF_HANDLE ICreditVerification2_v0_0_c_ifspec = (RPC_IF_HANDLE)& ICreditVerification2___RpcClientInterface;
extern const MIDL_STUB_DESC ICreditVerification2_StubDesc;
static RPC_BINDING_HANDLE ICreditVerification2__MIDL_AutoBindHandle;
HRESULT GetCardType(
/* [in] */ int i,
/* [out] */ unsigned char *__MIDL_0011)
{
HRESULT _RetVal;
RPC_MESSAGE _RpcMessage;
MIDL_STUB_MESSAGE _StubMsg;
if(!__MIDL_0011)
{
RpcRaiseException(RPC_X_NULL_REF_POINTER);
}
RpcTryFinally
{
NdrClientInitializeNew(
( PRPC_MESSAGE )&_RpcMessage,
( PMIDL_STUB_MESSAGE )&_StubMsg,
( PMIDL_STUB_DESC )&ICreditVerification2_StubDesc,
0);
_StubMsg.BufferLength = 8;
NdrNsGetBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg, _StubMsg.BufferLength, ICreditVerification2__MIDL_AutoBindHandle );
_StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
*(( int * )_StubMsg.Buffer)++ = i;
NdrNsSendReceive( (PMIDL_STUB_MESSAGE) &_StubMsg, (unsigned char *) _StubMsg.Buffer, (RPC_BINDING_HANDLE *) &ICreditVerification2__MIDL_AutoBindHandle );
if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[12] );
_StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 0) & ~ 0);
*__MIDL_0011 = *(( unsigned char * )_StubMsg.Buffer)++;
_StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
if(_StubMsg.Buffer + 4 > _StubMsg.BufferEnd)
{
RpcRaiseException(RPC_X_BAD_STUB_DATA);
}
_RetVal = *(( HRESULT * )_StubMsg.Buffer)++;
}
RpcFinally
{
NdrFreeBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg );
}
RpcEndFinally
return _RetVal;
}
#if !defined(__RPC_WIN32__)
#error Invalid build platform for this stub.
#endif
static const MIDL_PROC_FORMAT_STRING __MIDL_ProcFormatString =
{
0,
{
0x4d, /* FC_IN_PARAM */
0x1, /* x86 stack size = 1 */
/* 2 */ NdrFcShort( 0x2 ), /* Type Offset=2 */
/* 4 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
0x8, /* FC_LONG */
/* 6 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
0x8, /* FC_LONG */
/* 8 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
0x8, /* FC_LONG */
/* 10 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
0x8, /* FC_LONG */
/* 12 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
0x8, /* FC_LONG */
/* 14 */
0x51, /* FC_OUT_PARAM */
0x1, /* x86 stack size = 1 */
/* 16 */ NdrFcShort( 0x6 ), /* Type Offset=6 */
/* 18 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
0x8, /* FC_LONG */
0x0
}
};
static const MIDL_TYPE_FORMAT_STRING __MIDL_TypeFormatString =
{
0,
{
NdrFcShort( 0x0 ), /* 0 */
/* 2 */
0x11, 0x8, /* FC_RP [simple_pointer] */
/* 4 */ 0x2, /* FC_CHAR */
0x5c, /* FC_PAD */
/* 6 */
0x11, 0xc, /* FC_RP [alloced_on_stack] [simple_pointer] */
/* 8 */ 0x2, /* FC_CHAR */
0x5c, /* FC_PAD */
0x0
}
};
static const unsigned short ICreditVerification_FormatStringOffsetTable[] =
{
0,
6
};
static const MIDL_STUB_DESC ICreditVerification_StubDesc =
{
(void *)& ICreditVerification___RpcClientInterface,
MIDL_user_allocate,
MIDL_user_free,
&ICreditVerification__MIDL_AutoBindHandle,
0,
0,
0,
0,
__MIDL_TypeFormatString.Format,
1, /* -error bounds_check flag */
0x10001, /* Ndr library version */
0,
0x6000156, /* MIDL Version 6.0.342 */
0,
0,
0, /* notify & notify_flag routine table */
0x1, /* MIDL flag */
0, /* cs routines */
0, /* proxy/server info */
0 /* Reserved5 */
};
static const unsigned short ISomethingElse_FormatStringOffsetTable[] =
{
10
};
static const MIDL_STUB_DESC ISomethingElse_StubDesc =
{
(void *)& ISomethingElse___RpcClientInterface,
MIDL_user_allocate,
MIDL_user_free,
&ISomethingElse__MIDL_AutoBindHandle,
0,
0,
0,
0,
__MIDL_TypeFormatString.Format,
1, /* -error bounds_check flag */
0x10001, /* Ndr library version */
0,
0x6000156, /* MIDL Version 6.0.342 */
0,
0,
0, /* notify & notify_flag routine table */
0x1, /* MIDL flag */
0, /* cs routines */
0, /* proxy/server info */
0 /* Reserved5 */
};
static const unsigned short ICreditVerification2_FormatStringOffsetTable[] =
{
12
};
static const MIDL_STUB_DESC ICreditVerification2_StubDesc =
{
(void *)& ICreditVerification2___RpcClientInterface,
MIDL_user_allocate,
MIDL_user_free,
&ICreditVerification2__MIDL_AutoBindHandle,
0,
0,
0,
0,
__MIDL_TypeFormatString.Format,
1, /* -error bounds_check flag */
0x10001, /* Ndr library version */
0,
0x6000156, /* MIDL Version 6.0.342 */
0,
0,
0, /* notify & notify_flag routine table */
0x1, /* MIDL flag */
0, /* cs routines */
0, /* proxy/server info */
0 /* Reserved5 */
};
#endif /* !defined(_M_IA64) && !defined(_M_AMD64)*/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -