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

# SHStringFromGUIDW(3w)

## NAME

**SHStringFromGUIDW** (SHLWAPI.24)

## SYNOPSIS

INT SHStringFromGUIDW\
  (\
   REFGUID *guid*,\
   LPWSTR  *lpszDest*,\
   INT     *cchMax*\
  )

## DESCRIPTION

Convert a **GUID** to a string.

## PARAMS

*guid* **\[In\]**  **GUID** to convert.

str **\[Out\]**  Destination for string.

cmax **\[In\]**  Length of output buffer.

## RETURNS

The length of the string created.

## 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"**.
