mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 02:18:20 +00:00
setupapi: Forward SetupInstallServicesFromInfSectionA to W-function.
This commit is contained in:
parent
0936601f5b
commit
f14eecded8
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue