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

Syntax

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

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

SCC_E_NONSPECIFICERROR
Unknown or unspecified error occurred.

Remarks

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