Get list of node dependencies in Drupal 6, is there a way to list by programmation (function or SQL code) the dependancies of a node ?

For exemple, I have videos that are nodes. Thoses videos are refered in other nodes. Before deleting the video I need to update the nodes which refer it. 
I have the module "Node Dependencies" that lists the dependencies of a node in the UI, but I need to get this list with code.

Is it possible ?

Thanks.
Drupal does not know "dependencies" on it's own, so I assume it's something provided by the module you named. Yes, it is possible. After all that module is doing exactly this. Just read it's code and see, PHP is an interpreted language after all. It seems there is no module with that exact name on Drupal.org, so I can't provide more detailed instruction now. To find it yourself, you need:


Find implementation of hook_menu() in this module
Locate entry for GUI page that shows what you want
Find implementation of a function that obtains data for that GUI page