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.

71 lines
2.9 KiB

  1. // ----------------------------------------------------------------------
  2. //
  3. // Microsoft Windows NT
  4. // Copyright (C) Microsoft Corporation, 1997.
  5. //
  6. // File: I N F M A P . H
  7. //
  8. // Contents: Functions that work on netmap.inf file.
  9. //
  10. // Notes:
  11. //
  12. // Author: kumarp 22-December-97
  13. //
  14. // ----------------------------------------------------------------------
  15. #pragma once
  16. #include "ncstring.h"
  17. extern const WCHAR c_szIsaAdapters[];
  18. extern const WCHAR c_szEisaAdapters[];
  19. extern const WCHAR c_szPciAdapters[];
  20. extern const WCHAR c_szMcaAdapters[];
  21. extern const WCHAR c_szPcmciaAdapters[];
  22. extern const WCHAR c_szAsyncAdapters[];
  23. extern const WCHAR c_szOemAsyncAdapters[];
  24. class CNetMapInfo;
  25. enum ENetComponentType
  26. {
  27. NCT_Unknown=0,
  28. NCT_Adapter,
  29. NCT_Protocol,
  30. NCT_Service,
  31. NCT_Client
  32. };
  33. HRESULT HrMapPreNT5NetCardInfIdInInf(IN HINF hinf,
  34. IN HKEY hkeyAdapterParams,
  35. IN PCWSTR pszPreNT5InfId,
  36. OUT tstring* pstrNT5InfId,
  37. OUT tstring* pstrAdapterType,
  38. OUT BOOL* pfOemComponent);
  39. HRESULT HrMapPreNT5NetComponentInfIDInInf(IN HINF hinf,
  40. IN PCWSTR pszOldInfID,
  41. OUT tstring* pstrNT5InfId,
  42. OUT ENetComponentType* pnct,
  43. OUT BOOL* pfOemComponent);
  44. HRESULT HrMapPreNT5NetCardInfIdToNT5InfId(IN HKEY hkeyAdapterParams,
  45. IN PCWSTR pszPreNT5InfId,
  46. OUT tstring* pstrNT5InfId,
  47. OUT tstring* pstrAdapterType,
  48. OUT BOOL* pfOemComponent,
  49. OUT CNetMapInfo** ppnmi);
  50. HRESULT HrMapPreNT5NetComponentInfIDToNT5InfID(IN PCWSTR pszPreNT5InfId,
  51. OUT tstring* pstrNT5InfId,
  52. OUT BOOL* pfOemComponent,
  53. OUT ENetComponentType* pnct,
  54. OUT CNetMapInfo** ppnmi);
  55. HRESULT HrMapPreNT5NetComponentServiceNameToNT5InfId(IN PCWSTR pszServiceName,
  56. OUT tstring* pstrNT5InfId);
  57. HRESULT HrGetOemUpgradeDllInfo(IN PCWSTR pszNT5InfId,
  58. OUT tstring* pstrUpgradeDllName,
  59. OUT tstring* pstrInf);
  60. HRESULT HrGetOemUpgradeInfoInInf(IN HINF hinf,
  61. IN PCWSTR pszNT5InfId,
  62. OUT tstring* pstrUpgradeDllName,
  63. OUT tstring* pstrInf);