代码搜索:Serialport
找到约 4,040 项符合「Serialport」的源代码
代码结果 4,040
www.eeworm.com/read/426054/10291120
h serialport.h
#ifndef __SERIALPORT_H__
#define __SERIALPORT_H__
#define WM_COMM_BREAK_DETECTED WM_USER+1 // A break was detected on input.
#define WM_COMM_CTS_DETECTED WM_USER+2 // The CTS (clear-to-send)
www.eeworm.com/read/426054/10291126
obj serialport.obj
www.eeworm.com/read/354828/10322933
cpp serialport.cpp
#include "stdafx.h"
#include "SerialPort.h"
#include
//
// 构造函数
//
CSerialPort::CSerialPort()
{
m_hComm = NULL;
// 重叠结构成员置0
m_ov.Offset = 0;
m_ov.OffsetHigh = 0;
/
www.eeworm.com/read/354828/10322942
h serialport.h
#ifndef __SERIALPORT_H__
#define __SERIALPORT_H__
//用户消息定义
#define WM_COMM_BREAK_DETECTED WM_USER+1 // 输入BREAK信号
#define WM_COMM_CTS_DETECTED WM_USER+2 // 发送清除信号
#define WM_COMM_DSR_DETECT
www.eeworm.com/read/161909/10357641
cpp serialport.cpp
#include "StdAfx.h"
#include ".\serialport.h"
#include
CSerialPort::CSerialPort(void)
: m_bOpen(false)
{
::ZeroMemory(&m_Dcb,sizeof(m_Dcb));
m_Dcb.DCBlength = sizeof(m_Dcb);
m_h
www.eeworm.com/read/161909/10357644
h serialport.h
#pragma once
#define WM_COMM_BREAK_DETECTED WM_COMM_USER+1
#define WM_COMM_CTS_DETECTED WM_COMM_USER+2
#define WM_COMM_DSR_DETECTED WM_COMM_USER+3
#define WM_COMM_ERR_DETECTED WM_COMM_USER+4
www.eeworm.com/read/425254/10366900
cpp serialport.cpp
/*
** FILENAME CSerialPort.cpp
**
** PURPOSE This class can read, write and watch one serial port.
** It sends messages to its owner when something happends on the port
** The clas
www.eeworm.com/read/425254/10366908
h serialport.h
/*
** FILENAME CSerialPort.h
**
** PURPOSE This class can read, write and watch one serial port.
** It sends messages to its owner when something happends on the port
** The class
www.eeworm.com/read/161729/10382676
cpp serialport.cpp
#include "stdafx.h"
#include "../HPMapx.h"
#include "SerialPort.h"
#include
bool CCommCE::Open(COMM_SET &nCommSet,int nPort)
{
CloseComm();
DWORD dwError;
CString str
www.eeworm.com/read/161729/10382678
h serialport.h
// SerialPort.h
#ifndef __SERIALPORT_H__
#define __SERIALPORT_H__
#pragma once
// CE Communication Port Class Modified by brent
struct COMM_SET
{
HWND pPortOwner;
UINT portnr;
UINT b