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.

70 lines
904 B

  1. /*++
  2. Copyright (c) 1997 Microsoft Corporation
  3. Module Name:
  4. util.h
  5. Abstract:
  6. Author:
  7. Vlad Sadovsky (vlads) 10-Jan-1997
  8. Environment:
  9. User Mode - Win32
  10. Revision History:
  11. 26-Jan-1997 VladS created
  12. --*/
  13. #include <stistr.h>
  14. BOOL
  15. ParseCommandLine(
  16. LPTSTR lpszCmdLine,
  17. UINT *pargc,
  18. LPTSTR *argv
  19. );
  20. BOOL WINAPI
  21. IsPlatformNT(
  22. VOID
  23. );
  24. BOOL
  25. IsSetupInProgressMode(
  26. BOOL *pUpgradeFlag = NULL
  27. );
  28. LONG
  29. OpenServiceParametersKey (
  30. LPCTSTR pszServiceName,
  31. HKEY* phkey
  32. );
  33. LONG
  34. RegQueryString (
  35. IN HKEY hkey,
  36. IN LPCTSTR pszValueName,
  37. IN DWORD dwTypeMustBe,
  38. OUT PTSTR* ppszData
  39. ) ;
  40. LONG
  41. RegQueryStringA (
  42. IN HKEY hkey,
  43. IN LPCTSTR pszValueName,
  44. IN DWORD dwTypeMustBe,
  45. OUT PSTR* ppszData
  46. );