This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project. See the Cygwin home page for more information.
Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: SERVICE_MAIN_FUNCTION wrong parameter?


--- 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