Author: pschweitzer
Date: Sun Jun 24 16:23:28 2012
New Revision: 56796
URL:
http://svn.reactos.org/svn/reactos?rev=56796&view=rev
Log:
[RTL]
Fix c/p mistake in PropertyLengthAsVariant
Modified:
trunk/reactos/lib/rtl/propvar.c
Modified: trunk/reactos/lib/rtl/propvar.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rtl/propvar.c?rev=5679…
==============================================================================
--- trunk/reactos/lib/rtl/propvar.c [iso-8859-1] (original)
+++ trunk/reactos/lib/rtl/propvar.c [iso-8859-1] Sun Jun 24 16:23:28 2012
@@ -67,7 +67,7 @@
IN USHORT CodePage,
IN BYTE bReserved)
{
- BOOLEAN Success = FALSE;
+ ULONG Length = 0;
PVOID BaseAddress = NULL;
ULONG (*ProcedureAddress)(PSERIALIZEDPROPERTYVALUE, ULONG, USHORT, BYTE);
@@ -77,7 +77,7 @@
ProcedureAddress = LoadOle32Export(&BaseAddress,
"StgPropertyLengthAsVariant");
- Success = ProcedureAddress(pProp, cbProp, CodePage, bReserved);
+ Length = ProcedureAddress(pProp, cbProp, CodePage, bReserved);
}
_SEH2_FINALLY
{
@@ -88,7 +88,7 @@
}
_SEH2_END;
- return Success;
+ return Length;
}
/*