SetupRemoveFromSourceList  6MZ3.UV 

[New - Windows NT]

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

   );

 

 

Parameters

Flags

These flags specify which list to remove the source from. This parameter can be any combination of the following values:

SRCLIST_SYSTEM

Remove the source to the per-system list. The caller must be an administrator.

SRCLIST_USER

Remove the source to the per-user list.

SRCLIST_SYSIFADMIN

If the caller is an administrator, the source is removed from the per-system list; if the caller is not an administrator, the source is removed from the per-user list for the current user.

 

Note  If a temporary list is currently in use (see SetupSetSourceList1_9RIWX), the preceding flags are ignored and the source is removed from the temporary list.

 

SRCLIST_SUBDIRS

Remove all subdirectories of the source.

Source

Pointer to the source to remove from the list.

 

Return Values

If the function succeeds, the return value is TRUE.

If the function fails, the return value is FALSE. To get extended error information, call GetLastError11C2VS7.

See Also

SetupAddToSourceList, SetupSetSourceList