⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dsmpc.h

📁 Simple Module Procedure Call for windows & QNx
💻 H
字号:
////	(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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -