Movatterモバイル変換


[0]ホーム

URL:


Skip to main content

This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Download Microsoft EdgeMore info about Internet Explorer and Microsoft Edge
Table of contentsExit editor mode

UuidToString function (rpcdce.h)

Feedback

In this article

TheUuidToString function converts aUUID to a string.

Syntax

RPC_STATUS UuidToString(  [in]  const UUID *Uuid,  [out] RPC_CSTR   *StringUuid);

Parameters

[in] Uuid

Pointer to a binaryUUID.

[out] StringUuid

Pointer to the null-terminated string into which theUUID specified in theUuid parameter will be placed.

The UUID format isxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.

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, seeRPC Return Values.
 

Remarks

An application callsUuidToString to convert a binaryUUID to a stringUUID. The RPC run-time library allocates memory for the string returned in theStringUuid parameter. The application is responsible for callingRpcStringFree to deallocate that memory.

Requirements

RequirementValue
Minimum supported clientWindows 2000 Professional [desktop apps | UWP apps]
Minimum supported serverWindows 2000 Server [desktop apps | UWP apps]
Target PlatformWindows
Headerrpcdce.h (include Rpc.h)
LibraryRpcrt4.lib
DLLRpcrt4.dll

See also

RpcStringFree

UuidFromString


Feedback

Was this page helpful?

YesNoNo

Need help with this topic?

Want to try using Ask Learn to clarify or guide you through this topic?

Suggest a fix?

  • Last updated on

In this article

Was this page helpful?

YesNo
NoNeed help with this topic?

Want to try using Ask Learn to clarify or guide you through this topic?

Suggest a fix?