mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
fix some setupapi winetests
svn path=/trunk/; revision=40535
This commit is contained in:
@@ -3373,7 +3373,12 @@ SetupDiInstallClassExA(
|
||||
PWSTR InfFileNameW = NULL;
|
||||
BOOL Result;
|
||||
|
||||
if (InfFileName)
|
||||
if (!InfFileName)
|
||||
{
|
||||
SetLastError(ERROR_INVALID_PARAMETER);
|
||||
return FALSE;
|
||||
}
|
||||
else
|
||||
{
|
||||
InfFileNameW = MultiByteToUnicode(InfFileName, CP_ACP);
|
||||
if (InfFileNameW == NULL)
|
||||
|
||||
Reference in New Issue
Block a user