mirror of
https://github.com/reactos/reactos.git
synced 2024-11-27 21:43:32 +08:00
[SETUPAPI] Implement SetupGetNonInteractiveMode() and SetupSetNonInteractiveMode().
This commit is contained in:
parent
6a944b556a
commit
3f570f3369
@ -869,6 +869,27 @@ void WINAPI pSetupSetGlobalFlags( DWORD 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.@)
|
||||
|
@ -423,7 +423,7 @@
|
||||
@ stdcall SetupGetLineTextW(ptr long wstr wstr ptr long ptr)
|
||||
@ stdcall SetupGetMultiSzFieldA(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 SetupGetSourceFileLocationW(ptr ptr wstr ptr ptr long ptr)
|
||||
@ stub SetupGetSourceFileSizeA
|
||||
|
@ -103,13 +103,6 @@ WINSETUPAPI BOOL WINAPI SetupDiGetDeviceInterfaceAlias(IN HDEVINFO DeviceInfoSe
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
WINSETUPAPI BOOL WINAPI SetupSetNonInteractiveMode(BOOL NonInteractiveFlag)
|
||||
{
|
||||
FIXME("(%d) stub\n", NonInteractiveFlag);
|
||||
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* SetupVerifyInfFileA(SETUPAPI.@)
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user