mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
[SETUPAPI] Implement SetupGetNonInteractiveMode() and SetupSetNonInteractiveMode().
This commit is contained in:
parent
6a944b556a
commit
3f570f3369
3 changed files with 22 additions and 8 deletions
|
@ -869,6 +869,27 @@ void WINAPI pSetupSetGlobalFlags( DWORD flags )
|
||||||
pSetupModifyGlobalFlags(0xFFFFFFFF, flags);
|
pSetupModifyGlobalFlags(0xFFFFFFFF, flags);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
* SetupGetNonInteractiveMode (SETUPAPI.@)
|
||||||
|
*/
|
||||||
|
BOOL WINAPI SetupGetNonInteractiveMode(VOID)
|
||||||
|
{
|
||||||
|
return (GlobalSetupFlags & PSPGF_NONINTERACTIVE);
|
||||||
|
}
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
* SetupSetNonInteractiveMode (SETUPAPI.@)
|
||||||
|
*/
|
||||||
|
BOOL WINAPI SetupSetNonInteractiveMode(BOOL NonInteractiveFlag)
|
||||||
|
{
|
||||||
|
BOOL OldValue;
|
||||||
|
|
||||||
|
OldValue = (GlobalSetupFlags & PSPGF_NONINTERACTIVE);
|
||||||
|
pSetupModifyGlobalFlags(PSPGF_NONINTERACTIVE,
|
||||||
|
NonInteractiveFlag ? PSPGF_NONINTERACTIVE : 0);
|
||||||
|
|
||||||
|
return OldValue;
|
||||||
|
}
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* AssertFail (SETUPAPI.@)
|
* AssertFail (SETUPAPI.@)
|
||||||
|
|
|
@ -423,7 +423,7 @@
|
||||||
@ stdcall SetupGetLineTextW(ptr long wstr wstr ptr long ptr)
|
@ stdcall SetupGetLineTextW(ptr long wstr wstr ptr long ptr)
|
||||||
@ stdcall SetupGetMultiSzFieldA(ptr long ptr long ptr)
|
@ stdcall SetupGetMultiSzFieldA(ptr long ptr long ptr)
|
||||||
@ stdcall SetupGetMultiSzFieldW(ptr long ptr long ptr)
|
@ stdcall SetupGetMultiSzFieldW(ptr long ptr long ptr)
|
||||||
@ stub SetupGetNonInteractiveMode
|
@ stdcall SetupGetNonInteractiveMode()
|
||||||
@ stdcall SetupGetSourceFileLocationA(ptr ptr str ptr ptr long ptr)
|
@ stdcall SetupGetSourceFileLocationA(ptr ptr str ptr ptr long ptr)
|
||||||
@ stdcall SetupGetSourceFileLocationW(ptr ptr wstr ptr ptr long ptr)
|
@ stdcall SetupGetSourceFileLocationW(ptr ptr wstr ptr ptr long ptr)
|
||||||
@ stub SetupGetSourceFileSizeA
|
@ stub SetupGetSourceFileSizeA
|
||||||
|
|
|
@ -103,13 +103,6 @@ WINSETUPAPI BOOL WINAPI SetupDiGetDeviceInterfaceAlias(IN HDEVINFO DeviceInfoSe
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
WINSETUPAPI BOOL WINAPI SetupSetNonInteractiveMode(BOOL NonInteractiveFlag)
|
|
||||||
{
|
|
||||||
FIXME("(%d) stub\n", NonInteractiveFlag);
|
|
||||||
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
|
||||||
return FALSE;
|
|
||||||
}
|
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* SetupVerifyInfFileA(SETUPAPI.@)
|
* SetupVerifyInfFileA(SETUPAPI.@)
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue