📄 mybtutil.h
字号:
//======================================================================
// Header file
//
// Written for the book Programming Windows CE
// Copyright (C) 2007 Douglas Boling
//======================================================================
#ifndef _MYBTUTIL_H_
#define _MYBTUTIL_H_
#if defined (__cplusplus)
extern "C" {
#endif
typedef struct {
TCHAR szName[256];
BT_ADDR btaddr;
} MYBTDEVICE, *PMYBTDEVICE;
// Finds Bluetooth devices
int FindDevices (PMYBTDEVICE pbtDev, int *pnDevs);
// Registers a BT service
int RegisterBtService (GUID *pguid, byte bChannel,
ULONG *pRecord);
// Clears a BT service from the SDP database
int UnregisterBtService (HWND hWnd, ULONG hRecord);
#if defined (__cplusplus)
}
#endif
#endif // _MYBTUTIL_H_
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -