Generates an UUID as a C string and writes it into the output buffer.
- Parameters
-
[out] | lpStr | is a pointer to the buffer holding the string on output. Its size, in bytes, must not be less then GUID_LENGTH + 1. |
| cchStr | is a capacity of the output buffer in bytes. This value must not be less then GUID_LENGTH + 1 for the buffer to be able to hold the UUID as a string together with the terminating zero character. |
- Returns
- The function returns true on success and false on failure. Use GetLastChsvError to get extended error information.
- See also
- AllocateUniqueStringA;
AllocateUniqueTempFileNameA.