RtlUnicodeStringToInteger prototype missing, and wrong?

Dan Kegel dank at kegel.com
Wed Dec 25 00:41:43 CST 2002


http://msdn.microsoft.com/library/default.asp?url=/library/en-us/kmarch/hh/kmarch/k109_5h6a.asp
says

"NTSTATUS
   RtlUnicodeStringToInteger(
     IN PUNICODE_STRING  String,
     IN ULONG  Base  OPTIONAL,
     OUT PULONG  Value
     );
Declared in wdm.h and ntddk.h. Include wdm.h or ntddk.h."

Shouldn't this be declared in wine/include/winternl.h, like
the other Rtl functions?  And shouldn't wine/dlls/ntdll/rtlstr.c
declare it to use an unsigned long instead of an int as
its 2nd arg, and an unsigned long * instead of an int * as
its 3rd arg?

If so, I can submit a patch to fix all that, but as I'm
a total wine newbie, I bet there's something I'm missing.
- Dan

-- 
Dan Kegel
Linux User #78045
http://www.kegel.com




More information about the wine-devel mailing list