How to disable CD eject?

I want to disable CD eject always,

If I use

dwFlags |= NBF_DISABLE_EJECT;
int iRes = NeroBurn(ndhDeviceHandle, NERO_ISO_AUDIO_CD, &writeCD, dwFlags, 0, &npProgress);

It ONLY disable nero eject when CD burn finished

It does NOT disable eject if Nero prompt to put in a new CD or change a CD.

How can I disable CD eject ALWAYS? Thank you.

How can I disable CD eject ALWAYS? Thank you.

This is not possible.

What I would suggest, that you ask the user for a CD before you actually call NeroBurn. Then you have full control. You can check with NeroGetCDInfo, if the CD needs to be erased and if wanted erase it, etc.