SccCloseProject Function
Visual Studio 2015
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
The latest version of this topic can be found at SccCloseProject Function.
This function closes a project, marking the end of a particular session.
SCCRTN SccCloseProject ( LPVOID pvContext );
Parameters
pvContext
The source control plug-in context structure.
The source control plug-in implementation of this function is expected to return one of the following values:
| Value | Description |
|---|---|
| SCC_OK | The project was successfully closed. |
| SCC_E_PROJNOTOPEN | No project is currently open. |
| SCC_E_NOTAUTHORIZED | The user is not allowed to perform this operation. |
| SCC_E_NONSPECIFICERROR | Nonspecific failure. |
The SccOpenProject is always called before this function. A call to this function is then followed by a call to either the SccOpenProject function or the SccUninitialize, which ends the connection to the source control system completely.
Source Control Plug-in API Functions
SccOpenProject
SccInitialize
Show: