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

# RtlGUIDFromString(3w)

## NAME

**RtlGUIDFromString** (NTDLL.@)

## SYNOPSIS

NTSTATUS RtlGUIDFromString\
  (\
   PUNICODE\_STRING *str*,\
   GUID\*           *guid*\
  )

## DESCRIPTION

Convert a string representation of a **GUID** into a **GUID**.

## PARAMS

*str* **\[In\]**  String representation in the format **"{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}"**.

*guid* **\[Out\]**  Destination for the converted **GUID**.

## RETURNS

**Success:** **STATUS\_SUCCESS**. *guid* contains the converted value.

**Failure:** **STATUS\_INVALID\_PARAMETER**, if *str* is not in the expected format.

## SEE ALSO

See **[RtlStringFromGUID(3w)](/RtlStringFromGUID/3w.md)**.

## IMPLEMENTATION

Declared in **"winternl.h"**.

Implemented in **"dlls/ntdll/rtlstr.c"**.

Debug channel **"ntdll"**.
