This callback is supplied to the SccPopulateList Function by the IDE and is used by the source control plug-in to update a list of files or directories (also supplied to the SccPopulateList function).
When a user chooses the Get command in the IDE, the IDE displays a list box of all files that the user can get. Unfortunately, the IDE does not know the exact list of all the files that the user might get; only the plug-in has this list. If other users have added files to the source code control project, these files should appear in the list, but the IDE does not know about them. The IDE builds a list of the files that it thinks the user can get. Before it displays this list to the user, it calls the SccPopulateList Function, giving the source control plug-in a chance to add and delete files from the list.
For each file that the source control plug-in wants to add to or delete from the file list, it calls this function, passing in the lpFileName. The fAddRemove flag indicates a new file to add to the list or an old file to delete. The nStatus parameter gives the status of the file. When the SCC plug-in has finished adding and deleting files, it returns from the SccPopulateList Function call.
The SCC_CAP_POPULATELIST capability bit is required for Visual Studio.