SccGetExtendedCapabilities Function


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 returns additional capabilities supported by the source control plug-in.


SCCRTN SccGetExtendedCapabilities(  
   LPVOID pContext,  
   LONG lSccExCaps,  
   LPBOOL pbSupported  


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

[in] A flag specifying an extended capability for which to test (see the Extended Capability Code table in Capability Flags for the possible flags).

[out] Returns non-zero (TRUE) if the specified capability is supported; otherwise, returns zero (FALSE).

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 get capability operation completed successfully.

Unknown or unspecified error occurred.


This method is called on demand; that is, when a capability needs to be tested, this method is called to determine if that capability is supported. Only one flag at a time is specified.

See Also

Source Control Plug-in API Functions
Error Codes
Capability Flags