Export (0) Print
Expand All
Expand Minimize

UuidFromString function

The UuidFromString function converts a string to a UUID.

Syntax


RPC_STATUS RPC_ENTRY UuidFromString(
  unsigned char __RPC_FAR *StringUuid,
  UUID __RPC_FAR *Uuid
);

Parameters

StringUuid

Pointer to a string representation of a UUID.

Uuid

Returns a pointer to a UUID in binary form.

Return value

ValueMeaning
RPC_S_OK

The call succeeded.

RPC_S_INVALID_STRING_UUID

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

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Rpcdce.h (include Rpc.h)

Library

Rpcrt4.lib

DLL

Rpcrt4.dll

Unicode and ANSI names

UuidFromStringW (Unicode) and UuidFromStringA (ANSI)

See also

UuidToString

 

 

Community Additions

ADD
Show:
© 2014 Microsoft