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.

48 lines
862 B

  1. /*++
  2. Copyright (c) 2001 Microsoft Corporation
  3. Module Name :
  4. updateini.h
  5. Abstract:
  6. High level function to update the ini with new values
  7. Author:
  8. Christopher Achille (cachille)
  9. Project:
  10. URLScan Update
  11. Revision History:
  12. March 2002: Created
  13. --*/
  14. #define SETTINGS_MAXLINES 10
  15. #define SECTIONS_MAXLINES 40
  16. struct sURLScan_Settings {
  17. LPWSTR szSection;
  18. LPWSTR szSettingName;
  19. LPWSTR szLines[SETTINGS_MAXLINES];
  20. };
  21. struct sURLScan_Items {
  22. LPWSTR szSection;
  23. LPWSTR szSettingName;
  24. LPWSTR szLines[SETTINGS_MAXLINES];
  25. };
  26. struct sURLScan_Sections {
  27. LPWSTR szSection;
  28. LPWSTR szLines[SECTIONS_MAXLINES];
  29. };
  30. BOOL UpdateIni( LPTSTR szUrlScanPath );
  31. BOOL GetIniPath( LPTSTR szDllPath, LPTSTR szIniPath, DWORD dwIniLen );