btdc.h

来自「Windows CE操作系统中适用的蓝牙驱动程序」· C头文件 代码 · 共 45 行

H
45
字号
//
// 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.
//
//------------------------------------------------------------------------------
// 
//      Bluetooth Test Client
// 
// 
// Module Name:
// 
//      btdc.h
// 
// Abstract:
// 
//      Test Program - definitions for test functions.
// 
// 
//------------------------------------------------------------------------------

#if ! defined (_BTDC_H)
#define _BTDC_H

int GetUx (WCHAR **pp, void *pRes, int nDigs);

#define GetUS(a, b) GetUx ((a), (b), 4)
#define GetUI(a, b) GetUx ((a), (b), 8)
#define GetUC(a, b) GetUx ((a), (b), 2)
int GetBA (WCHAR **pp, BT_ADDR *pba);

void TestSdpInquiry(WCHAR *szCmd);
void TestSdpAddRecord(WCHAR *szCmd);
void TestSdpDelRecord(WCHAR *szCmd);
void TestSdpServiceSearch(WCHAR *szCmd);
void TestSdpAttribSearch(WCHAR *szCmd);
void TestSdpServAttribSearch(WCHAR *szCmd);

#endif // _BTDC_H

⌨️ 快捷键说明

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