Headers diff for bluetoothapis.dll between 6.3.9600.17415-Windows 8.1 and 10.0.10586.306-Windows 10 1511 10586.494 versions



 bluetoothapis.h (6.3.9600.17415-Windows 8.1)   bluetoothapis.h (10.0.10586.306-Windows 10 1511 10586.494) 
skipping to change at line 128 skipping to change at line 128
// //
// ERROR_OUTOFMEMORY // ERROR_OUTOFMEMORY
// Out of memory. // Out of memory.
// //
// other Win32 errors. // other Win32 errors.
// //
// any other // any other
// Success. The return handle is valid and phRadio points to a valid ha ndle. // Success. The return handle is valid and phRadio points to a valid ha ndle.
// //
_Must_inspect_result_ _Must_inspect_result_
_Success_(return != NULL)
HBLUETOOTH_RADIO_FIND HBLUETOOTH_RADIO_FIND
WINAPI WINAPI
BluetoothFindFirstRadio( BluetoothFindFirstRadio(
_In_ const BLUETOOTH_FIND_RADIO_PARAMS * pbtfrp, _In_ const BLUETOOTH_FIND_RADIO_PARAMS * pbtfrp,
_Out_ HANDLE * phRadio _Out_ HANDLE * phRadio
); );
// //
// Description: // Description:
// Finds the next installed Bluetooth radio. // Finds the next installed Bluetooth radio.
// //
// Parameters: // Parameters:
// hFind // hFind
// The handle returned by BluetoothFindFirstRadio(). // The handle returned by BluetoothFindFirstRadio().
// //
skipping to change at line 166 skipping to change at line 167
// //
// ERROR_NO_MORE_ITEMS // ERROR_NO_MORE_ITEMS
// No more radios found. // No more radios found.
// //
// ERROR_OUTOFMEMORY // ERROR_OUTOFMEMORY
// Out of memory. // Out of memory.
// //
// other Win32 errors // other Win32 errors
// //
_Must_inspect_result_ _Must_inspect_result_
_Success_(return)
BOOL BOOL
WINAPI WINAPI
BluetoothFindNextRadio( BluetoothFindNextRadio(
_In_ HBLUETOOTH_RADIO_FIND hFind, _In_ HBLUETOOTH_RADIO_FIND hFind,
_Out_ HANDLE * phRadio _Out_ HANDLE * phRadio
); );
// //
// Description: // Description:
// Closes the enumeration handle. // Closes the enumeration handle.
skipping to change at line 410 skipping to change at line 412
// //
// ERROR_REVISION_MISMATCH // ERROR_REVISION_MISMATCH
// The pbtfrp structure is not the right length. // The pbtfrp structure is not the right length.
// //
// other Win32 errors // other Win32 errors
// //
// any other value // any other value
// Success. The return handle is valid and pbtdi points to valid data. // Success. The return handle is valid and pbtdi points to valid data.
// //
_Must_inspect_result_ _Must_inspect_result_
_Success_(return != NULL)
HBLUETOOTH_DEVICE_FIND HBLUETOOTH_DEVICE_FIND
WINAPI WINAPI
BluetoothFindFirstDevice( BluetoothFindFirstDevice(
_In_ const BLUETOOTH_DEVICE_SEARCH_PARAMS * pbtsp, _In_ const BLUETOOTH_DEVICE_SEARCH_PARAMS * pbtsp,
_Inout_ BLUETOOTH_DEVICE_INFO * pbtdi _Inout_ BLUETOOTH_DEVICE_INFO * pbtdi
); );
// //
// Description: // Description:
// Finds the next Bluetooth device in the enumeration. // Finds the next Bluetooth device in the enumeration.
skipping to change at line 1121 skipping to change at line 1124
// The call succeeded. pGuidServices is valid. // The call succeeded. pGuidServices is valid.
// //
// ERROR_MORE_DATA // ERROR_MORE_DATA
// The call succeeded. pGuidService contains an incomplete list of // The call succeeded. pGuidService contains an incomplete list of
// enabled service GUIDs. // enabled service GUIDs.
// //
// other WIN32 errors // other WIN32 errors
// The call failed. // The call failed.
// //
_Must_inspect_result_ _Must_inspect_result_
_Success_(return == 0) _Success_(return == ERROR_SUCCESS)
DWORD DWORD
WINAPI WINAPI
BluetoothEnumerateInstalledServices( BluetoothEnumerateInstalledServices(
_In_opt_ HANDLE hRadio, _In_opt_ HANDLE hRadio,
_In_ const BLUETOOTH_DEVICE_INFO * pbtdi, _In_ const BLUETOOTH_DEVICE_INFO * pbtdi,
_Inout_ DWORD * pcServiceInout, _Inout_ DWORD * pcServiceInout,
_Out_writes_to_opt_(*pcServiceInout, *pcServiceInout) GUID * pGuidServices _Out_writes_to_opt_(*pcServiceInout, *pcServiceInout) GUID * pGuidServices
); );
// //
skipping to change at line 1287 skipping to change at line 1290
// A pointer to where the registration HANDLE value will be // A pointer to where the registration HANDLE value will be
// stored. Call BluetoothUnregisterAuthentication() to close // stored. Call BluetoothUnregisterAuthentication() to close
// the handle. // the handle.
// //
// pfnCallback // pfnCallback
// The function that will be called when the authentication event // The function that will be called when the authentication event
// occurs. This function should match PFN_AUTHENTICATION_CALLBACK's // occurs. This function should match PFN_AUTHENTICATION_CALLBACK's
// prototype. // prototype.
// //
// pvParam // pvParam
// Optional parameter to be past through to the callback function. // Optional parameter to be passed through to the callback function.
// This can be anything the application was to define. // This can be anything the application was to define.
// //
// Return Values: // Return Values:
// ERROR_SUCCESS // ERROR_SUCCESS
// Success. A valid registration handle was returned. // Success. A valid registration handle was returned.
// //
// ERROR_OUTOFMEMORY // ERROR_OUTOFMEMORY
// Out of memory. // Out of memory.
// //
// other Win32 error. // other Win32 error.
skipping to change at line 1345 skipping to change at line 1348
// A pointer to where the registration HANDLE value will be // A pointer to where the registration HANDLE value will be
// stored. Call BluetoothUnregisterAuthentication() to close // stored. Call BluetoothUnregisterAuthentication() to close
// the handle. // the handle.
// //
// pfnCallback // pfnCallback
// The function that will be called when the authentication event // The function that will be called when the authentication event
// occurs. This function should match PFN_AUTHENTICATION_CALLBACK_EX's // occurs. This function should match PFN_AUTHENTICATION_CALLBACK_EX's
// prototype. // prototype.
// //
// pvParam // pvParam
// Optional parameter to be past through to the callback function. // Optional parameter to be passed through to the callback function.
// This can be anything the application was to define. // This can be anything the application was to define.
// //
// Return Values: // Return Values:
// ERROR_SUCCESS // ERROR_SUCCESS
// Success. A valid registration handle was returned. // Success. A valid registration handle was returned.
// //
// ERROR_OUTOFMEMORY // ERROR_OUTOFMEMORY
// Out of memory. // Out of memory.
// //
// other Win32 error. // other Win32 error.
skipping to change at line 1622 skipping to change at line 1625
// beginning of pSdpStream // beginning of pSdpStream
// //
// Return Values: // Return Values:
// ERROR_INVALID_PARAMETER // ERROR_INVALID_PARAMETER
// one of required parameters is NULL or the pSdpStream is invalid // one of required parameters is NULL or the pSdpStream is invalid
// //
// ERROR_SUCCESS // ERROR_SUCCESS
// the sdp element was parsed correctly // the sdp element was parsed correctly
// //
_Must_inspect_result_ _Must_inspect_result_
_Success_(return == ERROR_SUCCESS)
DWORD DWORD
WINAPI WINAPI
BluetoothSdpGetElementData( BluetoothSdpGetElementData(
_In_reads_bytes_(cbSdpStreamLength) LPBYTE pSdpStream, _In_reads_bytes_(cbSdpStreamLength) LPBYTE pSdpStream,
_In_ ULONG cbSdpStreamLength, _In_ ULONG cbSdpStreamLength,
_Out_ PSDP_ELEMENT_DATA pData _Out_ PSDP_ELEMENT_DATA pData
); );
typedef HANDLE HBLUETOOTH_CONTAINER_ELEMENT; typedef HANDLE HBLUETOOTH_CONTAINER_ELEMENT;
skipping to change at line 1692 skipping to change at line 1696
// } // }
// else if (result != ERROR_SUCCESS) { // else if (result != ERROR_SUCCESS) {
// // error // // error
// } // }
// //
// // do something with data ... // // do something with data ...
// } // }
// //
// //
_Must_inspect_result_ _Must_inspect_result_
_Success_(return == ERROR_SUCCESS)
DWORD DWORD
WINAPI WINAPI
BluetoothSdpGetContainerElementData( BluetoothSdpGetContainerElementData(
_In_reads_bytes_(cbContainerLength) LPBYTE pContainerStream, _In_reads_bytes_(cbContainerLength) LPBYTE pContainerStream,
_In_ ULONG cbContainerLength, _In_ ULONG cbContainerLength,
_Inout_ HBLUETOOTH_CONTAINER_ELEMENT* pElement, _Inout_ HBLUETOOTH_CONTAINER_ELEMENT* pElement,
_Out_ PSDP_ELEMENT_DATA pData _Out_ PSDP_ELEMENT_DATA pData
); );
// //
skipping to change at line 1745 skipping to change at line 1750
// ULONG result; // ULONG result;
// SDP_DATA_ELEMENT data; // SDP_DATA_ELEMENT data;
// //
// result = BluetoothSdpGetAttributeValue( // result = BluetoothSdpGetAttributeValue(
// pRecordStream, cbRecordLength, SDP_ATTRIB_RECORD_HANDLE, &data); // pRecordStream, cbRecordLength, SDP_ATTRIB_RECORD_HANDLE, &data);
// if (result == ERROR_SUCCESS) { // if (result == ERROR_SUCCESS) {
// printf("record handle is 0x%x\n", data.data.uint32); // printf("record handle is 0x%x\n", data.data.uint32);
// } // }
// //
_Must_inspect_result_ _Must_inspect_result_
_Success_(return == ERROR_SUCCESS)
DWORD DWORD
WINAPI WINAPI
BluetoothSdpGetAttributeValue( BluetoothSdpGetAttributeValue(
_In_reads_bytes_(cbRecordLength) LPBYTE pRecordStream, _In_reads_bytes_(cbRecordLength) LPBYTE pRecordStream,
_In_ ULONG cbRecordLength, _In_ ULONG cbRecordLength,
_In_ USHORT usAttributeId, _In_ USHORT usAttributeId,
_Out_ PSDP_ELEMENT_DATA pAttributeData _Out_ PSDP_ELEMENT_DATA pAttributeData
); );
// //
 End of changes. 10 change blocks. 
4 lines changed or deleted 10 lines changed or added

This html diff was produced by rfcdiff 1.41.