⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 hotuse.cpp

📁 DCOM 上位机和嵌入式系统通信
💻 CPP
字号:
// hotuse.cpp : Implementation of Chotuse
#include "stdafx.h"
#include "ComServer.h"
#include "hotuse.h"

/////////////////////////////////////////////////////////////////////////////
// Chotuse


STDMETHODIMP Chotuse::setranflg()
{
	// TODO: Add your implementation code here
    tranflg=1;
	return S_OK;
}

STDMETHODIMP Chotuse::getranflg(short *flg)
{
	// TODO: Add your implementation code here
	if(tranflg)
		*flg=1;
	else
		*flg=0;

	return S_OK;
}

STDMETHODIMP Chotuse::getcopy_flag(int *flag)
{
	// TODO: Add your implementation code here
    *flag=copy_flag;
	return S_OK;
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -