다음을 통해 공유


SccUninitialize Function

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

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.

Syntax

SCCRTN SccUninitialize (  
   LPVOID pvContext  
);  

Parameters

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

Return Value

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

Value Description
SCC_OK The clean-up completed successfully.

Remarks

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.

See Also

Source Control Plug-in API Functions
SccInitialize