bsnes-libretro/nall/windows/guid.hpp
byuu 903d1e4012 v107.8
* GB: integrated SameBoy v0.12.1 by Lior Halphon
* SFC: added HG51B169 (Cx4) math tables into bsnes binary
2019-07-17 21:11:46 +09:00

18 lines
278 B
C++
Executable File

#pragma once
#include <nall/string.hpp>
namespace nall {
inline auto guid() -> string {
GUID guidInstance;
CoCreateGuid(&guidInstance);
wchar_t guidString[39];
StringFromGUID2(guidInstance, guidString, 39);
return (char*)utf8_t(guidString);
}
}