15#define MAX_LOADSTRING 100
79 return (
int)
msg.wParam;
101 wcex.
cbSize =
sizeof(wcex);
163 NONCLIENTMETRICS ncm;
170 hEditWnd =
CreateWindowEx(
WS_EX_CLIENTEDGE,
TEXT(
"EDIT"),
TEXT(
""),
WS_CHILD|
WS_VISIBLE|
WS_VSCROLL|
ES_AUTOHSCROLL|
ES_LEFT|
ES_MULTILINE, 0, 0, 0, 0,
hWnd,
NULL,
hInst,
NULL);
171 hDisplayWnd =
CreateWindowEx(
WS_EX_CLIENTEDGE,
TEXT(
"EDIT"),
TEXT(
""),
WS_CHILD|
WS_VISIBLE|
WS_HSCROLL|
WS_VSCROLL|
ES_MULTILINE, 0, 0, 0, 0,
hWnd,
NULL,
hInst,
NULL);
174 ncm.cbSize =
sizeof(ncm);
310 HWND hLicenseEditWnd;
311 TCHAR strLicense[0x1000];
447 DWORD dwNumberOfBytesWritten;
#define IDM_FILE_STOPCAPTURE
#define IDM_FILE_STARTCAPTURE
#define IDC_CAPTUREFILENAME
#define IDM_FILE_LOCALECHO
#define IDM_FILE_CLEARDISPLAY
#define IDM_FILE_DISCONNECT
#define OFN_NOREADONLYRETURN
#define FILE_ATTRIBUTE_NORMAL
BOOL WINAPI WriteFile(IN HANDLE hFile, IN LPCVOID lpBuffer, IN DWORD nNumberOfBytesToWrite OPTIONAL, OUT LPDWORD lpNumberOfBytesWritten, IN LPOVERLAPPED lpOverlapped OPTIONAL)
BOOL Rs232OpenPortWin32(TCHAR *CommPort)
BOOL Rs232ClosePortWin32(VOID)
BOOL Rs232ReadByteWin32(BYTE *DataByte)
BOOL Rs232ConfigurePortWin32(TCHAR *DeviceControlString)
BOOL Rs232WriteByteWin32(BYTE DataByte)
TCHAR szTitle[MAX_LOADSTRING]
VOID __cdecl Rs232Thread(VOID *Parameter)
INT_PTR CALLBACK CaptureDialogProc(HWND, UINT, WPARAM, LPARAM)
VOID CheckLocalEchoMenuItem(BOOL Checked)
VOID EnableFileMenuItemByID(UINT Id, BOOL Enable)
INT_PTR CALLBACK About(HWND, UINT, WPARAM, LPARAM)
TCHAR strCaptureFileName[MAX_PATH]
BOOL InitInstance(HINSTANCE, int)
TCHAR strBaudRate[MAX_PATH]
LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM)
ATOM MyRegisterClass(HINSTANCE hInstance)
TCHAR strComPort[MAX_PATH]
TCHAR szWindowClass[MAX_LOADSTRING]
INT_PTR CALLBACK ConnectionDialogProc(HWND, UINT, WPARAM, LPARAM)
static DWORD *static HFONT(WINAPI *pCreateFontIndirectExA)(const ENUMLOGFONTEXDVA *)
static const CLSID *static CLSID *static const GUID VARIANT VARIANT *static IServiceProvider DWORD *static HMENU
#define UNREFERENCED_PARAMETER(P)
_In_ ULONGLONG _In_ ULONGLONG _In_ BOOLEAN Enable
#define WS_OVERLAPPEDWINDOW
_CRTIMP uintptr_t __cdecl _beginthread(_In_ void(__cdecl *_StartAddress)(void *), _In_ unsigned _StackSize, _In_opt_ void *_ArgList)
TW_UINT32 TW_UINT16 TW_UINT16 MSG
_In_ WDFCOLLECTION _In_ ULONG Index
_Must_inspect_result_ _In_ WDFDEVICE _In_ WDFSTRING String
DWORD WINAPI GetCurrentThreadId(void)
#define CreateFontIndirect
BOOL WINAPI TranslateMessage(_In_ const MSG *)
BOOL WINAPI ShowWindow(_In_ HWND, _In_ int)
__analysis_noreturn void WINAPI PostQuitMessage(_In_ int)
#define PostThreadMessage
HWND WINAPI GetDlgItem(_In_opt_ HWND, _In_ int)
DWORD WINAPI CheckMenuItem(_In_ HMENU, _In_ UINT, _In_ UINT)
BOOL WINAPI GetClientRect(_In_ HWND, _Out_ LPRECT)
HMENU WINAPI GetSubMenu(_In_ HMENU, _In_ int)
BOOL WINAPI EndPaint(_In_ HWND, _In_ const PAINTSTRUCT *)
BOOL WINAPI UpdateWindow(_In_ HWND)
HDC WINAPI BeginPaint(_In_ HWND, _Out_ LPPAINTSTRUCT)
#define SystemParametersInfo
#define TranslateAccelerator
BOOL WINAPI DestroyWindow(_In_ HWND)
BOOL WINAPI EnableMenuItem(_In_ HMENU, _In_ UINT, _In_ UINT)
BOOL WINAPI MoveWindow(_In_ HWND, _In_ int, _In_ int, _In_ int, _In_ int, _In_ BOOL)
HMENU WINAPI GetMenu(_In_ HWND)
BOOL WINAPI EndDialog(_In_ HWND, _In_ INT_PTR)
_Inout_opt_ PVOID Parameter