Commit f14eecde authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

setupapi: Forward SetupInstallServicesFromInfSectionA to W-function.

parent 0936601f
......@@ -1080,6 +1080,16 @@ BOOL WINAPI SetupInstallServicesFromInfSectionW( HINF Inf, PCWSTR SectionName, D
*/
BOOL WINAPI SetupInstallServicesFromInfSectionA( HINF Inf, PCSTR SectionName, DWORD Flags)
{
FIXME("(%p, %s, %d) stub!\n", Inf, debugstr_a(SectionName), Flags);
return FALSE;
UNICODE_STRING SectionNameW;
BOOL ret = FALSE;
if (RtlCreateUnicodeStringFromAsciiz( &SectionNameW, SectionName ))
{
ret = SetupInstallServicesFromInfSectionW( Inf, SectionNameW.Buffer, Flags );
RtlFreeUnicodeString( &SectionNameW );
}
else
SetLastError( ERROR_NOT_ENOUGH_MEMORY );
return ret;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment