How to get which DP port my monitor is connected to on the graphics card

I need to use NVAPI to obtain the DP position where my monitor is connected to the graphics card, but currently there is no interface to obtain which DP position my monitor is connected to.

Dear @732454736

Thank you for contacting NVIDIA developer forum. Our technical team has received your query, we will get back to you on the same.

Thanks,
NVAPI Forum Moderator