25 Feb
2016
25 Feb
'16
5:25 a.m.
Austin English <austinenglish(a)gmail.com> wrote:
+/********************************************************************* + * BluetoothFindFirstRadio + */ +HBLUETOOTH_RADIO_FIND WINAPI BluetoothFindFirstRadio(BLUETOOTH_FIND_RADIO_PARAMS *params, HANDLE *radio) +{ + FIXME("(%p %p): stub!\n", params, radio); + *radio = NULL; + SetLastError(ERROR_NO_MORE_ITEMS); + return NULL; +} + +HBLUETOOTH_RADIO_FIND WINAPI BluetoothFindRadioClose(HBLUETOOTH_RADIO_FIND find) +{ + FIXME("(%p): stub!\n", find); + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +}
Is there a reason that first API has a comment while second does not? Also, both APIs have the same return type but you return NULL vs. FALSE. -- Dmitry.