How do you control the GUID when programming C or C ++ on Windows?

How do you control the GUID when programming Windows in C or C ++?

+3
source share
2 answers

In Win32, if you want to manipulate a GUID, you can use the UuidXXX () Network / RPC functions:

  • UuidCompare ()

  • UuidCreate ()

  • UuidCreateNil ()

  • UuidCreateSequential ()

  • UuidEqual ()

  • UuidFromString ()

  • UuidHash ()

  • UuidIsNil ()

  • UuidToString ()

+5
source

I use boost :: uuid: http://www.boost.org/doc/libs/1_43_0/libs/uuid/index.html This way it is guaranteed that it will work anyway if I transfer the application to another tablet.

0
source

Source: https://habr.com/ru/post/1697580/


All Articles