Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The UuidFromString function converts a string to a UUID.
Syntax
RPC_STATUS UuidFromString(
  RPC_CSTR StringUuid,
  UUID     *Uuid
);
Parameters
StringUuid
Pointer to a string representation of a UUID.
The UUID format is xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.
Passing NULL results in GUID_NULL value in Uuid.
Uuid
Returns a pointer to a UUID in binary form.
Return value
| Value | Meaning | 
|---|---|
  | 
The call succeeded. | 
  | 
The string UUID is invalid. | 
Note  For a list of valid error codes, see 
RPC Return Values.
Remarks
An application calls the UuidFromString function to convert a string UUID to a binary UUID.
Requirements
| Requirement | Value | 
|---|---|
| Minimum supported client | Windows 2000 Professional [desktop apps | UWP apps] | 
| Minimum supported server | Windows 2000 Server [desktop apps | UWP apps] | 
| Target Platform | Windows | 
| Header | rpcdce.h (include Rpc.h) | 
| Library | Rpcrt4.lib | 
| DLL | Rpcrt4.dll |