using usb uirt API in C

Hello, i use the usb uirt in "accept burst" mode.
I also use the uuirtdrv.dll lib linked with some "C" lines.
Call to the learn UUIRTLearnIR function!;
In the UUIRTLearnIR callback, i set the stop paramater to true.
At the end if UUIRTLearnIR, the ircode buffer is empty.
I would like to have same behavour as the lrnhelper application :
to get pronto code a the end of UUIRTLearnIR when i have to stop the learning.
Can you help me ?
Best regards.
I also use the uuirtdrv.dll lib linked with some "C" lines.
Call to the learn UUIRTLearnIR function!;
In the UUIRTLearnIR callback, i set the stop paramater to true.
At the end if UUIRTLearnIR, the ircode buffer is empty.
I would like to have same behavour as the lrnhelper application :
to get pronto code a the end of UUIRTLearnIR when i have to stop the learning.
Can you help me ?
Best regards.