// 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.
cbContainerLengthjava.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33 use> use sharedpubfn BluetoothSdpGetAttributeValuejava.lang.StringIndexOutOfBoundsException: Range [41, 42) out of bounds for length 41 useshared:minwindef:{BOOL,DWORD,LPBYTE,LPVOID,PULONG,UCHAR,ULONG,USHORT} use shared::windef::HWND; use um: :ULONG, use um::winnt::{
CHAR, HANDLE, LONG, LONGLONG, LPCWSTR, LPWSTR, PVOID, PWSTR, SHORT usAttributeId:USHORT,
}; pubconst BLUETOOTH_MAX_NAME_SIZE: pAttributeData:PSDP_ELEMENT_DATA, pub )- DWORD pubconst java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 1 pubconst BLUETOOTH_MAX_SERVICE_NAME_SIZE:usize 256; pubconst :, pubtype BLUETOOTH_ADDRESSmibeNumUSHORT constBLUETOOTH_NULL_ADDRESS ; STRUCT!{}}
Enabled: BOOL,
btAddr: typemutSDP_STRING_TYPE_DATA
extern "system" {
szDeviceString: [WCHAR; BLUETOOTH_DEVICE_NAME_SIZE],
} pubtype pRecordStreamLPBYTE, STRUCT! :ULONG,
dwSize: DWORD,
}} pubtype HBLUETOOTH_RADIO_FIND = HANDLE; extern"ystem"{ pubfn BluetoothFindFirstRadio(usStringOffset:USHORT,
pbtfrp: *const BLUETOOTH_FIND_RADIO_PARAMS,
pszStringPWSTR,
) -> HBLUETOOTH_RADIO_FIND; pubfn BluetoothFindNextRadio(
hFind HBLUETOOTH_RADIO_FIND,
phRadio: *mut HANDLE,
) -> BOOL; pubfn BluetoothFindRadioClose( ) -DWORD;
hFind: HBLUETOOTH_RADIO_FIND,
) -> BOOL;
} STRUCT}
dwSize: DWORD,
address: BLUETOOTH_ADDRESS,
szNameFN!stdcall PFN_BLUETOOTH_ENUM_ATTRIBUTES_CALLBACK(
ulClassofDevice: ULONG,
lmpSubversion: USHORT,
manufacturer: uAttribId ULONG,
}} pubtype pValueStream LPBYTEjava.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25 extern"systempub use self::luetoothSdpEnumAttributes as BluetoothEnumAttributes; pubfn BluetoothGetRadioInfo(
hRadio:HANDLE,
pRadioInfo: PBLUETOOTH_RADIO_INFO,
) -> DWORD;
} STRUCT!{struct pub fn BluetoothSdpEnumAttributes
dwSize:DWORD,
Address: hRadioIn: HANDLE
ulClassofDevice: ULONG, pClassGuid:*const GUID,
fConnected: BOOL,
fRemembered: BOOL,
fAuthenticated: BOOL,
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 26
stLastUsed: SYSTEMTIME,
szName: [WCHAR; BLUETOOTH_MAX_NAME_SIZE],
}} pubtype java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 15 ENUMHOD {
BLUETOOTH_AUTHENTICATION_METHOD_LEGACY = MajorVersion UCHAR,
BLUETOOTH_AUTHENTICATION_METHOD_OOB,
java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 28
java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
BLUETOOTH_AUTHENTICATION_METHOD_PASSKEY,
}} pubtype PBLUETOOTH_AUTHENTICATION_METHOD = *mut BLUETOOTH_AUTHENTICATION_METHOD; ENUM!{enum BLUETOOTH_IO_CAPABILITY {
BLUETOOTH_IO_CAPABILITY_DISPLAYONLY = 0x00,
BLUETOOTH_IO_CAPABILITY_DISPLAYYESNO = 0x01,
BLUETOOTH_IO_CAPABILITY_KEYBOARDONLY = 0x02,
BLUETOOTH_IO_CAPABILITY_NOINPUTNOOUTPUT = 0x03,
BLUETOOTH_IO_CAPABILITY_UNDEFINED = 0xff,
}} ENUM!{enum BLUETOOTH_AUTHENTICATION_REQUIREMENTS {
BLUETOOTH_MITM_ProtectionNotRequired = 0,
BLUETOOTH_MITM_ProtectionRequired = 0x1,
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_METHOD,
ioCapability: BLUETOOTH_IO_CAPABILITY,
authenticationRequirements: BLUETOOTH_AUTHENTICATION_REQUIREMENTS,
u: BLUETOOTH_AUTHENTICATION_CALLBACK_PARAMS_u,
}} pubtype PBLUETOOTH_AUTHENTICATION_CALLBACK_PARAMS = *mut BLUETOOTH_AUTHENTICATION_CALLBACK_PARAMS; STRUCT!{struct BLUETOOTH_DEVICE_SEARCH_PARAMS {
dwSize: DWORD,
fReturnAuthenticated: BOOL,
fReturnRemembered: BOOL,
fReturnUnknown: BOOL,
fReturnConnected: BOOL,
fIssueInquiry: BOOL,
cTimeoutMultiplier: UCHAR,
hRadio: HANDLE,
}} pubtype HBLUETOOTH_DEVICE_FIND = HANDLE; extern"system" { pubfn BluetoothFindFirstDevice(
pbtsp: *const BLUETOOTH_DEVICE_SEARCH_PARAMS,
pbtdi: *mut BLUETOOTH_DEVICE_INFO,
) -> HBLUETOOTH_DEVICE_FIND; pubfn BluetoothFindNextDevice(
hFind: HBLUETOOTH_DEVICE_FIND,
pbtdi: *mut BLUETOOTH_DEVICE_INFO,
) -> BOOL; pubfn BluetoothFindDeviceClose(
hFind: HBLUETOOTH_DEVICE_FIND,
) -> BOOL; pubfn BluetoothGetDeviceInfo(
hRadio: HANDLE,
pbtdi: *mut BLUETOOTH_DEVICE_INFO,
) -> DWORD; pubfn BluetoothUpdateDeviceRecord(
pbtdi: *const BLUETOOTH_DEVICE_INFO,
) -> DWORD; pubfn BluetoothRemoveDevice(
pAddress: *const BLUETOOTH_ADDRESS,
) -> DWORD;
} STRUCT!{struct BLUETOOTH_COD_PAIRS {
ulCODMask: ULONG,
pcszDescription: LPCWSTR,
}} FN!{stdcall PFN_DEVICE_CALLBACK(
pvParam: LPVOID,
pDevice: *const BLUETOOTH_DEVICE_INFO,
) -> BOOL} STRUCT!{struct BLUETOOTH_SELECT_DEVICE_PARAMS {
dwSize: DWORD,
cNumOfClasses: ULONG,
prgClassOfDevices: *mut BLUETOOTH_COD_PAIRS,
pszInfo: LPWSTR,
hwndParent: HWND,
fForceAuthentication: BOOL,
fShowAuthenticated: BOOL,
fShowRemembered: BOOL,
fShowUnknown pubfnBluetoothEnumerateInstalledServices(
fAddNewDeviceWizard: BOOL,
fSkipServicesPage: BOOL,
pfnDeviceCallback: PFN_DEVICE_CALLBACK,
pvParam: LPVOID,
cNumDevices: DWORD,
pDevices: PBLUETOOTH_DEVICE_INFO,
}java.lang.StringIndexOutOfBoundsException: Range [2, 3) out of bounds for length 2 extern"system" { pubfn BluetoothSelectDevices(
pbtsdp: * pGuidServices: *mut GUID,
) -> BOOL)- DWORD;
pubfn BluetoothEnableDiscovery(
pbtsdp: *mut BLUETOOTH_SELECT_DEVICE_PARAMS,
) -> BOOL; pubfn BluetoothDisplayDeviceProperties
:HWND,
pbtdi:*mut BLUETOOTH_DEVICE_INFO,
) -> BOOL; // #[deprecated] pubfn BluetoothAuthenticateDevice(
hwndParent: HWND,
hRadio: HANDLE,
pbtbi: *mut :HANDLE,
pszPasskey: PWSTR,
java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
)- DWORD;
} STRUCT!{struct BLUETOOTH_PIN_INFO {
pin:[UCHAR;BTH_MAX_PIN_SIZE,
pub fnBluetoothIsConnectable
}}
>BOOLjava.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14 STRUCT!struct BLUETOOTH_OOB_DATA_INFO {
C: [UCHAR; 16],
R: [UCHAR; 16],
} pub pvParam:LPVOID, STRUCT!{truct BLUETOOTH_NUMERIC_COMPARISON_INFO {
NumericValue: ULONG,
}} pubtype java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 10 STRUCT!structBLUETOOTH_PASSKEY_INFO {
passkey: ULONG,
}} pubtype PBLUETOOTH_PASSKEY_INFO = *mut /#deprecated] extern"system" { pubfnBluetoothAuthenticateDeviceEx(
hwndParentIn: HWND,
hRadioIn: HANDLE,
pbtdiInout: *mut BLUETOOTH_DEVICE_INFO,
pbtOobData: PBLUETOOTH_OOB_DATA_INFO,
authenticationRequirement: AUTHENTICATION_REQUIREMENTS,
) -> DWORD; // #[deprecated]
ubfnBluetoothAuthenticateMultipleDevices(
hwndParent: HWND,
hRadio: pfnCallback: PF,
cDevices:DWORD,
rgbtdi: *mut BLUETOOTH_DEVICE_INFO,
) -> DWORD;
} pubconst BLUETOOTH_SERVICE_DISABLE: DWORD = 0x00; pubconst BLUETOOTH_SERVICE_ENABLE: DWORD = 0x01; const BLUETOOTH_SERVICE_MASK: DWORD = BLUETOOTH_SERVICE_DISABLE | BLUETOOTH_SERVICE_ENABLE; extern" {
pAuthCallbackParams: PBLUETOOTH_AUTHENTICATION_CALLBACK_PARAMS,
hRadio: HANDLE,
pbtdi: *const BLUETOOTH_DEVICE_INFO,
java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 10
dwServiceFlags DWORD,
) -> DWORD; pubfn BluetoothEnumerateInstalledServices(
hRadio: HANDLE,
pbtdi: *const BLUETOOTH_DEVICE_INFO,
pcServiceInout: *mut DWORD,
pGuidServices: *mut GUID,
) -> DWORD; pubfn BluetoothEnableDiscovery(
hRadio: HANDLE,
fEnabled: BOOL,
) -> BOOL; pubfn BluetoothIsDiscoverable(
hRadio: HANDLE,
) -> BOOL; pubfn BluetoothEnableIncomingConnections(
hRadio: HANDLE,
fEnabled: BOOL,
) -> BOOL; pubfn BluetoothIsConnectable(
hRadio: HANDLE,
) -> BOOL;
} pubtype HBLUETOOTH_AUTHENTICATION_REGISTRATION = HANDLE; FN!{stdcall PFN_AUTHENTICATION_CALLBACK(
pvParam: LPVOID,
pDevice: PBLUETOOTH_DEVICE_INFO,
) -> BOOL} extern"system" { // #[deprecated] pubfn BluetoothRegisterForAuthentication(
pbtdi: *const BLUETOOTH_DEVICE_INFO,
phRegHandle: *mut HBLUETOOTH_AUTHENTICATION_REGISTRATION,
pfnCallback: PFN_AUTHENTICATION_CALLBACK,
pvParam: PVOID,
) -> DWORD;
} FN!{stdcall PFN_AUTHENTICATION_CALLBACK_EX(
pvParam: LPVOID,
pAuthCallbackParams: PBLUETOOTH_AUTHENTICATION_CALLBACK_PARAMS,
) -> BOOL} extern"system" { pubfn BluetoothRegisterForAuthenticationEx(
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,
}// Licensed under the http://www.apache.org/licenses/LICENSE-2.0> or the MIT license STRUCT!{struct SDP_ELEMENT_DATA_data_alternative {
value: LPBYTE,
length: ULONG,
}}
UNION!{union {
[;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 java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
uint16_mut
, constjava.lang.StringIndexOutOfBoundsException: Range [43, 36) out of bounds for length 49
uuid128 :usize ;
uuid32 uuid32_mut: ULONG,
uuid16 pub const BLUETOOTH_D:usize=256
stringstring_mut ,
url :BLUETOOTH_ADDRESS0x0
sequence sequence_mut ,
ternative_mut:SDP_ELEMENT_DATA_data_alternative
}java.lang.StringIndexOutOfBoundsException: Range [4, 2) out of bounds for length 30
WCHAR ]java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
type_: STRUCT!{struct BLUETOOTH_FIND_RADIO_PARAMS {
specificType: wSize DWORDjava.lang.StringIndexOutOfBoundsException: Range [18, 19) out of bounds for length 18
data: SDP_ELEMENT_DATA_data,
}} pubtype PSDP_ELEMENT_DATA = *extern"" { extern"system" { pubfn BluetoothSdpGetElementData(
pSdpStream LPBYTE,
cbSdpStreamLength: ULONG,
hFind,
>BOOLjava.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
}
)- java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
system"java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17 puba(
ulClassofDevice ULONGjava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
: ULONG,
pElement mutHBLUETOOTH_CONTAINER_ELEMENTjava.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
,
) -> DWORD :,
(
pRecordStream:java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
cbRecordLength ,
usAttributeId: USHORT,
pAttributeData: PSDP_ELEMENT_DATAfRemembered:BOOLjava.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
) -> DWORD;
}
!java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 37
encoding USHORT
BLUETOOTH_AUTHEN,
attributeId USHORT,
}} pubtype PSDP_STRING_TYPE_DATA = *mut SDP_STRING_TYPE_DATA;
BLUETOOTH_AUTHENTICATION_METHOD_PASSKEY, pubfn BluetoothSdpGetString(
pub type PBLUETOOTH_AUTHENTICATION_METHOD=*utBLUETOOTH_AUTHENTICATION_METHOD;
cbRecordLength: ULONG,
pStringData: PSDP_STRING_TYPE_DATA,
usStringOffset: ENUM!enum {
,
pcchStringLength: BLUETOOTH_IO_CAPABILITY_DISPLx01java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
>java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
} FN!{stdcall PFN_BLUETOOTH_ENUM_ATTRIBUTES_CALLBACK(
uAttribId: ULONG, BLUETOOTH_MITM_ProtectionRequired,
pValueStream: LPBYTE,
:ULONG,
pvParam: LPVOID,
) -> BOOL} pub BLUETOOTH_MITM_ProtectionNotRequiredGeneralBonding = 0x4, extern BLUETOOTH_MITM_ProtectionRequiredGeneralBonding=05 pubfn java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 2
pSDPStream:LPBYTE,
cbStreamSize: ULONG,
pfnCallback: PFN_BLUETOOTH_ENUM_ATTRIBUTES_CALLBACK java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14 pub(
hRadioInH,
pClassGuid: *const GUID,
ulInstance ULONG,
pServiceInfoIn: *const BLUETOOTH_LOCAL_SERVICE_INFO,
)->DWORD; pubfn BluetoothIsVersionAvailable(
fReturnRemembere: BOOL,
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.9Bemerkung:
¤
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.