Source code of Windows XP (NT5)
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.

32 lines
849 B

  1. //-----------------------------------------------------------------------------
  2. //
  3. // PUIDUtils.h
  4. //
  5. // Functions for dealing with the PUID data type.
  6. //
  7. // Author: Jeff Steinbok
  8. //
  9. // 02/01/01 jeffstei Initial Version
  10. //
  11. // Copyright <cp> 2000-2001 Microsoft Corporation. All Rights Reserved.
  12. //
  13. //-----------------------------------------------------------------------------
  14. #ifndef _PUIDUTILS_H
  15. #define _PUIDUTILS_H
  16. //
  17. // Converts a PUID into a string.
  18. //
  19. // The format is as follows:
  20. // PUID: HIGH LOW
  21. // | |
  22. // \/ \/
  23. // 0x[hhhhhhhh] 0x[llllllll]
  24. // \ /
  25. // STR: "hhhhhhhhllllllll"
  26. //
  27. HRESULT PUID2String(LARGE_INTEGER* in_pPUID, CStringW& out_cszwPUIDStr);
  28. #endif //_PUIDUTILS_H