Lines Matching refs:guid
91 static std::_tstring GetGuidPart(const std::_tstring& guid, int index) in GetGuidPart() argument
93 assert((guid.length() == 36) && "No GUID or wrong format!"); in GetGuidPart()
96 if (index == 0) return std::_tstring(guid.c_str(), 8); in GetGuidPart()
97 if (index == 1) return std::_tstring(guid.c_str() + 9, 4); in GetGuidPart()
98 if (index == 2) return std::_tstring(guid.c_str() + 14, 4); in GetGuidPart()
99 if (index == 3) return std::_tstring(guid.c_str() + 19, 4); in GetGuidPart()
100 if (index == 4) return std::_tstring(guid.c_str() + 24, 12); in GetGuidPart()
132 static std::_tstring ConvertGuid(const std::_tstring& guid) in ConvertGuid() argument
136 std::_tstring part = GetGuidPart(guid, 0); in ConvertGuid()
139 part = GetGuidPart(guid, 1); in ConvertGuid()
142 part = GetGuidPart(guid, 2); in ConvertGuid()
145 part = GetGuidPart(guid, 3); in ConvertGuid()
149 part = GetGuidPart(guid, 4); in ConvertGuid()