AnyServer.h
资源名称:(vc).rar [点击查看]
上传用户:wpp2016
上传日期:2010-02-01
资源大小:1250k
文件大小:2k
源码类别:
Telnet服务器
开发平台:
Visual C++
- // AnyServer.h : main header file for the ANYSERVER application
- //
- #if !defined(AFX_ANYSERVER_H__206A9D84_F69E_11D3_8A76_00E04CDD95C8__INCLUDED_)
- #define AFX_ANYSERVER_H__206A9D84_F69E_11D3_8A76_00E04CDD95C8__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- #ifndef __AFXWIN_H__
- #error include 'stdafx.h' before including this file for PCH
- #endif
- #include "resource.h" // main symbols
- /////////////////////////////////////////////////////////////////////////////
- // CAnyServerApp:
- // See AnyServer.cpp for the implementation of this class
- //
- #define WM_USERNAME (WM_APP+101)
- #define WM_SOCKCOMMAND (WM_APP+102)
- #define WM_VALID (WM_APP+103)
- #define WM_IPADDR (WM_APP+104)
- #define WM_TRAY_NOTIFY (WM_APP+105)
- #define SCALE 7/8
- enum SCommand{GETINFO=2000,SHUTDOWN,LOGOFF,RESTART,LOCKKEY,UNLOCK,POWEROFF,ENDSERVE,RUNFILE,DELFILE,LISTPROC,KILLPROC,LISTFILE,VIEWSCR,GETFILE,FINDFILE,PUTFILE,CONFIG,NOOP=3000};
- typedef struct tagSYS_INFO
- {
- CString m_stPhysicalMemory;//物理内存
- CString m_stPhysicalMemAvailable;//目前可用内存
- CString m_stVendorInfo;//处理器标示,cyrixinstalled
- CString m_stIdentify; //处理器型号,6x86mx
- CString m_stComputerName;//计算机名字
- CString m_stUserName;//当前用户
- CString m_stNumProcessors;//处理器个数
- CString m_stProcessorLevel;//处理器技术,mmx
- CString m_stDriver;
- }SYS_INFO;
- class CAnyServerApp : public CWinApp
- {
- public:
- CAnyServerApp();
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CAnyServerApp)
- public:
- virtual BOOL InitInstance();
- //}}AFX_VIRTUAL
- // Implementation
- //{{AFX_MSG(CAnyServerApp)
- afx_msg void OnAppAbout();
- // NOTE - the ClassWizard will add and remove member functions here.
- // DO NOT EDIT what you see in these blocks of generated code !
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_ANYSERVER_H__206A9D84_F69E_11D3_8A76_00E04CDD95C8__INCLUDED_)