The SetupQuerySourceList function queries the current list of installation sources. The list is built from the system and user-specific lists, and potentially overridden by a temporary list (see SetupSetSourceList).
BOOL SetupQuerySourceList(
DWORD Flags, // specifies the list to query
PCTSTR **List, // receives an array of sources
PUINT Count // number of sources in the array
);
Note If the system and the user lists are both retrieved, they are merged with those items in the system list that appear first.
If none of the preceding flags are specified, the entire current (merged) list is returned.
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, SetupSetSourceList