UART DTR Signal Event capture

I’m trying to open UART1 in DCE role, but the returned handle value is -1

Does anyone have any ideas???