SERVICE_MAIN_FUNCTION wrong parameter?

Earnie Boyd earnie_boyd@yahoo.com
Fri Apr 30 18:32:00 GMT 1999


--- Sam Jost <sam@b-soft.de> wrote:
> Hullo,
> 
> In cygwinB20 the prototype for the SERVICE_MAIN_FUNCTION is
> 
> VOID CALLBACK (*LPSERVICE_MAIN_FUNCTION)(DWORD,LPTSTR);
> 
> But the win32-doc's say something that would be more like:
> 
> VOID CALLBACK (*LPSERVICE_MAIN_FUNCTION)(DWORD,LPTSTR*);
> 
> Maybe some error in cygwin's headers?

Yes that would be a bug in the headers.  However, the windows specific headers
have been completely rewritten by Anders Norlander.  Search the archives for
posts of where you can download these from.  The recent snapshots contain
Anders version of the windows headers.
===
-                        \\||//
-------------------o0O0--Earnie--0O0o-------------------
--                earnie_boyd@yahoo.com               --
----------------------ooo0O--O0ooo----------------------

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com




More information about the Cygwin mailing list