From 05f53afd5a98f84aaaf7d2037d408426516b4ca1 Mon Sep 17 00:00:00 2001 From: Mike McCormack Date: Wed, 22 Jun 2005 12:00:57 +0000 Subject: [PATCH] Declare RtlGUIDFromString and RtlStringFromGUID. --- dlls/ntdll/rtlstr.c | 2 +- include/winternl.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/dlls/ntdll/rtlstr.c b/dlls/ntdll/rtlstr.c index 81fe4f55fd8..2aebbd191eb 100644 --- a/dlls/ntdll/rtlstr.c +++ b/dlls/ntdll/rtlstr.c @@ -1942,7 +1942,7 @@ NTSTATUS WINAPI RtlIntegerToUnicodeString( * SEE ALSO * See RtlStringFromGUID. */ -NTSTATUS WINAPI RtlGUIDFromString(const UNICODE_STRING *str, GUID* guid) +NTSTATUS WINAPI RtlGUIDFromString(PUNICODE_STRING str, GUID* guid) { int i = 0; const WCHAR *lpszCLSID = str->Buffer; diff --git a/include/winternl.h b/include/winternl.h index 0ad27d1a234..67be34a9672 100644 --- a/include/winternl.h +++ b/include/winternl.h @@ -1919,6 +1919,7 @@ NTSTATUS WINAPI RtlGetOwnerSecurityDescriptor(PSECURITY_DESCRIPTOR,PSID *,PBOOL ULONG WINAPI RtlGetProcessHeaps(ULONG,HANDLE*); NTSTATUS WINAPI RtlGetSaclSecurityDescriptor(PSECURITY_DESCRIPTOR,PBOOLEAN,PACL *,PBOOLEAN); NTSTATUS WINAPI RtlGetVersion(RTL_OSVERSIONINFOEXW*); +NTSTATUS WINAPI RtlGUIDFromString(PUNICODE_STRING,GUID*); PSID_IDENTIFIER_AUTHORITY WINAPI RtlIdentifierAuthoritySid(PSID); PVOID WINAPI RtlImageDirectoryEntryToData(HMODULE,BOOL,WORD,ULONG *); @@ -2016,6 +2017,7 @@ void WINAPI RtlSetLastWin32ErrorAndNtStatusFromNtStatus(NTSTATUS); NTSTATUS WINAPI RtlSetSaclSecurityDescriptor(PSECURITY_DESCRIPTOR,BOOLEAN,PACL,BOOLEAN); NTSTATUS WINAPI RtlSetTimeZoneInformation(const RTL_TIME_ZONE_INFORMATION*); ULONG WINAPI RtlSizeHeap(HANDLE,ULONG,PVOID); +NTSTATUS WINAPI RtlStringFromGUID(REFGUID,PUNICODE_STRING); LPDWORD WINAPI RtlSubAuthoritySid(PSID,DWORD); LPBYTE WINAPI RtlSubAuthorityCountSid(PSID); NTSTATUS WINAPI RtlSystemTimeToLocalTime(const LARGE_INTEGER*,PLARGE_INTEGER);