RtlStringFromGUID routine
The RtlStringFromGUID routine converts a given GUID from binary format into a Unicode string.
Syntax
NTSTATUS RtlStringFromGUID( _In_ REFGUID Guid, _Out_ PUNICODE_STRING GuidString );
Parameters
- Guid [in]
-
Specifies the binary-format GUID to convert.
- GuidString [out]
-
Pointer to a caller-supplied variable in which a pointer to the converted GUID string is returned. RtlStringFromGUID allocates the buffer space for the string, which the caller must free by calling RtlFreeUnicodeString.
Return value
If the conversion succeeds, RtlStringFromGUID returns STATUS_SUCCESS. Otherwise, no storage was allocated, nor was the conversion performed.
Requirements
|
Version | Available starting with Windows 2000. |
|---|---|
|
Header |
|
|
Library |
|
|
IRQL | PASSIVE_LEVEL |
See also
Send comments about this topic to Microsoft
Build date: 5/2/2013