#include <windows.h>
#include <commdlg.h>
#include <process.h>
#include <stdio.h>
#include <tchar.h>
#include "resource.h"
#include "rs232.h"
Go to the source code of this file.
Defines |
| #define | MAX_LOADSTRING 100 |
Functions |
| ATOM | MyRegisterClass (HINSTANCE hInstance) |
| BOOL | InitInstance (HINSTANCE, int) |
| LRESULT CALLBACK | WndProc (HWND, UINT, WPARAM, LPARAM) |
| LRESULT CALLBACK | About (HWND, UINT, WPARAM, LPARAM) |
| LRESULT CALLBACK | ConnectionDialogProc (HWND, UINT, WPARAM, LPARAM) |
| LRESULT CALLBACK | CaptureDialogProc (HWND, UINT, WPARAM, LPARAM) |
| VOID | EnableFileMenuItemByID (UINT Id, BOOL Enable) |
| VOID | CheckLocalEchoMenuItem (BOOL Checked) |
| VOID | Rs232Thread (VOID *Parameter) |
| int APIENTRY | _tWinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, int nCmdShow) |
Variables |
| HINSTANCE | hInst |
| TCHAR | szTitle [MAX_LOADSTRING] |
| TCHAR | szWindowClass [MAX_LOADSTRING] |
| HWND | hMainWnd |
| HWND | hDisplayWnd |
| HWND | hEditWnd |
| TCHAR | strComPort [MAX_PATH] = TEXT("COM1") |
| TCHAR | strBaudRate [MAX_PATH] = TEXT("115200") |
| TCHAR | strCaptureFileName [MAX_PATH] = TEXT("") |
| BOOL | bConnected = FALSE |
| BOOL | bCapturing = FALSE |
| BOOL | bLocalEcho = FALSE |
| HANDLE | hCaptureFile |
| DWORD | dwThreadId = 0 |