Clarify NULL vs. INVALID_HANDLE_VALUE in _dbus_win_event_free()

Fixes dbus/dbus#352
This commit is contained in:
Ralf Habacker 2021-10-29 13:02:13 +02:00
parent d4203c3ee5
commit f9e568ba14

View file

@ -4158,7 +4158,7 @@ _dbus_win_event_wait (HANDLE handle, int timeout, DBusError *error)
*
* @param handle handle for the event to delete
* @param error the error to set (optional)
* @return TRUE the event has been deleted successfully or the handle specifies a #NULL or invalid handle
* @return TRUE the event has been deleted successfully or the handle is one of the special sentinel values #NULL or #INVALID_HANDLE_VALUE
* @return FALSE an error has occurred, the reason is returned in \p error if specified
*/
dbus_bool_t