For the latest documentation on Visual Studio 2017, see Visual Studio 2017 Documentation.
This function adds a list of files from source control to the currently opened project.
SCCRTN SccAddFilesFromSCC( LPVOID pContext, HWND hWnd, LPSTR lpUser, LPSTR lpAuxProjPath, LONG cFiles, LPCSTR* lpFilePaths, LPCSTR lpDestination, LPCSTR lpComment, LPBOOL pbResults );
[in] The source control plug-in context pointer.
[in] A handle to the IDE window that the source control plug-in can use as a parent for any dialog boxes that it provides.
[in, out] The username (up to SCC_USER_SIZE, including the null terminator).
[in, out] Auxiliary string identifying the project (up to
SCC_PRJPATH_SIZE, including the null terminator).
[in] Number of files given by
[in, out] Array of file names to add to the current project.
[in] The destination path where the files are to be written.
[in] The comment to be applied to each of the files being added.
[in, out] Array of flags that are set to indicate success (nonzero or TRUE) or failure (zero or FALSE) for each file (size of the array must be at least
The source control plug-in implementation of this function is expected to return one of the following values:
|SCC_E_PROJNOTOPEN||Project is not open.|
|SCC_E_OPNOTPERFORMED||Connection is not to the same project as specified by |
|SCC_E_NOTAUTHORIZED||User is not authorized to update the database.|
|SCC_I_RELOADFILE||A file or project needs to be reloaded.|