Author: janderwald
Date: Thu Jul 30 08:26:28 2009
New Revision: 42294
URL:
http://svn.reactos.org/svn/reactos?rev=42294&view=rev
Log:
- Add RtlConvertLongToLuid, RtlConvertUlongToLuid
Modified:
trunk/reactos/include/ddk/winddk.h
Modified: trunk/reactos/include/ddk/winddk.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/ddk/winddk.h?rev=4…
==============================================================================
--- trunk/reactos/include/ddk/winddk.h [iso-8859-1] (original)
+++ trunk/reactos/include/ddk/winddk.h [iso-8859-1] Thu Jul 30 08:26:28 2009
@@ -5992,17 +5992,39 @@
IN PSTRING String2,
BOOLEAN CaseInSensitive);
-NTSYSAPI
+#if !defined(MIDL_PASS)
+
+FORCEINLINE
LUID
NTAPI
RtlConvertLongToLuid(
- IN LONG Long);
-
-NTSYSAPI
+ IN LONG Val)
+{
+ LUID Luid;
+ LARGE_INTEGER Temp;
+
+ Temp.QuadPart = Val;
+ Luid.LowPart = Temp.u.LowPart;
+ Luid.HighPart = Temp.u.HighPart;
+
+ return Luid;
+}
+
+FORCEINLINE
LUID
NTAPI
RtlConvertUlongToLuid(
- ULONG Ulong);
+ IN ULONG Val)
+{
+ LUID Luid;
+
+ Luid.LowPart = Val;
+ Luid.HighPart = 0;
+
+ return Luid;
+}
+#endif
+
NTSYSAPI
VOID