RtlGUIDFromString - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTRTL_H

NTSYSAPI
NTSTATUS
NTAPI
RtlGUIDFromString(
    _In_ PCUNICODE_STRING GuidString,
    _Out_ PGUID Guid
    );

#endif

View code on GitHub
// wdm.h

NTSYSAPI NTSTATUS RtlGUIDFromString(
  [in]  PCUNICODE_STRING GuidString,
  [out] GUID             *Guid
);
View the official Windows Driver Kit DDI reference

NtDoc

This function is documented in Windows Driver Kit.

Windows Driver Kit DDI reference (nf-wdm-rtlguidfromstring)

RtlGUIDFromString function

Description

The RtlGUIDFromString routine converts the given Unicode string to a GUID in binary format.

Parameters

GuidString [in]

Pointer to the buffered Unicode string to be converted to a GUID. The string should be in the following form (including the braces): {00000000-0000-0000-0000-000000000000}

Guid [out]

Pointer to a caller-supplied variable in which the GUID is returned.

Return value

If the conversion succeeds, RtlGUIDFromString returns STATUS_SUCCESS. Otherwise, no conversion was done.

See also

RtlStringFromGUID