Applies to: Visual Studio Visual Studio for Mac
This function determines which directories and (optionally) files are stored in source control, given a list of directories to examine.
SCCRTN SccPopulateDirList( LPVOID pContext, LONG nDirs, LPCSTR* lpDirPaths, POPDIRLISTFUNCpfnPopulate, LPVOID pvCallerData, LONG fOptions );
[in] The source control plug-in context pointer.
[in] Number of directory paths in the
[in] Array of directory paths to examine.
[in] Callback function to call for each directory path and (optionally) filename in
lpDirPaths (see POPDIRLISTFUNC for details).
[in] Value that is to be passed unchanged to the callback function.
[in] A combination of values that control how the directories are processed (see the "PopulateDirList flags" section of Bitflags Used by Specific Commands for possible values).
The source control plug-in implementation of this function is expected to return one of the following values:
|SCC_OK||Successfully completed the operation.|
|SCC_E_UNKNOWNERROR||An error occurred.|
Only those directories and (optionally) file names that are actually in the source control repository are passed to the callback function.