ham_attach_self

Hello,
I develop in QNX6 x86.
I would like that my process (a server) is announced to HAM so that it is automatically restarted if it is crashed.
Does somebody have a example to use the function ham_attach_self() ?
I do not understand the parameters (hp, hpdl and hpdh).
Thanks for your help

If you read this qnx.com/developers/docs/6.3. … _self.html
, what part is it you do not understand?