Reference

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).

IMPLEMENTATION

Declared in "winternl.h".

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

Debug channel "ntdll".

History