The UuidFromString function converts a string to a UUID.
#include <rpc.h>
RPC_STATUS RPC_ENTRY UuidFromString(
unsigned char * StringUuid,
UUID * Uuid
);
An application calls the UuidFromString routine to convert a string UUID to a binary UUID.
Value | Meaning |
---|---|
RPC_S_OK | Success |
RPC_S_INVALID_STRING_UUID | The string UUID is invalid |
Windows NT: Yes
Windows CE: Unsupported.
Header: Declared in rpcdce.h.
Import Library: Link with rpcrt4.lib.