SccUninitialize Function

 

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 SccUninitialize Function.

This function cleans up any allocations or open connections created by a previous call to the SccInitialize in preparation for shutting down the source control plug-in.

SCCRTN SccUninitialize (  
   LPVOID pvContext  
);  

Parameters

pvContext
[in] The pointer to the source control plug-in context structure created in the SccInitialize.

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

ValueDescription
SCC_OKThe clean-up completed successfully.

The source control plug-in is responsible for preparing to be shut down and for freeing memory that the plug-in has allocated for the context structure. The function is called once for each given instance of a plug-in. A call to the SccInitialize precedes this call. No projects can still be open at the time of the call to SccUninitialize.

Source Control Plug-in API Functions
SccInitialize

Show: