MSSCCI interfaceMSSCCI interface

The MSSCCI interface is used to integrate Source control into visual studio. This extract covers ONLY 1.1 which is the original Visual Studio onwards.

The Source Control Plug-in API provides the following functions, which must be implemented by the source control plug-in in accordance with this API. The signatures of each function and the semantics associated with the bit flags and other parameters are described in detail in this reference.

Initialization and Housekeeping Functions

Function Description

SccCloseProject Function

Closes a project.

SccGetCommandOptions Function

Prompts the user for advanced options for the given command.

SccGetVersion Function

Returns the version of the source control plug-in.

SccInitialize Function

Initializes the source control plug-in. It is called once for each instance of the plug-in.

SccOpenProject Function

Opens a project.

SccSetOption Function

A generic function used to set a wide variety of options. Each option starts with SCC_OPT_xxx and has its own defined set of values.

SccUninitialize Function

Called once when a source control plug-in needs to be unplugged.

Core Source Control Functions

Function Description

SccAdd Function

Adds an array of files specified by fully qualified path names to the source control system.

SccAddFromScc Function

Allows the user to browse for files that are already in the source control system and then make those files part of the current project.

SccCheckin Function

Checks in an array of files.

SccCheckout Function

Checks out an array of files.

SccDiff Function

Shows the differences between the local user's file specified by a fully qualified path name and the version under source control.

SccGet Function

Retrieves a read-only copy of a set of files.

SccGetEvents Function

Checks the status of files that the caller has asked about (via SccQueryInfo).

SccGetProjPath Function

Causes the source control plug-in to prompt the user for a project path that is meaningful to the plug-in.

SccHistory Function

Shows the history for an array of fully qualified local file names.

SccPopulateList Function

Examines the list of files for their current status. In addition, uses the pfnPopulate function to notify the caller when a file does not match the criteria for the nCommand.

SccProperties Function

Shows the properties of a fully qualified file.

SccQueryInfo Function

Examines a list of fully qualified files for their current status.

SccRemove Function

Removes the array of fully qualified files from the source control system.

SccRename Function

Renames the given file to a new name in the source control system.

SccRunScc Function

Accesses the full range of features of the source control system.

SccUncheckout Function

Undoes a checkout of an array of files.

Add comment

  Country flag


  • Comment
  • Preview
Loading