---
name: "StringFromCLSID"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/StringFromCLSID"
---

# StringFromCLSID(3w)

## NAME

**StringFromCLSID** (OLE32.@)

## SYNOPSIS

HRESULT StringFromCLSID\
  (\
   REFCLSID  *id*,\
   LPOLESTR\* *idstr*\
  )

## DESCRIPTION

Converts a **GUID** into the respective string representation. The target string is allocated using the **OLE** IMalloc.

## PARAMS

*id* **\[In\]**  the **GUID** to be converted.

*idstr* **\[Out\]**  A pointer to a to-be-allocated pointer pointing to the resulting string.

## RETURNS

**S\_OK** **E\_FAIL**.

## SEE ALSO

StringFromGUID2, CLSIDFromString

## IMPLEMENTATION

Declared in **"objbase.h"**.

Implemented in **"dlls/ole32/compobj.c"**.

Debug channel **"ole"**.
