dtelnet.h

来自「dtelent是开源的开发项目」· C头文件 代码 · 共 38 行

H
38 行
字号
/* dtelnet.h
 * Copyright (c) 1997 David Cole
 *
 * Mainline for the dtelnet program.
 */
#ifndef __dtelnet_h
#define __dtelnet_h

#include "resource.h"

/* Define a few messages that we use for reporting network events
 */
#define WM_SOCK_EVENT		(WM_USER + 26) /* socket event */
#define WM_SOCK_GETHOSTBYNAME	(WM_USER + 27) /* gethostbyname complete */
#define WM_SOCK_GETSERVBYNAME	(WM_USER + 28) /* getservbyname complete */

/* Destroy the application window to trigger exit */
void telnetExit(void);
/* Report a fatal error then exit */
void telnetFatal(const char* fmt, ...);
/* Return the name of the application */
char* telnetAppName(void);
/* Return the name of the .INI file */
char* telnetIniFile(void);

/* Terminal child window just resized to specified width/height */
void telnetTerminalSize(int xs, int ys);
/* Update the application window title */
void telnetSetTitle(void);

/* Return the program's instance */
HINSTANCE telnetGetInstance(void);
/* Return the program's main window */
HWND telnetGetWnd(void);


#endif

⌨️ 快捷键说明

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