Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

SccPopulateDirList Function

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
);
pContext

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

nDirs

[in] Number of directory paths in the lpDirPaths array.

lpDirPaths

[in] Array of directory paths to examine.

pfnPopulate

[in] Callback function to call for each directory path and (optionally) filename in lpDirPaths (see POPDIRLISTFUNC for details).

pvCallerData

[in] Value that is to be passed unchanged to the callback function.

fOptions

[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:

Value

Description

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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.