UuidFromString

The UuidFromString function converts a string to a UUID.

#include <rpc.h>
RPC_STATUS RPC_ENTRY UuidFromString( 
  unsigned char *  StringUuid,   
  UUID *  Uuid                   
);
 

Parameters

StringUuid
Points to a string representation of a UUID.
Uuid
Returns a pointer to a UUID in binary form.

Remarks

An application calls the UuidFromString routine to convert a string UUID to a binary UUID.

Return Values

Value Meaning
RPC_S_OK Success
RPC_S_INVALID_STRING_UUID The string UUID is invalid

QuickInfo

  Windows NT: Yes
  Windows CE: Unsupported.
  Header: Declared in rpcdce.h.
  Import Library: Link with rpcrt4.lib.

See Also

UuidToString