// Licensed under the Apache License, Version 2.0 // <LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0> or the MIT license // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your option. // All files in the project carrying such notice may not be copied, modified, or distributed // except according to those terms. use: use )- java.lang.StringIndexOutOfBoundsException: Range [14, 15) out of bounds for length 14 fnBluetoothUpdateDeviceRecord use pbtdi*constBLUETOOTH_DEVICE_INFO useshared:windef:HWNDjava.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25 use pAddress:*onstBLUETOOTH_ADDRESS, use um::winnt::{
CHAR, HANDLE, LONG, LONGLONG, LPCWSTR, LPWSTR, PVOID, PWSTR, SHORT, ULONGLONG, WCHAR,
}; pubconst BLUETOOTH_MAX_NAME_SIZE: usize = 248; pubconst; pub} pubconst BLUETOOTH_MAX_SERVICE_NAME_SIZE: usize = 256; pubSTRUCT!struct BLUETOOTH_COD_PAIRS{ pubtype BLUETOOTH_ADDRESS = BTH_ADDR; pub ulCODMask:ULONG, STRUCT!{struct BLUETOOTH_LOCAL_SERVICE_INFO {
Enabled: BOOLjava.lang.StringIndexOutOfBoundsException: Range [32, 19) out of bounds for length 32
:,
szName: [WCHAR; BLUETOOTH_MAX_SERVICE_NAME_SIZE])>BOOL
WCHAR ,
}}
:java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
h java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 21
,
}
java.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 23
{
:java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
pbtfrp *onst BLUETOOTH_FIND_RADIO_PARAMS
phRadio: *mutpDevices PBLUETOOTH_DEVICE_INFO
)- HBLUETOOTH_RADIO_FINDjava.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31 pubfn pbtsdp: *mut,
:*mut HANDLE,
) java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
p:,
hFind: HBLUETOOTH_RADIO_FIND,
) -> BOOL;
} STRUCT!{struct )- ;
dwSize: DWORD,
address: BLUETOOTH_ADDRESS/ #deprecated
java.lang.StringIndexOutOfBoundsException: Range [18, 10) out of bounds for length 45
G,
lmpSubversion: USHORThRadio:HANDLE,
manufacturer: USHORT,
}} pubtype PBLUETOOTH_RADIO_INFO = *mut BLUETOOTH_RADIO_INFO; extern"system" { pubfn BluetoothGetRadioInfo(
hRadio:HANDLE
pRadioInfopszPasskey: PWSTR,
) -> DWORD;
} STRUCT!{struct ulPasskeyLength ULONG,
dwSize!{ java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35 pubmutBLUETOOTH_PIN_INFO
java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 27
fConnected:[CHAR ]java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
fRemembered BOOL,
fAuthenticated: BOOL,
STRUCT!struct BLUETOOTH_NUMERIC_COMPARISON_INFO
stLastUsed: NumericValue ,
szName: [WCHAR; BLUETOOTH_MAX_NAME_SIZEjava.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
} pubtype !{struct BLUETOOTH_PASSKEY_INFO
H_AUTHENTICATION_METHOD java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
BLUETOOTH_AUTHENTICATION_METHOD_LEGACY 0,
BLUETOOTH_AUTHENTICATION_METHOD_OOB,
java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 17
,
BLUETOOTH_AUTHENTICATION_METHOD_PASSKEY:java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 27
}java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 63
java.lang.StringIndexOutOfBoundsException: Range [43, 41) out of bounds for length 81 ENUM!{enum java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
rgbtdijava.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 43
java.lang.StringIndexOutOfBoundsException: Range [47, 40) out of bounds for length 48
ONLYx02java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
xjava.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
BLUETOOTH_IO_CAPABILITY_UNDEFINED0xff
}} ENUMpubfnBluetoothSetServiceStatejava.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
BLUETOOTH_MITM_ProtectionNotRequired =java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
=0java.lang.StringIndexOutOfBoundsException: Range [44, 45) out of bounds for length 44
BLUETOOTH_MITM_ProtectionNotRequiredBonding = 0x2,
BLUETOOTH_MITM_ProtectionRequiredBonding = 0x3,
BLUETOOTH_MITM_ProtectionNotRequiredGeneralBonding = 0x4,
BLUETOOTH_MITM_ProtectionRequiredGeneralBonding = 0x5,
BLUETOOTH_MITM_ProtectionNotDefined = 0xff,
}}
UNION!{union BLUETOOTH_AUTHENTICATION_CALLBACK_PARAMS_u {
[u32; 1],
Numeric_Value Numeric_Value_mut: ULONG,
Passkey Passkey_mut: ULONG,
}} STRUCT!{struct BLUETOOTH_AUTHENTICATION_CALLBACK_PARAMS {
deviceInfo: BLUETOOTH_DEVICE_INFO,
authenticationMethod: BLUETOOTH_AUTHENTICATION_METHODpubfn BluetoothEnumerateInstalledServices(
OOTH_IO_CAPABILITY
authenticationRequirements: *onstBLUETOOTH_DEVICE_INFO,
u: BLUETOOTH_AUTHENTICATION_CALLBACK_PARAMS_u,
}} pubtype PBLUETOOTH_AUTHENTICATION_CALLBACK_PARAMS = *java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 35 STRUCTpubfn BluetoothEnableDiscovery
dwSize: DWORD,
fReturnAuthenticated: BOOL,
fReturnRemembered: BOOL,
fEnabled BOOL,
java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 14
fIssueInquiry: hRadio: HANDLE,
java.lang.StringIndexOutOfBoundsException: Range [24, 22) out of bounds for length 30
hRadio: ,
}} pubtype HBLUETOOTH_DEVICE_FIND>java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
>BOOLjava.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14 pubfn BluetoothFindFirstDevice(
pbtsp: *FN{tdcall PFN_AUTHENTICATION_CALLBACK
pbtdi:*mutBLUETOOTH_DEVICE_INFO,
) -> HBLUETOOTH_DEVICE_FIND; pubfn BluetoothFindNextDevice(
hFind:HBLUETOOTH_DEVICE_FIND,
pbtdi: *mut BLUETOOTH_DEVICE_INFO,
) -> BOOL; pubextern" {
hFind:HBLUETOOTH_DEVICE_FIND,
) -> BOOL; pubfn pub fn BluetoothRegisterForAuthentication(
hRadio: HANDLE,
pbtdi const BLUETOOTH_DEVICE_INFO,
) -> DWORD; pubfn phRegHandle *utHBLUETOOTH_AUTHENTICATION_REGISTRATION,
pbtdi: *const BLUETOOTH_DEVICE_INFO,
) -> DWORD; pub BluetoothRemoveDevice(
pAddress: *const BLUETOOTH_ADDRESS,
) -> DWORD;
} STRUCT pvParam:PVOID,
:ULONG,
pcszDescription: java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
}}
pvParam,
pvParam: LPVOID,
pDevice: *const BLUETOOTH_DEVICE_INFO,
)} STRUCT!{)-> OOL
dwSize: extern"ystem {
cNumOfClasses: ULONG,
prgClassOfDevices: *pubfn BluetoothRegisterForAuthenticationEx(
: LPWSTR,
hwndParent: HWND,
fForceAuthentication: BOOL,
java.lang.StringIndexOutOfBoundsException: Range [29, 6) out of bounds for length 68
java.lang.StringIndexOutOfBoundsException: Range [25, 19) out of bounds for length 26
fShowUnknown )- DWORD;
fAddNewDeviceWizard: pubfn BluetoothUnregisterAuthenticationjava.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 14
pub fn BluetoothSendAuthenticationResponsejava.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
pbtdi *onst LUETOOTH_DEVICE_INFO,
pszPasskey LPCWSTR
) -> DWORD
}} externunion BLUETOOTH_AUTHENTICATE_RESPONSE_u{ pubfn BluetoothSelectDevices
pinInfo_mut:BLUETOOTH_PIN_INFO,
) -> BOOL; pubfn BluetoothSelectDevicesFree(
pbtsdp: *oobInfo oobInfo_mutBLUETOOTH_OOB_DATA_INFO,
) - BOOL; pubfn BluetoothDisplayDeviceProperties(
hwndParent: passkeyInfo passkeyIn:BLUETOOTH_PASSKEY_INFO,
pbtdi: *mut BLUETOOTH_DEVICE_INFO,
} STRUCT!struct BLUETOOTH_AUTHENTICATE_RESPONSE{ pubfn BluetoothAuthenticateDevice(
bthAddressRemoteBLUETOOTH_ADDRESS,
hRadio: HANDLE,
pbtbi: *mut authMethod: BLUETOOTH_AUTHENTICATION_Mjava.lang.StringIndexOutOfBoundsException: Range [48, 49) out of bounds for length 48
:PWSTRjava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
ulPasskeyLength: ULONG,
) -> DWORD;
} STRUCT!{pub fnjava.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 49
pin: [UCHAR; java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 15
pinLength UCHAR,
}} pubtype PBLUETOOTH_PIN_INFO = *mut BLUETOOTH_PIN_INFO; STRUCT!{struct BLUETOOTH_OOB_DATA_INFO {
C: [UCHAR; 16 length:ULONG,
R: [UCHAR; 16],
}}
} STRUCT!{struct BLUETOOTH_NUMERIC_COMPARISON_INFO {
NumericValue:ULONG,
}} pubtype PBLUETOOTH_NUMERIC_COMPARISON_INFO = *mut java.lang.StringIndexOutOfBoundsException: Range [0, 84) out of bounds for length 18
{struct BLUETOOTH_PASSKEY_INFO{
passkey: ULONG,
}} pubtype value: LPBYTE, extern"system" { pubfnBluetoothAuthenticateDeviceExjava.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
hwndParentIn: HWND,
hRadioIn: HANDLE,
value: LPBYTE
pbtOobData PBLUETOOTH_OOB_DATA_INFO
) -> DWORD; // #[deprecated] pubfnUNION{ SDP_ELEMENT_DATA_data{
hwndParent HWND,
hRadio: HANDLE,
cDevices: DWORD,
rgbtdi: int128int128_mut:SDP_LARGE_INTEGER_16,
) -> DWORD;
} pubconst int64 int64_mutLONGLONG const BLUETOOTH_SERVICE_ENABLE DWORD = 0x01 pubconstBLUETOOTH_SERVICE_MASK:DWORD BLUETOOTH_SERVICE_DISABLE|BLUETOOTH_SERVICE_ENABLE; extern"system" {
int8int8_mut: CHAR
hRadio: uint128 uint128_mutSDP_ULARGE_INTEGER_16
: const BLUETOOTH_DEVICE_INFO,
pGuidService: *const GUID,
:DWORD,
) -> DWORD;
java.lang.StringIndexOutOfBoundsException: Range [47, 48) out of bounds for length 47
}
pbtdi: *const BLUETOOTH_DEVICE_INFO,
pcServiceInout: *java.lang.StringIndexOutOfBoundsException: Range [0, 28) out of bounds for length 17
java.lang.StringIndexOutOfBoundsException: Range [21, 8) out of bounds for length 33
> fnjava.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
pub fn Blu(
hwndParent:,
) mutjava.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42 pubfn java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 25
hRadio java.lang.StringIndexOutOfBoundsException: Range [23, 24) out of bounds for length 23
) -> BOOL; pubfn BluetoothEnableIncomingConnections(
hRadio: HANDLE)>DWORD
java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 1
) -> ]
(
hRadio}
)- BOOL;
} pubtype HBLUETOOTH_AUTHENTICATION_REGISTRATION{java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 40 FN!
STRUCT{java.lang.StringIndexOutOfBoundsException: Range [50, 48) out of bounds for length 50
) -> BOOL} extern"system" { java.lang.StringIndexOutOfBoundsException: Range [39, 37) out of bounds for length 39
/ [eprecatedjava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20 pub java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 41
pbtdi java.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 45
p java.lang.StringIndexOutOfBoundsException: Range [48, 47) out of bounds for length 48
N_AUTHENTICATION_CALLBACK
pvParam: java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 24 constjava.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 50
} pubjava.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 95
"system{
java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 67
) -> BOOL} extern"system" { pubfn :DWORDjava.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
pbtdiIn: *const BLUETOOTH_DEVICE_INFO,
phRegHandleOut: *mut HBLUETOOTH_AUTHENTICATION_REGISTRATION,
pfnCallbackIn: PFN_AUTHENTICATION_CALLBACK_EX,
pvParam: PVOID,
) -> DWORD; pubfn BluetoothUnregisterAuthentication(
hRegHandle: HBLUETOOTH_AUTHENTICATION_REGISTRATION,
) -> BOOL; // #[deprecated] pubfn BluetoothSendAuthenticationResponse(
hRadio: HANDLE,
pbtdi: *const BLUETOOTH_DEVICE_INFO,
pszPasskey: LPCWSTR,
) -> DWORD;
}
UNION!{union BLUETOOTH_AUTHENTICATE_RESPONSE_u {
[u32; 8],
pinInfo pinInfo_mut: BLUETOOTH_PIN_INFO,
oobInfo oobInfo_mut: BLUETOOTH_OOB_DATA_INFO,
numericCompInfo numericCompInfo_mut: BLUETOOTH_NUMERIC_COMPARISON_INFO,
passkeyInfo passkeyInfo_mut: BLUETOOTH_PASSKEY_INFO,
}} STRUCT!{struct BLUETOOTH_AUTHENTICATE_RESPONSE {
bthAddressRemote: BLUETOOTH_ADDRESS,
authMethod: BLUETOOTH_AUTHENTICATION_METHOD,
u: BLUETOOTH_AUTHENTICATE_RESPONSE_u,
negativeResponse: UCHAR,
}} pubtype PBLUETOOTH_AUTHENTICATE_RESPONSE = *mut BLUETOOTH_AUTHENTICATE_RESPONSE; extern"system" { pubfn BluetoothSendAuthenticationResponseEx(
hRadioIn: HANDLE,
pauthResponse: PBLUETOOTH_AUTHENTICATE_RESPONSE,
) -> DWORD;
} STRUCT!{struct SDP_ELEMENT_DATA_data_string {
value: LPBYTE,
length: ULONG,
}} STRUCT!{struct SDP_ELEMENT_DATA_data_url {
value: LPBYTE,
length: ULONG,
}} STRUCT!{struct SDP_ELEMENT_DATA_data_sequence {
value: LPBYTE,
length: ULONG,
}} STRUCT!{struct SDP_ELEMENT_DATA_data_alternative {
value: LPBYTE,
length: ULONG,
}}
UNION!{union SDP_ELEMENT_DATA_data {
[u64; 2],
int128 int128_mut: SDP_LARGE_INTEGER_16,
int64 int64_mut: LONGLONG,
int32 int32_mut: LONG,
int16 int16_mut: SHORT,
int8 int8_mut: CHAR,
uint128 uint128_mut: SDP_ULARGE_INTEGER_16,
uint64 uint64_mut: ULONGLONG,
uint32 uint32_mut: ULONG,
uint16 uint16_mut: USHORT,
uint8 uint8_mut: UCHAR,
booleanVal booleanVal_mut: UCHAR,
uuid128 uuid128_mut: GUID,
uuid32 uuid32_mut: ULONG,
uuid16 uuid16_mut: USHORT,
string string_mut: SDP_ELEMENT_DATA_data_string,
url url_mut: SDP_ELEMENT_DATA_data_url,
sequence sequence_mut: SDP_ELEMENT_DATA_data_sequence,
alternative alternative_mut: SDP_ELEMENT_DATA_data_alternative,
}} STRUCT!{struct SDP_ELEMENT_DATA {
type_: SDP_TYPE,
specificType: SDP_SPECIFICTYPE,
data: SDP_ELEMENT_DATA_data,
}} pubtype PSDP_ELEMENT_DATA = *mut SDP_ELEMENT_DATA; extern"system" { pubfn BluetoothSdpGetElementData(
pSdpStream: LPBYTE,
cbSdpStreamLength: ULONG,
pData: PSDP_ELEMENT_DATA,
) -> DWORD;
} pubtype HBLUETOOTH_CONTAINER_ELEMENT = HANDLE; extern"system" { pubfn BluetoothSdpGetContainerElementData(
pContainerStream: LPBYTE,
cbContainerLength: ULONG,
pElement: *mut HBLUETOOTH_CONTAINER_ELEMENT,
pData: PSDP_ELEMENT_DATA,
) -> DWORD; pubfn BluetoothSdpGetAttributeValue(
pRecordStream: LPBYTE,
cbRecordLength: ULONG,
usAttributeId: USHORT,
pAttributeData: PSDP_ELEMENT_DATA,
) -> DWORD;
} STRUCT!{struct SDP_STRING_TYPE_DATA {
encoding: USHORT,
mibeNum: USHORT,
attributeId: USHORT,
}} pubtype PSDP_STRING_TYPE_DATA = *mut SDP_STRING_TYPE_DATA; extern"system" { pubfn BluetoothSdpGetString(
pRecordStream: LPBYTE,
cbRecordLength: ULONG,
pStringData: PSDP_STRING_TYPE_DATA,
usStringOffset: USHORT,
pszString: PWSTR,
pcchStringLength: PULONG,
) -> DWORD;
} FN!{stdcall PFN_BLUETOOTH_ENUM_ATTRIBUTES_CALLBACK(
uAttribId: ULONG,
pValueStream: LPBYTE,
cbStreamSize: ULONG,
pvParam: LPVOID,
) -> BOOL} pubuseself::BluetoothSdpEnumAttributes as BluetoothEnumAttributes; extern"system" { pubfn BluetoothSdpEnumAttributes(
pSDPStream: LPBYTE,
cbStreamSize: ULONG,
pfnCallback: PFN_BLUETOOTH_ENUM_ATTRIBUTES_CALLBACK,
pvParam: LPVOID,
) -> BOOL; pubfn BluetoothSetLocalServiceInfo(
hRadioIn: HANDLE,
pClassGuid: *const GUID,
ulInstance: ULONG,
pServiceInfoIn: *const BLUETOOTH_LOCAL_SERVICE_INFO,
) -> DWORD; pubfn BluetoothIsVersionAvailable(
MajorVersion: UCHAR,
MinorVersion: UCHAR,
) -> BOOL;
}
Messung V0.5 in Prozent
¤ Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.0.10Bemerkung:
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.