RtlGUIDFromString routine

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

Syntax


NTSTATUS RtlGUIDFromString(
  _In_  PCUNICODE_STRING GuidString,
  _Out_ GUID             *Guid
);

Parameters

GuidString [in]

Pointer to the buffered Unicode string to be converted to a GUID.

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.

Requirements

Target platform

Universal

Version

Available starting with Windows 2000.

Header

Wdm.h (include Wdm.h, Ntddk.h, or Ntifs.h)

Library

NtosKrnl.lib

DLL

NtosKrnl.exe

IRQL

PASSIVE_LEVEL

See also

RtlStringFromGUID

 

 

Send comments about this topic to Microsoft

Show: