RPC Functions


UuidToString Function

The UuidToString function converts a UUID to a string.

Syntax

C++
RPC_STATUS RPC_ENTRY UuidToString(
    UUID __RPC_FAR *Uuid ,
    unsigned char __RPC_FAR * __RPC_FAR *StringUuid
);

Parameters

Uuid

Pointer to a binary UUID.

StringUuid

Pointer to a pointer to the string into which the UUID specified in the Uuid parameter will be placed.

Return Value

ValueMeaning
RPC_S_OK

The call succeeded.

RPC_S_OUT_OF_MEMORY

The system is out of memory.

 

Note  For a list of valid error codes, see RPC Return Values.

Remarks

An application calls UuidToString to convert a binary UUID to a string UUID. The RPC run-time library allocates memory for the string returned in the StringUuid parameter. The application is responsible for calling RpcStringFree to deallocate that memory.

Requirements

Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderRpcdce.h (include Rpc.h)
LibraryRpcrt4.lib
DLLRpcrt4.dll
Unicode and ANSI namesUuidToStringW (Unicode) and UuidToStringA (ANSI)

See Also

RpcStringFree
UuidFromString

Send comments about this topic to Microsoft

Build date: 5/28/2009

Tags :


Page view tracker