On Fri, Apr 28, 2017 at 3:27 PM, Liu Hao <[email protected]> wrote: > On 2017/4/28 19:38, Vincent Torri wrote: >> Hello >> >> in guiddef.h, a GUID is a struct organized as : 4 bytes, 2 bytes 2 >> bytes and 8 times 1 byte >> >> but according to >> https://msdn.microsoft.com/en-us/library/dd354925.aspx at the bottom : >> >> "The correct format of the GUID string is >> {CDEF7890-ABCD-1234-ABCD-1234567890AB} where 0-9, A-F symbolizes >> hexadecimal digits. " >> >> that is, the GUID structure should be organized as : 4 bytes, 2 bytes >> 2 bytes 2 bytes and 6 times 1 byte >> >> is it normal that the GUID structure does not follow the MSDN doc ? > It is because Microsoft's own version is defined like that and we > shouldn't create the incompatibility. > > Reference: > https://msdn.microsoft.com/en-us/library/windows/desktop/aa373931(v=vs.85).aspx
ok, the MSDC doc i mentioned is incorrect... thank you ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
