Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
617 B

  1. sd edit const.bas
  2. @set _li=wincrypt.h certsrv.h certadm.h certbcli.h certcli.h certenc.h certexit.h certif.h certpol.h certmod.h certview.h
  3. @if exist certca.tmp del certca.tmp
  4. @if exist incfiles.txt del incfiles.txt
  5. @sed -f ifndef.sed %_ntdrive%%_ntroot%\public\sdk\inc\certca.h > certca.tmp
  6. @for %%i in (%_li%) do @echo %_ntdrive%%_ntroot%\public\sdk\inc\%%i>> incfiles.txt
  7. @echo certca.tmp>> incfiles.txt
  8. @set _li=
  9. @echo Attribute VB_Name = "Const">const.bas
  10. @echo Option Explicit>>const.bas
  11. qgrep -X -i incfiles.txt -e "//" -e "#define" -e "const[ ][ ]*WCHAR.*\[" | sed -f vb.sed >> const.bas