Function Reference


_WinAPI_CreateGUID

Creates a globally unique identifier (GUID)

#include <WinAPICom.au3>
_WinAPI_CreateGUID ( )

Return Value

Success: The string representation of the GUID.
Failure: Empty string and sets the @error flag to non-zero, @extended flag may contain the HRESULT error code.

See Also

Search CoCreateGuid in MSDN Library.

Example

#include <WinAPICom.au3>

For $i = 1 To 3
        ConsoleWrite(_WinAPI_CreateGUID() & @CRLF)
Next