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.

75 lines
1.5 KiB

  1. /*++
  2. Copyright (c) 1998-1999, Microsoft Corporation
  3. Module Name:
  4. digpid.h
  5. Abstract:
  6. --*/
  7. // DigPid.h
  8. #ifdef __cplusplus
  9. extern "C" {
  10. #endif
  11. #define INVALID_PID 0xFFFFFFFF
  12. typedef enum {
  13. ltFPP,
  14. ltCCP,
  15. ltOEM,
  16. ltSelect,
  17. ltMLP,
  18. ltMOLP,
  19. ltMSDN
  20. } LICENSETYPE;
  21. typedef DWORD DWLICENSETYPE;
  22. // Note: be careful not to alter this definition (or at least it's definition).
  23. // When more fields are needed, create a DIGITALPID2 or similar. Too much external
  24. // code depends on this header to change it.
  25. typedef struct {
  26. DWORD dwLength;
  27. WORD wVersionMajor;
  28. WORD wVersionMinor;
  29. char szPid2[24];
  30. DWORD dwKeyIdx;
  31. char szSku[16];
  32. BYTE abCdKey[16];
  33. DWORD dwCloneStatus;
  34. DWORD dwTime;
  35. DWORD dwRandom;
  36. DWLICENSETYPE dwlt;
  37. DWORD adwLicenseData[2];
  38. char szOemId[8];
  39. DWORD dwBundleId;
  40. char aszHardwareIdStatic[8];
  41. DWORD dwHardwareIdTypeStatic;
  42. DWORD dwBiosChecksumStatic;
  43. DWORD dwVolSerStatic;
  44. DWORD dwTotalRamStatic;
  45. DWORD dwVideoBiosChecksumStatic;
  46. char aszHardwareIdDynamic[8];
  47. DWORD dwHardwareIdTypeDynamic;
  48. DWORD dwBiosChecksumDynamic;
  49. DWORD dwVolSerDynamic;
  50. DWORD dwTotalRamDynamic;
  51. DWORD dwVideoBiosChecksumDynamic;
  52. DWORD dwCrc32;
  53. } DIGITALPID, *PDIGITALPID, FAR *LPDIGITALPID;
  54. #ifdef __cplusplus
  55. } /* End of extern "C" { */
  56. #endif /* __cplusplus */