API MIMEStreamGetLine

Hello,

Excuse me in advance for my bad english.

I try to use the API MIMEStreamGetLine but it crashes.

His statement in c is :

int LNPUBLIC MIMEStreamGetLine(char *pszLine,unsigned int uiMaxLineSize,MIMEHANDLE hMIMEStream);

Can you confirm that his statement in lotuscript is :

Declare Function MIMEStreamGetLine Lib “nnotes.dll” (sLigne As String, ByVal lLigneLg As Long, ByVal lHdleMime As Long) As long

Are there any example of this api call in lotuscript?

Thank you in advance