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.

98 lines
1.5 KiB

  1. /*++
  2. Copyright (C) Microsoft Corporation, 1996 - 1997
  3. All rights reserved.
  4. Module Name:
  5. drvrver.hxx
  6. Abstract:
  7. Driver version detection header.
  8. Author:
  9. Steve Kiraly (SteveKi) 21-Jan-1996
  10. Revision History:
  11. --*/
  12. #ifndef _DRVVER_HXX
  13. #define _DRVVER_HXX
  14. BOOL
  15. bGetCurrentDriver(
  16. IN LPCTSTR pszServerName,
  17. OUT LPDWORD pdwCurrentDriver
  18. );
  19. PLATFORM
  20. GetDriverPlatform(
  21. IN DWORD dwDriver
  22. );
  23. DWORD
  24. GetDriverVersion(
  25. IN DWORD dwDriver
  26. );
  27. BOOL
  28. bIsNativeDriver(
  29. IN LPCTSTR pszServerName,
  30. IN DWORD dwDriver
  31. );
  32. BOOL
  33. bIs3xDriver(
  34. IN DWORD dwDriver
  35. );
  36. BOOL
  37. bGetArchUseSpooler(
  38. IN LPCTSTR pName,
  39. OUT LPTSTR pszArch,
  40. IN DWORD dwSize,
  41. IN OUT LPDWORD pdwVer
  42. );
  43. BOOL
  44. bGetArchUseReg(
  45. IN LPCTSTR pName,
  46. OUT LPTSTR pszArch,
  47. IN DWORD dwSize,
  48. OUT LPDWORD pdwVer
  49. );
  50. BOOL
  51. bEncodeArchVersion(
  52. IN LPCTSTR pszArch,
  53. IN DWORD dwVer,
  54. OUT LPDWORD pdwVal
  55. );
  56. BOOL
  57. bGetDriverEnv(
  58. IN DWORD dwDriverVersion,
  59. OUT TString &strDriverEnv
  60. );
  61. BOOL
  62. bGetArchName(
  63. IN DWORD dwDriver,
  64. OUT TString &strDrvArchName
  65. );
  66. BOOL
  67. bIsCompatibleDriverVersion(
  68. IN DWORD dwDriver,
  69. IN DWORD dwVersion
  70. );
  71. BOOL
  72. SpoolerGetVersionEx(
  73. IN LPCTSTR pszServerName,
  74. IN OUT OSVERSIONINFO *pOsVersionInfo
  75. );
  76. #endif