#include <windowsx.h> #include <windows.h> #include <ddeml.h> int ibprint(HWND) ; int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int); BOOL InitApplication(HANDLE); BOOL InitInstance(HANDLE, int); long FAR PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM); BOOL FAR PASCAL About(HWND, unsigned, WORD, LONG); void Watom_OnDestroy(HWND, UINT, WPARAM, LPARAM); void Watom_OnPaint(HWND, UINT, WPARAM, LPARAM); void Watom_OnCreate(HWND, UINT, WPARAM, LPARAM); void Watom_OnChar(HWND, UINT, WPARAM, LPARAM); void Watom_OnSize(HWND, UINT, WPARAM, LPARAM); BOOL Watom_OnCommand(HWND, UINT, WPARAM, LPARAM); void Watom_OnTimer(HWND, UINT, WPARAM, LPARAM); void Watom_OnKeyUp(HWND, UINT, WPARAM, LPARAM); void Watom_OnKeyDown(HWND, UINT, WPARAM, LPARAM); void Watom_OnLButtonDown(HWND, UINT, WPARAM, LPARAM); void Watom_OnLButtonUp(HWND, UINT, WPARAM, LPARAM); void Watom_OnMouseMove(HWND, UINT, WPARAM, LPARAM); void Watom_OnInitMenu(HWND, UINT, WPARAM, LPARAM); BOOL Watom_OnSysCommand(HWND, UINT, WPARAM, LPARAM); void Createfnt(HWND); void Activate(HWND, int); void ReadProfile(void); void WriteProfile(HWND); void MakeBox(HDC, RECT); void upd_status(HWND); int instr(char *, char *); void readkeys(void); void SetByte(unsigned int, BYTE);
//HDDEDATA FAR PASCAL _export DdeCallback (UINT, UINT, HCONV, HSZ, HSZ,
#define IDM_ABOUT 100
#define IDM_EXIT 199
#define IDM_RESET 201 #define IDM_PRINT 301 #define IDM_COPYSPEC 303 #define IDM_PRINTSETUP 304 #define IDM_DDE 305
/* ;************************************************************* ; Constant Definitions ;************************************************************* */ #define MB_TITLE "Windows Atom 1.0 Beta" long FAR PASCAL _export WindowProc (HWND, UINT, UINT, LONG); //id Process(char, HWND);