|
TNB Library
|
Bluetooth(CE) デバイスクラス管理. [詳解]
#include <TnbCeBluetooth.h>
公開型 | |
| enum | EMajorDeviceClass { Miscellaneous = 0x00 , Computer = 0x01 , Phone = 0x02 , Network = 0x03 , AV = 0x04 , Peripheral = 0x05 , Imaging = 0x06 } |
| メジャーデバイスクラス種類. [詳解] | |
| enum | EServiceClass { Positioning = 0x0008 , Networking = 0x0010 , Rendering = 0x0020 , Capturing = 0x0040 , ObjectTransfer = 0x0080 , Audio = 0x0100 , Telephony = 0x0200 , Information = 0x0400 } |
| サービスクラス種類. [詳解] | |
公開メンバ関数 | |
| CBluetoothClass (DWORD cod=0) | |
| コンストラクタ. [詳解] | |
| DWORD | GetDeviceClass (void) const |
| [取得] デバイスクラス取得. [詳解] | |
| DWORD | GetMajorDeviceClass (void) const |
| [取得] メジャーデバイスクラス取得. [詳解] | |
| LPCTSTR | GetMajorDeviceClassName (void) const |
| [取得] メジャーデバイスクラス文字列取得. [詳解] | |
| DWORD | GetMinorDeviceClass (void) const |
| [取得] マイナーデバイスクラス取得. [詳解] | |
| LPCTSTR | GetMinorDeviceClassName (void) const |
| [取得] マイナーデバイスクラス文字列取得. [詳解] | |
| DWORD | GetServiceClass (void) const |
| [取得] サービスクラス取得. [詳解] | |
| operator DWORD (void) const | |
| [取得] デバイスクラス取得. [詳解] | |
| void | SetMajorDeviceClass (DWORD c) |
| [設定] メジャーデバイスクラス設定. [詳解] | |
| void | SetMinorDeviceClass (DWORD c) |
| [設定] マイナーデバイスクラス設定. [詳解] | |
| void | SetServiceClass (DWORD c) |
| [設定] サービスクラス設定. [詳解] | |
Bluetooth(CE) デバイスクラス管理.
一つの COD (class of device) を管理します。 サービスクラス、メジャーデバイスクラス、マイナーデバイスクラスの取得が可能です。
TnbCeBluetooth.h の 128 行目に定義があります。
| enum EMajorDeviceClass |
メジャーデバイスクラス種類.
TnbCeBluetooth.h の 152 行目に定義があります。
| enum EServiceClass |
サービスクラス種類.
TnbCeBluetooth.h の 136 行目に定義があります。
| CBluetoothClass | ( | DWORD | cod = 0 | ) |
| DWORD GetDeviceClass | ( | void | ) | const |
| DWORD GetMajorDeviceClass | ( | void | ) | const |
| LPCTSTR GetMajorDeviceClassName | ( | void | ) | const |
| DWORD GetMinorDeviceClass | ( | void | ) | const |
| LPCTSTR GetMinorDeviceClassName | ( | void | ) | const |
| DWORD GetServiceClass | ( | void | ) | const |
| operator DWORD | ( | void | ) | const |
| void SetMajorDeviceClass | ( | DWORD | c | ) |
| void SetMinorDeviceClass | ( | DWORD | c | ) |
| void SetServiceClass | ( | DWORD | c | ) |
| DWORD cod |
デバイスクラス
TnbCeBluetooth.h の 399 行目に定義があります。
| DWORD formatType |
フォーマットタイプ
TnbCeBluetooth.h の 402 行目に定義があります。
| DWORD majorDeviceClass |
メジャーデバイスクラス
TnbCeBluetooth.h の 404 行目に定義があります。
| DWORD minorDeviceClass |
マイナーデバイスクラス
TnbCeBluetooth.h の 403 行目に定義があります。
| DWORD padding |
(空)
TnbCeBluetooth.h の 406 行目に定義があります。
| DWORD serviceClass |
サービスクラス
TnbCeBluetooth.h の 405 行目に定義があります。