Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

SccWillCreateSccFile Function

This function determines whether the source control plug-in supports the creation of the MSSCCPRJ.SCC file for each of the given files.

SCCRTN SccWillCreateSccFile(
   LPVOID  pContext,
   LONG    nFiles,
   LPCSTR* lpFileNames,
   LPBOOL  pbSccFiles


[in] The source control plug-in context pointer.


[in] The number of file names included in the lpFileNames array as well as the length of the pbSccFiles array.


[in] An array of fully qualified file names to check (array must be allocated by caller).


[in, out] Array in which to store the results.

The source control plug-in implementation of this function is expected to return one of the following values:






One of the paths in the array is invalid.


Nonspecific failure.

This function is called with a list of files to determine if the source control plug-in provides support in the MSSCCPRJ.SCC file for each of the given files (for more information on the MSSCCPRJ.SCC file, see MSSCCPRJ.SCC File). Source control plug-ins can declare whether they have the capability of creating MSSCCPRJ.SCC files by declaring SCC_CAP_SCCFILE during initialization. The plug-in returns TRUE or FALSE per file in the pbSccFiles array to indicate which of the given files have MSSCCPRJ.SCC support. If the plug-in returns a success code from the function, the values in the return array are honored. On failure, the array is ignored.

Community Additions

© 2015 Microsoft