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
1.3 KiB

  1. /*++
  2. Copyright (c) 1985-1998, 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. typedef struct {
  23. DWORD dwLength;
  24. WORD wVersionMajor;
  25. WORD wVersionMinor;
  26. char szPid2[24];
  27. DWORD dwKeyIdx;
  28. char szSku[16];
  29. BYTE abCdKey[16];
  30. DWORD dwCloneStatus;
  31. DWORD dwTime;
  32. DWORD dwRandom;
  33. DWLICENSETYPE dwlt;
  34. DWORD adwLicenseData[2];
  35. char szOemId[8];
  36. DWORD dwBundleId;
  37. char aszHardwareIdStatic[8];
  38. DWORD dwHardwareIdTypeStatic;
  39. DWORD dwBiosChecksumStatic;
  40. DWORD dwVolSerStatic;
  41. DWORD dwTotalRamStatic;
  42. DWORD dwVideoBiosChecksumStatic;
  43. char aszHardwareIdDynamic[8];
  44. DWORD dwHardwareIdTypeDynamic;
  45. DWORD dwBiosChecksumDynamic;
  46. DWORD dwVolSerDynamic;
  47. DWORD dwTotalRamDynamic;
  48. DWORD dwVideoBiosChecksumDynamic;
  49. DWORD dwCrc32;
  50. } DIGITALPID, *PDIGITALPID, FAR *LPDIGITALPID;
  51. #ifdef __cplusplus
  52. } /* End of extern "C" { */
  53. #endif /* __cplusplus */