• 大小: 2.72MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-09-13
  • 语言: 其他
  • 标签: RPC  分布式  

资源简介

RPC程序:服务器端为LibMgServer.exe,客户端为LibMgClient.exe,

资源截图

代码片段和文件信息



/* this ALWAYS GENERATED file contains the RPC client stubs */


 /* File created by MIDL compiler version 6.00.0366 */
/* at Thu Dec 24 19:47:47 2009
 */
/* Compiler settings for .\LibManagement.idl:
    Oicf W1 Zp8 env=Win32 (32b run)
    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)


#pragma warning( disable: 4049 )  /* more than 64k source lines */
#if _MSC_VER >= 1200
#pragma warning(push)
#endif
#pragma warning( disable: 4100 ) /* unreferenced arguments in x86 call */
#pragma warning( disable: 4211 )  /* redefine extent to static */
#pragma warning( disable: 4232 )  /* dllimport identity*/
#pragma optimize(““ off ) 

#include 

#include “LibManagement.h“

#define TYPE_FORMAT_STRING_SIZE   19                                
#define PROC_FORMAT_STRING_SIZE   151                               
#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 = 
{{0x8A885D040x1CEB0x11C9{0x9F0xE80x080x000x2B0x100x480x60}}{20}};


extern const MIDL_TYPE_FORMAT_STRING __MIDL_TypeFormatString;
extern const MIDL_PROC_FORMAT_STRING __MIDL_ProcFormatString;

#define GENERIC_BINDING_TABLE_SIZE   0            


/* Standard interface: LibManagement ver. 1.0
   GUID={0x432583E70x62EE0x4abe{0xB60x840x660x4B0xF50x8B0xCD0xFD}} */



static const RPC_CLIENT_INTERFACE LibManagement___RpcClientInterface =
    {
    sizeof(RPC_CLIENT_INTERFACE)
    {{0x432583E70x62EE0x4abe{0xB60x840x660x4B0xF50x8B0xCD0xFD}}{10}}
    {{0x8A885D040x1CEB0x11C9{0x9F0xE80x080x000x2B0x100x480x60}}{20}}
    0
    0
    0
    0
    0
    0x00000000
    };
RPC_IF_HANDLE LibManagement_v1_0_c_ifspec = (RPC_IF_HANDLE)& LibManagement___RpcClientInterface;

extern const MIDL_STUB_DESC LibManagement_StubDesc;

static RPC_BINDING_HANDLE LibManagement__MIDL_AutoBindHandle;


CONTEXT_HANDLE Login( 
    /* [in] */ handle_t hBinding
    /* [string][in] */ const wchar_t *namepwd)
{

    CLIENT_CALL_RETURN _RetVal;

    _RetVal = NdrClientCall2(
                  ( PMIDL_STUB_DESC  )&LibManagement_StubDesc
                  (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[0]
                  ( unsigned char * )&hBinding);
    return ( CONTEXT_HANDLE  )_RetVal.Point

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2010-01-08 13:17  LibMg_RPC.rar\
     目录           0  2009-12-27 18:04  LibMg_RPC.rar\debug\
     文件         266  2009-12-24 14:50  LibMg_RPC.rar\debug\data.txt
     文件          89  2009-12-24 13:48  LibMg_RPC.rar\debug\server.txt
     文件          23  2009-12-22 20:44  LibMg_RPC.rar\debug\user.txt
     目录           0  2009-12-27 18:04  LibMg_RPC.rar\FinalVersion\
     文件         205  2009-12-24 20:46  LibMg_RPC.rar\FinalVersion\data.txt
     文件       49152  2009-12-24 20:40  LibMg_RPC.rar\FinalVersion\LibMgClient.exe
     文件       22528  2009-12-24 19:48  LibMg_RPC.rar\FinalVersion\LibMgServer.exe
     文件          89  2009-12-24 13:48  LibMg_RPC.rar\FinalVersion\server.txt
     文件          23  2009-12-22 20:44  LibMg_RPC.rar\FinalVersion\user.txt
     目录           0  2010-01-08 13:17  LibMg_RPC.rar\LibManagement_IDL\
     目录           0  2009-12-27 18:04  LibMg_RPC.rar\LibManagement_IDL\Debug\
     文件        3998  2009-12-24 14:47  LibMg_RPC.rar\LibManagement_IDL\Debug\BuildLog.htm
     文件         183  2009-12-21 19:21  LibMg_RPC.rar\LibManagement_IDL\LibManagement.acf
     文件        2267  2009-12-24 19:47  LibMg_RPC.rar\LibManagement_IDL\LibManagement.h
     文件        1295  2009-12-24 11:19  LibMg_RPC.rar\LibManagement_IDL\LibManagement.idl
     文件       10218  2009-12-24 19:47  LibMg_RPC.rar\LibManagement_IDL\LibManagement_c.c
     文件        3857  2009-12-24 19:47  LibMg_RPC.rar\LibManagement_IDL\LibManagement_IDL.vcproj
     文件        1427  2009-12-24 18:20  LibMg_RPC.rar\LibManagement_IDL\LibManagement_IDL.vcproj.LUOZIGUA-M0NNFH.LuoZiguang.user
     文件        1417  2009-12-24 22:40  LibMg_RPC.rar\LibManagement_IDL\LibManagement_IDL.vcproj.LUOZIGUANG.Luo Ziguang.user
     文件        1427  2010-01-08 13:17  LibMg_RPC.rar\LibManagement_IDL\LibManagement_IDL.vcproj.WWW-F5C5D02C7E6.Administrator.user
     文件        1411  2009-12-24 14:51  LibMg_RPC.rar\LibManagement_IDL\LibManagement_IDL.vcproj.XIALINA.Administrator.user
     文件        9693  2009-12-24 19:47  LibMg_RPC.rar\LibManagement_IDL\LibManagement_s.c
     目录           0  2009-12-27 18:04  LibMg_RPC.rar\LibManagement_IDL\Release\
     文件        3850  2009-12-24 19:47  LibMg_RPC.rar\LibManagement_IDL\Release\BuildLog.htm
     目录           0  2010-01-08 13:17  LibMg_RPC.rar\LibMgClient\
     目录           0  2009-12-27 18:04  LibMg_RPC.rar\LibMgClient\Debug\
     文件       19908  2009-12-24 14:47  LibMg_RPC.rar\LibMgClient\Debug\BuildLog.htm
     文件          87  2009-12-22 16:45  LibMg_RPC.rar\LibMgClient\Debug\server.txt
     文件        4757  2009-12-24 13:52  LibMg_RPC.rar\LibMgClient\ExeCommand.cpp
............此处省略40个文件信息

评论

共有 条评论