Resource Manager major and minor numbers

Hello,

In qnx4 I used to use qnx_device_attach() to find out the major and
minor numbers. Now in 6.2 I try to use rsrcdbmgr_devno_attach but always
get INVALID ARGUMENT. Can some one tell me why I would be getting this.

Thanks,
Paul