mirror of https://github.com/tongzx/nt5src
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
32 lines
849 B
//-----------------------------------------------------------------------------
|
|
//
|
|
// PUIDUtils.h
|
|
//
|
|
// Functions for dealing with the PUID data type.
|
|
//
|
|
// Author: Jeff Steinbok
|
|
//
|
|
// 02/01/01 jeffstei Initial Version
|
|
//
|
|
// Copyright <cp> 2000-2001 Microsoft Corporation. All Rights Reserved.
|
|
//
|
|
//-----------------------------------------------------------------------------
|
|
|
|
|
|
#ifndef _PUIDUTILS_H
|
|
#define _PUIDUTILS_H
|
|
|
|
//
|
|
// Converts a PUID into a string.
|
|
//
|
|
// The format is as follows:
|
|
// PUID: HIGH LOW
|
|
// | |
|
|
// \/ \/
|
|
// 0x[hhhhhhhh] 0x[llllllll]
|
|
// \ /
|
|
// STR: "hhhhhhhhllllllll"
|
|
//
|
|
HRESULT PUID2String(LARGE_INTEGER* in_pPUID, CStringW& out_cszwPUIDStr);
|
|
|
|
#endif //_PUIDUTILS_H
|