代码搜索:comm
找到约 10,000 项符合「comm」的源代码
代码结果 10,000
www.eeworm.com/read/283076/9044260
txt comm.txt
Win 32系统为串行通信提供了全新的服务。传统的Open<mark>Comm</mark>、Read<mark>Comm</mark>、Write<mark>Comm</mark>、Close<mark>Comm</mark>等函数已经过时,WM_<mark>COMM</mark>NOTIFY消息也消失了。取而代之的是文件I/O函数提供的打开和关闭通信资源句柄及读写操作的基本接口。
新的文件I/O函数(CreateFile、ReadFile、WriteFile等)支持重叠式输入输出,这使得线程可以从费时的I/O操作中解放 ...
www.eeworm.com/read/283076/9044261
doc comm.doc
www.eeworm.com/read/283076/9044262
cpp comm.cpp
#define STRICT
#include
#include
#include
#include
void PrintError( LPCSTR str )
{
LPVOID lpMessageBuffer;
int error = GetLastError();
FormatMessa
www.eeworm.com/read/283066/9044670
h comm.h
// comm.h : interface of the CTerminalDoc class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_COMM_H__C1B7F88B_015E_11D4_8CF5_B1CA1B5BB3E3__INC
www.eeworm.com/read/283066/9044695
cpp comm.cpp
// comm.cpp : implementation of the CComm class
//
#include "stdafx.h"
#include "comm.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
www.eeworm.com/read/185001/9060557
h comm.h
#ifndef _comm_h
#define _comm_h
#define WM_RECVCHAR WM_USER + 1000
UINT ReadThread(LPVOID pParam);
UINT TimeOutThread(LPVOID pParam);
typedef struct HANDLEINFO
{
LPVOID
www.eeworm.com/read/185001/9060566
obj comm.obj
www.eeworm.com/read/185001/9060586
sbr comm.sbr
www.eeworm.com/read/185001/9060599
cpp comm.cpp
#include "StdAfx.h"
#include
#include "COMM.h"
/**********************************************************************
Function: ReadThread
Description:建立读串口线程,接收到字符时通知窗口或线程,线程结束
Inp