dsmpc.h

来自「Simple Module Procedure Call for windows」· C头文件 代码 · 共 45 行

H
45
字号
////	(S)imple (M)odule (P)rocedure (C)all////  Version 1.1.3////	SIC Dynamics	Copyright(C) - 1999////  SMPC protocol declarations//#ifndef __SMPC_H#define __SMPC_H#include <dlist/dlist.h>#include <smpc/dsmpcdef.h>class DSmpcServer;// Application's SMPC manager implementationclass DSmpc : public DList{ public:  DSmpc(void) : DList() {}  // Find specified server  DSmpcServer* GetSrv(dword);  // Override this functions for target smpc release  virtual int Call(dword, dword&, dword, DSmpcParam*, dword, DSmpcParam*, dword, dword timeout = 0) = 0;  // Server-side applications call this function for a waiting calls  // Override this functions for target smpc release  virtual int Run(void) { return 1; }  // Server invokes this function after SMPC-Call was finished  void PostCall(dword, dword, int);};// Override this function for target smpc releaseextern DSmpc* CreateSmpc(void);// Get string about SMPC errorextern "C" const char* cdecl smpc_error(int);#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?