Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: From: =?iso-8859-1?Q?Carlos_Ros=E1rio_Costa?= To: "'cygwin AT cygwin DOT com'" Subject: 1.3.5: Service API functions not implemented Date: Thu, 22 Nov 2001 21:49:01 -0000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: multipart/mixed; boundary="----_=_NextPart_000_01C1739F.8460F3D0" ------_=_NextPart_000_01C1739F.8460F3D0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C1739F.8460F3D0" ------_=_NextPart_001_01C1739F.8460F3D0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I'm currently writing a Windows 2000 Service and just found out that = there are some API functions and structures, that are Windows 2000 specific, = that are not implemented in my latest version of gcc (see cygcheck.out = attached). I'm talking about the function to change the Service's description (in = NT4 there was not description for services):=20 =20 -ChangeServiceConfig2 function -SERVICE_DESCRIPTION structure -SERVICE_CONFIG_DESCRIPTION structure Carlos Costa carlos DOT costa AT novabase DOT pt =20 Novabase Data Quality S.A.=20 Av. Eng.=BA Duarte Pacheco Amoreiras, Torre 1 - 9=BA 1099-078 LISBOA Telefone: 21 383 63 00 Fax: 21 383 63 01=20 ------_=_NextPart_001_01C1739F.8460F3D0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I'm = currently=20 writing a Windows 2000 Service and just found out that there are some = API=20 functions and structures, that are Windows 2000 specific, that are not=20 implemented in my latest version of gcc (see cygcheck.out = attached). I'm=20 talking about the function to change the Service's description (in NT4 = there was=20 not description for services):
 
   =20 -ChangeServiceConfig2 function
   =20 -SERVICE_DESCRIPTION structure
    -SERVICE_CONFIG_DESCR= IPTION=20 structure

Carlos=20 Costa

carlos DOT costa AT novabase DOT pt

Novabase=20 Data Quality S.A.=20
Av. = Eng.=BA Duarte=20 Pacheco
Amoreiras, Torre 1 - 9=BA
1099-078 LISBOA
Telefone: 21 = 383 63=20 00
Fax: 21 383 63 01
=20

------_=_NextPart_001_01C1739F.8460F3D0-- ------_=_NextPart_000_01C1739F.8460F3D0 Content-Type: application/octet-stream; name="cygcheck.out" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="cygcheck.out" Cygnus Win95/NT Configuration Diagnostics Current System Time: Thu Nov 22 21:40:54 2001 Windows 2000 Professional Ver 5.0 build 2195 Service Pack 1 Path: C:\cygwin\usr\local\bin C:\cygwin\bin C:\cygwin\bin c:\WINNT\system32 c:\WINNT c:\WINNT\System32\Wbem c:\PROGRA~1\ULTRAE~1 c:\expat-1.95.2\Libs SysDir: C:\WINNT\System32 WinDir: C:\WINNT HOME =3D `C:\cygwin\home\Administrator' MAKE_MODE =3D `unix' PWD =3D `/home/crc/pfNTService' USER =3D `Administrator' !:: =3D `::\' ALLUSERSPROFILE =3D `C:\Documents and Settings\All Users' APPDATA =3D `C:\Documents and Settings\nb11253\Application Data' COMMONPROGRAMFILES =3D `C:\Program Files\Common Files' COMPUTERNAME =3D `ANAT' COMSPEC =3D `C:\WINNT\system32\cmd.exe' HOMEDRIVE =3D `C:' HOMEPATH =3D `\' HOSTNAME =3D `ANAT' HOSTTYPE =3D `i686' LOGONSERVER =3D `\\NBBDC' MACHTYPE =3D `i686-pc-cygwin' NUMBER_OF_PROCESSORS =3D `1' OLDPWD =3D `/home/Administrator' OS2LIBPATH =3D `C:\WINNT\system32\os2\dll;' OS =3D `Windows_NT' OSTYPE =3D `cygwin' PATHEXT =3D `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH' PROCESSOR_ARCHITECTURE =3D `x86' PROCESSOR_IDENTIFIER =3D `x86 Family 6 Model 8 Stepping 6, = GenuineIntel' PROCESSOR_LEVEL =3D `6' PROCESSOR_REVISION =3D `0806' PROGRAMFILES =3D `C:\Program Files' PROMPT =3D `$P$G' PS1 =3D `\[\033]0;\w\007 \033[32m\]\u@\h \[\033[33m\w\033[0m\] $ ' SHELL =3D `/bin/bash' SHLVL =3D `1' SYSTEMDRIVE =3D `C:' SYSTEMROOT =3D `C:\WINNT' TEMP =3D `c:\DOCUME~1\nb11253\LOCALS~1\Temp' TERM =3D `cygwin' TMP =3D `c:\DOCUME~1\nb11253\LOCALS~1\Temp' USERDOMAIN =3D `NOVABASE' USERNAME =3D `nb11253' USERPROFILE =3D `C:\Documents and Settings\nb11253' WINDIR =3D `C:\WINNT' _ =3D `/usr/bin/cygcheck' HKEY_CURRENT_USER\Software\Cygnus Solutions HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2 (default) =3D `/cygdrive' cygdrive flags =3D 0x00000022 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Men= uOrder\Start Menu\Programs\Cygnus Solutions (default) =3D (unsupported type) HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/ (default) =3D `C:/cygwin' flags =3D 0x0000000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin (default) =3D `C:/cygwin/bin' flags =3D 0x0000000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib (default) =3D `C:/cygwin/lib' flags =3D 0x0000000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options a: fd N/A N/A =20 c: hd NTFS 19539Mb 69% CP CS UN PA FC =20 d: cd CDFS 0Mb -2147483548% CS Audio CD e: net NTFS 1980Mb 96% CP CS PA . n: net NTFS 1980Mb 96% CP CS PA . q: net NTFS 1980Mb 96% CP CS PA . . /cygdrive user binmode,noumount C:/cygwin / system binmode C:/cygwin/bin /usr/bin system binmode C:/cygwin/lib /usr/lib system binmode Found: C:\cygwin\bin\bash.exe Found: C:\cygwin\bin\cat.exe Found: C:\cygwin\bin\cpp.exe Found: C:\cygwin\bin\find.exe Found: C:\cygwin\bin\gcc.exe Found: C:\cygwin\bin\gdb.exe Found: C:\cygwin\bin\ld.exe Found: C:\cygwin\bin\ls.exe Found: C:\cygwin\bin\make.exe Found: C:\cygwin\bin\sh.exe 45k 2001/04/25 C:\cygwin\bin\cygform5.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cygform5.dll" v0.0 ts=3D2001/4/25 6:28 34k 2001/09/30 C:\cygwin\bin\cygform6.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cygform6.dll" v0.0 ts=3D2001/9/30 3:43 18k 2000/10/23 C:\cygwin\bin\cyggdbm.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cyggdbm.dll" v0.0 ts=3D2000/10/23 3:26 17k 2001/06/28 C:\cygwin\bin\cyghistory4.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cyghistory4.dll" v0.0 ts=3D2001/1/7 4:34 21k 2001/06/28 C:\cygwin\bin\cyghistory5.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cyghistory5.dll" v0.0 ts=3D2001/6/28 3:27 81k 2001/10/20 C:\cygwin\bin\cygitcl30.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cygitcl30.dll" v0.0 ts=3D2001/10/20 1:25 35k 2001/10/20 C:\cygwin\bin\cygitk30.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cygitk30.dll" v0.0 ts=3D2001/10/20 1:25 119k 2000/10/23 C:\cygwin\bin\cygjpeg6b.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cygjpeg6b.dll" v0.0 ts=3D2000/10/23 1:58 26k 2001/04/25 C:\cygwin\bin\cygmenu5.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cygmenu5.dll" v0.0 ts=3D2001/4/25 6:27 19k 2001/09/30 C:\cygwin\bin\cygmenu6.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cygmenu6.dll" v0.0 ts=3D2001/9/30 3:43 156k 2001/04/25 C:\cygwin\bin\cygncurses++5.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cygncurses++5.dll" v0.0 ts=3D2001/4/25 6:29 175k 2001/09/30 C:\cygwin\bin\cygncurses++6.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cygncurses++6.dll" v0.0 ts=3D2001/9/30 3:45 226k 2001/04/25 C:\cygwin\bin\cygncurses5.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cygncurses5.dll" v0.0 ts=3D2001/4/25 6:17 201k 2001/09/30 C:\cygwin\bin\cygncurses6.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cygncurses6.dll" v0.0 ts=3D2001/9/30 3:42 15k 2001/04/25 C:\cygwin\bin\cygpanel5.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cygpanel5.dll" v0.0 ts=3D2001/4/25 6:27 12k 2001/09/30 C:\cygwin\bin\cygpanel6.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cygpanel6.dll" v0.0 ts=3D2001/9/30 3:43 108k 2001/06/28 C:\cygwin\bin\cygreadline4.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cygreadline4.dll" v0.0 ts=3D2001/1/7 4:34 135k 2001/06/28 C:\cygwin\bin\cygreadline5.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cygreadline5.dll" v0.0 ts=3D2001/6/28 3:27 390k 2001/10/20 C:\cygwin\bin\cygtcl80.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cygtcl80.dll" v0.0 ts=3D2001/10/20 1:24 5k 2001/10/20 C:\cygwin\bin\cygtclpip80.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 10k 2001/10/20 C:\cygwin\bin\cygtclreg80.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cygtclreg80.dll" v0.0 ts=3D2001/10/20 1:24 623k 2001/10/20 C:\cygwin\bin\cygtk80.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cygtk80.dll" v0.0 ts=3D2001/10/20 1:25 49k 2001/02/03 C:\cygwin\bin\cygz.dll - os=3D4.0 img=3D1.0 sys=3D4.0 "cygz.dll" v0.0 ts=3D2001/2/3 20:35 714k 2001/11/14 C:\cygwin\bin\cygwin1.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cygwin1.dll" v0.0 ts=3D2001/11/14 4:16 Cygwin DLL version info: DLL version: 1.3.5 DLL epoch: 19 DLL bad signal mask: 19005 DLL old termios: 5 DLL malloc env: 28 API major: 0 API minor: 47 Shared data: 3 DLL identifier: cygwin1 Mount registry: 2 Cygnus registry name: Cygnus Solutions Cygwin registry name: Cygwin Program options name: Program Options Cygwin mount registry name: mounts v2 Cygdrive flags: cygdrive flags Cygdrive prefix: cygdrive prefix Cygdrive default prefix:=20 Build date: Tue Nov 13 23:16:25 EST 2001 CVS tag: cygwin-1-3-5-2 Shared id: cygwin1S3 Cygwin Package Information Last downloaded files to: \\Freya\cygwin Last downloaded files from: ftp://ftp.sunsite.utk.edu/pub/cygwin Package Version =20 ash 20011018-1 =20 bash 2.05-8 =20 binutils 20011002-1 =20 cygwin 1.3.5-3 =20 diff 0.0 =20 fileutils 4.1-1 =20 findutils 0.0 =20 gcc 2.95.3-5 =20 gdb 20010428-3 =20 gdbm 1.8.0-3 =20 gperf 0.0 =20 grep 2.4.2-1 =20 gzip 1.3-1 =20 jpeg 6b-3 =20 libncurses5 5.2-1 =20 libncurses6 5.2-2 =20 login 1.4-2 =20 make 3.79.1-4 =20 ncurses 5.2-7 =20 readline 4.2-3 =20 sed 3.02-1 =20 sh-utils 2.0-2 =20 tar 1.13.19-1 =20 termcap 20010825-1 =20 terminfo 5.2-1 =20 textutils 2.0.16-1 =20 w32api 1.1-1 =20 which 1.4 =20 zlib 1.1.3-6 =20 Use -h to see help about each section ------_=_NextPart_000_01C1739F.8460F3D0 Content-Type: text/plain; charset=us-ascii -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ ------_=_NextPart_000_01C1739F.8460F3D0--