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

# CLSIDFromStringWrap(3w)

## NAME

**CLSIDFromStringWrap** (SHLWAPI.436)

## SYNOPSIS

HRESULT CLSIDFromStringWrap\
  (\
   LPCWSTR *idstr*,\
   CLSID\*  *id*\
  )

## DESCRIPTION

Convert a Unicode string **CLSID** into a **CLSID**.

## PARAMS

*idstr* **\[In\]**  string containing a **CLSID** in text form.

*id* **\[Out\]**  **CLSID** extracted from the string.

## RETURNS

**S\_OK** on success or **E\_INVALIDARG** on failure

## IMPLEMENTATION

Exported by ordinal only. Use **[GetProcAddress(3w)](/GetProcAddress/3w.md)** to obtain a pointer to the function.

Implemented in **"dlls/shlwapi/ordinal.c"**.

Debug channel **"shell"**.
