資源簡介
windows rpc接口使用,分為服務端和客戶端,具體介紹詳見blog:https://blog.csdn.net/herojuice/article/details/81015325

代碼片段和文件信息
/*?this?ALWAYS?GENERATED?file?contains?the?RPC?client?stubs?*/
?/*?File?created?by?MIDL?compiler?version?8.00.0603?*/
/*?at?Wed?Jul?11?19:06:40?2018
?*/
/*?Compiler?settings?for?test.idl:
????Oicf?W1?Zp8?env=Win32?(32b?run)?target_arch=X86?8.00.0603?
????protocol?:?dce??ms_ext?c_ext?robust
????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)?&&?!defined(_ARM_)
#pragma?warning(?disable:?4049?)??/*?more?than?64k?source?lines?*/
#if?_MSC_VER?>=?1200
#pragma?warning(push)
#endif
#pragma?warning(?disable:?4211?)??/*?redefine?extern?to?static?*/
#pragma?warning(?disable:?4232?)??/*?dllimport?identity*/
#pragma?warning(?disable:?4024?)??/*?array?to?pointer?mapping*/
#pragma?warning(?disable:?4100?)?/*?unreferenced?arguments?in?x86?call?*/
#pragma?optimize(““?off?)?
#include?
#include?“test.h“
#define?TYPE_FORMAT_STRING_SIZE???3?????????????????????????????????
#define?PROC_FORMAT_STRING_SIZE???43????????????????????????????????
#define?EXPR_FORMAT_STRING_SIZE???1?????????????????????????????????
#define?TRANSMIT_AS_TABLE_SIZE????0????????????
#define?WIRE_MARSHAL_TABLE_SIZE???0????????????
typedef?struct?_test_MIDL_TYPE_FORMAT_STRING
????{
????short??????????Pad;
????unsigned?char??Format[?TYPE_FORMAT_STRING_SIZE?];
????}?test_MIDL_TYPE_FORMAT_STRING;
typedef?struct?_test_MIDL_PROC_FORMAT_STRING
????{
????short??????????Pad;
????unsigned?char??Format[?PROC_FORMAT_STRING_SIZE?];
????}?test_MIDL_PROC_FORMAT_STRING;
typedef?struct?_test_MIDL_EXPR_FORMAT_STRING
????{
????long??????????Pad;
????unsigned?char??Format[?EXPR_FORMAT_STRING_SIZE?];
????}?test_MIDL_EXPR_FORMAT_STRING;
static?const?RPC_SYNTAX_IDENTIFIER??_RpcTransferSyntax?=?
{{0x8A885D040x1CEB0x11C9{0x9F0xE80x080x000x2B0x100x480x60}}{20}};
extern?const?test_MIDL_TYPE_FORMAT_STRING?test__MIDL_TypeFormatString;
extern?const?test_MIDL_PROC_FORMAT_STRING?test__MIDL_ProcFormatString;
extern?const?test_MIDL_EXPR_FORMAT_STRING?test__MIDL_ExprFormatString;
#define?GENERIC_BINDING_TABLE_SIZE???0????????????
/*?Standard?interface:?HelloWorld?ver.?1.0
???GUID={0xF211474B0xE9DF0x4682{0xB70x790xDF0xAA0x640xB50x6F0x9F}}?*/
handle_t?test_Binding;
static?const?RPC_CLIENT_INTERFACE?HelloWorld___RpcClientInterface?=
????{
????sizeof(RPC_CLIENT_INTERFACE)
????{{0xF211474B0xE9DF0x4682{0xB70x790xDF0xAA0x640xB50x6F0x9F}}{10}}
????{{0x8A885D040x1CEB0x11C9{0x9F0xE80x080x000x2B0x100x480x60}}{20}}
????0
????0
????0
????0
????0
????0x00000000
????};
RPC_IF_HANDLE?HelloWorld_v1_0_c_ifspec?=?(RPC_IF_HANDLE)&?HelloWorld___RpcClientInterface;
extern?const?MIDL_STUB_DESC?HelloWorld_StubDesc;
static?R
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2018-07-12?15:14??rpcDemo\
?????文件??????????75??2018-07-11?19:02??rpcDemo\test.acf
?????文件????????1694??2018-07-11?19:06??rpcDemo\test.h
?????文件?????????125??2018-07-12?14:30??rpcDemo\test.idl
?????目錄???????????0??2018-07-12?15:14??rpcDemo\testClient01\
?????目錄???????????0??2018-07-12?15:15??rpcDemo\testClient01\testClient01\
?????目錄???????????0??2018-07-12?15:14??rpcDemo\testClient01\testClient01\.vs\
?????目錄???????????0??2018-07-12?15:14??rpcDemo\testClient01\testClient01\.vs\testClient01\
?????目錄???????????0??2018-07-12?15:14??rpcDemo\testClient01\testClient01\.vs\testClient01\v14\
?????文件???????14848??2018-07-12?11:05??rpcDemo\testClient01\testClient01\.vs\testClient01\v14\.suo
?????目錄???????????0??2018-07-12?15:15??rpcDemo\testClient01\testClient01\testClient01\
?????文件????????1353??2018-07-12?11:18??rpcDemo\testClient01\testClient01\testClient01\Source.cpp
?????文件????????7659??2018-07-12?10:56??rpcDemo\testClient01\testClient01\testClient01\testClient01.vcxproj
?????文件????????1187??2018-07-11?19:38??rpcDemo\testClient01\testClient01\testClient01\testClient01.vcxproj.filters
?????文件??????????24??2018-07-11?19:17??rpcDemo\testClient01\testClient01\testClient01.VC.VC.opendb
?????文件????????1318??2018-07-11?19:17??rpcDemo\testClient01\testClient01\testClient01.sln
?????目錄???????????0??2018-07-12?15:14??rpcDemo\testServer01\
?????目錄???????????0??2018-07-12?15:14??rpcDemo\testServer01\testServer01\
?????目錄???????????0??2018-07-12?15:14??rpcDemo\testServer01\testServer01\.vs\
?????目錄???????????0??2018-07-12?15:14??rpcDemo\testServer01\testServer01\.vs\testServer01\
?????目錄???????????0??2018-07-12?15:14??rpcDemo\testServer01\testServer01\.vs\testServer01\v14\
?????文件???????14848??2018-07-12?10:38??rpcDemo\testServer01\testServer01\.vs\testServer01\v14\.suo
?????目錄???????????0??2018-07-12?15:14??rpcDemo\testServer01\testServer01\testServer01\
?????文件????????1180??2018-07-12?14:52??rpcDemo\testServer01\testServer01\testServer01\Source.cpp
?????文件????????7659??2018-07-12?10:59??rpcDemo\testServer01\testServer01\testServer01\testServer01.vcxproj
?????文件????????1187??2018-07-11?19:14??rpcDemo\testServer01\testServer01\testServer01\testServer01.vcxproj.filters
?????文件?????????165??2018-07-12?11:02??rpcDemo\testServer01\testServer01\testServer01\testServer01.vcxproj.user
?????文件??????????24??2018-07-11?19:08??rpcDemo\testServer01\testServer01\testServer01.VC.VC.opendb
?????文件????????1318??2018-07-11?19:08??rpcDemo\testServer01\testServer01\testServer01.sln
?????文件????????6057??2018-07-11?19:06??rpcDemo\test_c.c
?????文件????????6341??2018-07-11?19:08??rpcDemo\test_s.c
............此處省略0個文件信息
評論
共有 條評論