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.

67 lines
1.3 KiB

  1. //////////////////////////////////////////////////////////////////////////////
  2. /*++
  3. Copyright (c) 1997 Microsoft Corporation
  4. Module Name:
  5. Vendors.cpp
  6. Abstract:
  7. Implementation file for NAS Vendor ID info.
  8. This will be moved into the SDO's at some point so that the server core
  9. can access this information as well.
  10. Author:
  11. Michael A. Maguire 02/19/98
  12. Revision History:
  13. mmaguire 02/19/98 - created
  14. --*/
  15. //////////////////////////////////////////////////////////////////////////////
  16. #if !defined( _IAS_VENDORS_H_ )
  17. #define _IAS_VENDORS_H_
  18. //////////////////////////////////////////////////////////////////////////////
  19. // BEGIN INCLUDES
  20. //
  21. // where we can find what this class derives from:
  22. //
  23. //
  24. //
  25. // where we can find what this class has or uses:
  26. //
  27. //
  28. // END INCLUDES
  29. //////////////////////////////////////////////////////////////////////////////
  30. // The structure which has the vendors.
  31. typedef
  32. struct tag_Vendor
  33. {
  34. DWORD dwID;
  35. TCHAR * szName;
  36. } Vendor;
  37. // The array of Vendor structures.
  38. extern Vendor g_aVendors[];
  39. extern int g_iVendorNum;
  40. // invalid vendorid
  41. #define INVALID_VENDORID -1
  42. // Searches for a given vendor ID and returns its position in the array of vendors.
  43. int VendorIDToOrdinal( DWORD dwID );
  44. #endif // _IAS_VENDORS_H_