bthsagw_ce.cpp

来自「CE下串口复用程序」· C++ 代码 · 共 32 行

CPP
32
字号
//
// Copyright (c) Microsoft Corporation.  All rights reserved.
//
//
// Use of this source code is subject to the terms of the Microsoft end-user
// license agreement (EULA) under which you licensed this SOFTWARE PRODUCT.
// If you did not accept the terms of the EULA, you are not authorized to use
// this source code. For a copy of the EULA, please see the LICENSE.RTF on your
// install media.
//
#include "btagw_reg.h"

DWORD RegisterBthDevice(BT_ADDR bta, HANDLE* phDevice)
{
	//
	// On CE we have already registered the device when pairing with it
	// from the control panel.  So just return success.
	//
	
	return ERROR_SUCCESS;
}

DWORD DeregisterBthDevice(HANDLE hDevice)
{
	//
	// On CE we deregister the device from the control panel pairing applet.
	//

	return ERROR_SUCCESS;
}

⌨️ 快捷键说明

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