NeroGetDiscErasingTime retun -4 , what means?

vbimport

#1

Hello Guys:
I use NeroGetDiscErasingTime to get the time for erase disc.
the code looks like below:
NERO_SPEED_INFOS *lpSpeedInf = NeroGetAvailableSpeeds( NeroDeviceHandle, ACCESSTYPE_WRITE,MEDIA_DVD_ANY,NULL );
NeroGetDiscErasingTime(lpNeroDeviceHandle,NEROAPI_ERASE_QUICK, lpSpeedInf->nsiSupportedSpeedsKBs[iIndex] );
NeroGetDiscErasingTime always return -4.
What’s the wrong?

Thank u all!!