Bewerken

Delen via


SccGetExtendedCapabilities function

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