StringFromCLSID

Converts the CLSID into a string of printable characters so different CLSIDs always convert to different strings.

HRESULT StringFromCLSID(

REFCLSID rclsid,
//The CLSID to be converted
LPOLESTR * lplpsz
//Receives the resulting string on return
);

Parameters

rclsid

Specifies the CLSID to be converted.

lplpsz

Receives the resulting string on return.

Return Values

S_OK

Indicates the CLSID was successfully converted and returned.

E_OUTOFMEMORY

Out of memory.

Comments

The StringFromCLSID function calls the StringFromGuid2 function to convert a globally unique identifier (GUID) into a string of printable characters.

See Also

CLSIDFromString, StringFromGuid2

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples