SetupCancelTemporarySourceList function (setupapi.h)
[This function is available for use in the operating systems indicated in the Requirements section. It may be altered or unavailable in subsequent versions. SetupAPI should no longer be used for installing applications. Instead, use the Windows Installer for developing application installers. SetupAPI continues to be used for installing device drivers.]
The SetupCancelTemporarySourceList function cancels any temporary list and no-browse behavior and reestablishes standard list behavior.
WINSETUPAPI BOOL SetupCancelTemporarySourceList();
If a temporary list was in effect, the return value is a nonzero value. Otherwise, the return value is zero. To get extended error information, call GetLastError.
|Minimum supported client||Windows XP [desktop apps only]|
|Minimum supported server||Windows Server 2003 [desktop apps only]|