Don't bother with declare, just 'use kernel32'.
[wine] / dlls / richedit / rtf2text.h
1 void    WriterInit ();
2 int     BeginFile ();