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

This function returns additional capabilities supported by the source control plug-in.

SCCRTN SccGetExtendedCapabilities(  
   LPVOID pContext,  
   LONG lSccExCaps,  
   LPBOOL pbSupported  
);  

Parameters

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

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

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

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

ValueDescription
SCC_OKThe get capability operation completed successfully.
SCC_E_UNKNOWNERROR

SCC_E_NONSPECIFICERROR
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.

Source Control Plug-in API Functions
Error Codes
Capability Flags

Show: