The definition of os_get_invalid_handle in platform_internal.h did not match the declaration in platform_api_extension.h.