The SetupRemoveFromSourceList function removes a value from the list of installation sources for either the current user or the system. The system and user lists are merged at run time.
BOOL SetupRemoveFromSourceList(
DWORD Flags, // the list to remove the source from
PCTSTR Source // the source to remove
);
Note If a temporary list is currently in use (see SetupSetSourceList), the preceding flags are ignored and the source is removed from the temporary list.
If the function succeeds, the return value is a non-zero value.
If the function fails, the return value is zero. To get extended error information, call GetLastError.
Windows NT: Use version 4.0 and later.
Windows: Use Windows 95 and later.
Windows CE: Unsupported.
Header: Declared in setupapi.h.
Import Library: Link with setupapi.lib.
Overview, Functions, SetupAddToSourceList, SetupSetSourceList