2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS NT User-Mode DLL
4 * FILE: lib/ntdll/rtl/uilist.c
5 * PURPOSE: RTL UI to API network computers list conversion.
6 * Helper for NETAPI32.DLL
7 * PROGRAMMERS: Hermes Belusca-Maito
10 /* INCLUDES *****************************************************************/
17 /* FUNCTIONS ***************************************************************/
24 RtlConvertUiListToApiList(
25 IN PUNICODE_STRING UiList
,
26 OUT PUNICODE_STRING ApiList
,
27 IN BOOLEAN SpaceAsSeparator
)
29 DPRINT1("RtlConvertUiListToApiList(%wZ, 0x%p, %s) called\n",
30 UiList
, &ApiList
, SpaceAsSeparator
? "true" : "false");
33 * Experiments show that returning a success code but setting the
34 * ApiList length to zero is better than returning a failure code.
36 RtlInitEmptyUnicodeString(ApiList
, NULL
, 0);
37 return STATUS_SUCCESS
;