📄 exam_p.c
字号:
/* this ALWAYS GENERATED file contains the proxy stub code */
/* File created by MIDL compiler version 5.01.0164 */
/* at Wed Jan 02 16:53:02 2002
*/
/* Compiler settings for D:\old21\vcbook\EXAM1\EXAM.idl:
Oicf (OptLev=i2), W1, Zp8, env=Win32, ms_ext, c_ext
error checks: allocation ref bounds_check enum stub_data
*/
//@@MIDL_FILE_HEADING( )
#define USE_STUBLESS_PROXY
/* verify that the <rpcproxy.h> version is high enough to compile this file*/
#ifndef __REDQ_RPCPROXY_H_VERSION__
#define __REQUIRED_RPCPROXY_H_VERSION__ 440
#endif
#include "rpcproxy.h"
#ifndef __RPCPROXY_H_VERSION__
#error this stub requires an updated version of <rpcproxy.h>
#endif // __RPCPROXY_H_VERSION__
#include "EXAM.h"
#define TYPE_FORMAT_STRING_SIZE 75
#define PROC_FORMAT_STRING_SIZE 505
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;
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: IDispatch, ver. 0.0,
GUID={0x00020400,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
/* Object interface: ICaculateScore, ver. 0.0,
GUID={0x0F21423C,0x1338,0x4C27,{0x97,0x3F,0x05,0xB2,0x04,0xB6,0xF3,0xD0}} */
extern const MIDL_STUB_DESC Object_StubDesc;
extern const MIDL_SERVER_INFO ICaculateScore_ServerInfo;
#pragma code_seg(".orpc")
static const unsigned short ICaculateScore_FormatStringOffsetTable[] =
{
(unsigned short) -1,
(unsigned short) -1,
(unsigned short) -1,
(unsigned short) -1,
0,
28,
56,
90
};
static const MIDL_SERVER_INFO ICaculateScore_ServerInfo =
{
&Object_StubDesc,
0,
__MIDL_ProcFormatString.Format,
&ICaculateScore_FormatStringOffsetTable[-3],
0,
0,
0,
0
};
static const MIDL_STUBLESS_PROXY_INFO ICaculateScore_ProxyInfo =
{
&Object_StubDesc,
__MIDL_ProcFormatString.Format,
&ICaculateScore_FormatStringOffsetTable[-3],
0,
0,
0
};
CINTERFACE_PROXY_VTABLE(11) _ICaculateScoreProxyVtbl =
{
&ICaculateScore_ProxyInfo,
&IID_ICaculateScore,
IUnknown_QueryInterface_Proxy,
IUnknown_AddRef_Proxy,
IUnknown_Release_Proxy ,
0 /* (void *)-1 /* IDispatch::GetTypeInfoCount */ ,
0 /* (void *)-1 /* IDispatch::GetTypeInfo */ ,
0 /* (void *)-1 /* IDispatch::GetIDsOfNames */ ,
0 /* IDispatch_Invoke_Proxy */ ,
(void *)-1 /* ICaculateScore::get_Score */ ,
(void *)-1 /* ICaculateScore::put_Score */ ,
(void *)-1 /* ICaculateScore::CaculateScore */ ,
(void *)-1 /* ICaculateScore::GetScore */
};
static const PRPC_STUB_FUNCTION ICaculateScore_table[] =
{
STUB_FORWARDING_FUNCTION,
STUB_FORWARDING_FUNCTION,
STUB_FORWARDING_FUNCTION,
STUB_FORWARDING_FUNCTION,
NdrStubCall2,
NdrStubCall2,
NdrStubCall2,
NdrStubCall2
};
CInterfaceStubVtbl _ICaculateScoreStubVtbl =
{
&IID_ICaculateScore,
&ICaculateScore_ServerInfo,
11,
&ICaculateScore_table[-3],
CStdStubBuffer_DELEGATING_METHODS
};
/* Object interface: IGenerateExam, ver. 0.0,
GUID={0x2FD534D2,0xE3DF,0x4FFD,{0x95,0x78,0xC2,0x36,0x26,0xB3,0x4D,0x59}} */
extern const MIDL_STUB_DESC Object_StubDesc;
extern const MIDL_SERVER_INFO IGenerateExam_ServerInfo;
#pragma code_seg(".orpc")
static const unsigned short IGenerateExam_FormatStringOffsetTable[] =
{
(unsigned short) -1,
(unsigned short) -1,
(unsigned short) -1,
(unsigned short) -1,
124
};
static const MIDL_SERVER_INFO IGenerateExam_ServerInfo =
{
&Object_StubDesc,
0,
__MIDL_ProcFormatString.Format,
&IGenerateExam_FormatStringOffsetTable[-3],
0,
0,
0,
0
};
static const MIDL_STUBLESS_PROXY_INFO IGenerateExam_ProxyInfo =
{
&Object_StubDesc,
__MIDL_ProcFormatString.Format,
&IGenerateExam_FormatStringOffsetTable[-3],
0,
0,
0
};
CINTERFACE_PROXY_VTABLE(8) _IGenerateExamProxyVtbl =
{
&IGenerateExam_ProxyInfo,
&IID_IGenerateExam,
IUnknown_QueryInterface_Proxy,
IUnknown_AddRef_Proxy,
IUnknown_Release_Proxy ,
0 /* (void *)-1 /* IDispatch::GetTypeInfoCount */ ,
0 /* (void *)-1 /* IDispatch::GetTypeInfo */ ,
0 /* (void *)-1 /* IDispatch::GetIDsOfNames */ ,
0 /* IDispatch_Invoke_Proxy */ ,
(void *)-1 /* IGenerateExam::GenerateExam */
};
static const PRPC_STUB_FUNCTION IGenerateExam_table[] =
{
STUB_FORWARDING_FUNCTION,
STUB_FORWARDING_FUNCTION,
STUB_FORWARDING_FUNCTION,
STUB_FORWARDING_FUNCTION,
NdrStubCall2
};
CInterfaceStubVtbl _IGenerateExamStubVtbl =
{
&IID_IGenerateExam,
&IGenerateExam_ServerInfo,
8,
&IGenerateExam_table[-3],
CStdStubBuffer_DELEGATING_METHODS
};
/* Object interface: ISaveCurrentAnswer, ver. 0.0,
GUID={0xDFC80869,0x90AB,0x4053,{0xBA,0xA7,0x65,0xAF,0xE2,0x16,0xCC,0x83}} */
extern const MIDL_STUB_DESC Object_StubDesc;
extern const MIDL_SERVER_INFO ISaveCurrentAnswer_ServerInfo;
#pragma code_seg(".orpc")
static const unsigned short ISaveCurrentAnswer_FormatStringOffsetTable[] =
{
(unsigned short) -1,
(unsigned short) -1,
(unsigned short) -1,
(unsigned short) -1,
158
};
static const MIDL_SERVER_INFO ISaveCurrentAnswer_ServerInfo =
{
&Object_StubDesc,
0,
__MIDL_ProcFormatString.Format,
&ISaveCurrentAnswer_FormatStringOffsetTable[-3],
0,
0,
0,
0
};
static const MIDL_STUBLESS_PROXY_INFO ISaveCurrentAnswer_ProxyInfo =
{
&Object_StubDesc,
__MIDL_ProcFormatString.Format,
&ISaveCurrentAnswer_FormatStringOffsetTable[-3],
0,
0,
0
};
CINTERFACE_PROXY_VTABLE(8) _ISaveCurrentAnswerProxyVtbl =
{
&ISaveCurrentAnswer_ProxyInfo,
&IID_ISaveCurrentAnswer,
IUnknown_QueryInterface_Proxy,
IUnknown_AddRef_Proxy,
IUnknown_Release_Proxy ,
0 /* (void *)-1 /* IDispatch::GetTypeInfoCount */ ,
0 /* (void *)-1 /* IDispatch::GetTypeInfo */ ,
0 /* (void *)-1 /* IDispatch::GetIDsOfNames */ ,
0 /* IDispatch_Invoke_Proxy */ ,
(void *)-1 /* ISaveCurrentAnswer::SaveAnswer */
};
static const PRPC_STUB_FUNCTION ISaveCurrentAnswer_table[] =
{
STUB_FORWARDING_FUNCTION,
STUB_FORWARDING_FUNCTION,
STUB_FORWARDING_FUNCTION,
STUB_FORWARDING_FUNCTION,
NdrStubCall2
};
CInterfaceStubVtbl _ISaveCurrentAnswerStubVtbl =
{
&IID_ISaveCurrentAnswer,
&ISaveCurrentAnswer_ServerInfo,
8,
&ISaveCurrentAnswer_table[-3],
CStdStubBuffer_DELEGATING_METHODS
};
/* Object interface: IExamState, ver. 0.0,
GUID={0x03619FC2,0x96E0,0x466D,{0xA2,0xCD,0xA3,0x5C,0x9C,0x59,0xBB,0x80}} */
extern const MIDL_STUB_DESC Object_StubDesc;
extern const MIDL_SERVER_INFO IExamState_ServerInfo;
#pragma code_seg(".orpc")
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,
1, /* -error bounds_check flag */
0x20000, /* Ndr library version */
0,
0x50100a4, /* MIDL Version 5.1.164 */
0,
UserMarshalRoutines,
0, /* notify & notify_flag routine table */
1, /* Flags */
0, /* Reserved3 */
0, /* Reserved4 */
0 /* Reserved5 */
};
static const unsigned short IExamState_FormatStringOffsetTable[] =
{
(unsigned short) -1,
(unsigned short) -1,
(unsigned short) -1,
(unsigned short) -1,
124,
216,
250,
90,
290,
318,
346,
374,
402,
436,
476
};
static const MIDL_SERVER_INFO IExamState_ServerInfo =
{
&Object_StubDesc,
0,
__MIDL_ProcFormatString.Format,
&IExamState_FormatStringOffsetTable[-3],
0,
0,
0,
0
};
static const MIDL_STUBLESS_PROXY_INFO IExamState_ProxyInfo =
{
&Object_StubDesc,
__MIDL_ProcFormatString.Format,
&IExamState_FormatStringOffsetTable[-3],
0,
0,
0
};
CINTERFACE_PROXY_VTABLE(18) _IExamStateProxyVtbl =
{
&IExamState_ProxyInfo,
&IID_IExamState,
IUnknown_QueryInterface_Proxy,
IUnknown_AddRef_Proxy,
IUnknown_Release_Proxy ,
0 /* (void *)-1 /* IDispatch::GetTypeInfoCount */ ,
0 /* (void *)-1 /* IDispatch::GetTypeInfo */ ,
0 /* (void *)-1 /* IDispatch::GetIDsOfNames */ ,
0 /* IDispatch_Invoke_Proxy */ ,
(void *)-1 /* IExamState::CheckExist */ ,
(void *)-1 /* IExamState::CheckFinish */ ,
(void *)-1 /* IExamState::GetAnswer */ ,
(void *)-1 /* IExamState::GetCurrentQuestion */ ,
(void *)-1 /* IExamState::get_QType */ ,
(void *)-1 /* IExamState::get_TimeLeft */ ,
(void *)-1 /* IExamState::get_QTypeforbstr */ ,
(void *)-1 /* IExamState::put_QTypeforbstr */ ,
(void *)-1 /* IExamState::GetExamInfo */ ,
(void *)-1 /* IExamState::GetExamDetail */ ,
(void *)-1 /* IExamState::get_QID */
};
static const PRPC_STUB_FUNCTION IExamState_table[] =
{
STUB_FORWARDING_FUNCTION,
STUB_FORWARDING_FUNCTION,
STUB_FORWARDING_FUNCTION,
STUB_FORWARDING_FUNCTION,
NdrStubCall2,
NdrStubCall2,
NdrStubCall2,
NdrStubCall2,
NdrStubCall2,
NdrStubCall2,
NdrStubCall2,
NdrStubCall2,
NdrStubCall2,
NdrStubCall2,
NdrStubCall2
};
CInterfaceStubVtbl _IExamStateStubVtbl =
{
&IID_IExamState,
&IExamState_ServerInfo,
18,
&IExamState_table[-3],
CStdStubBuffer_DELEGATING_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 -Oif or -Oicf, [wire_marshal] or [user_marshal] attribute, more than 32 methods in the interface.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -