Partilhar via


SccGetVersion Function

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. 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 gets the version number of the Source Control Plug-in API supported by the source control plug-in.

Syntax

LONG SccGetVersion(void);

Parameters

None.

Return Value

A LONG data type that contains the version number of the supported Source Control Plug-in API:

WORD Description
HIWORD Major version
LOWORD Minor version

Remarks

For example, if a source control plug-in supports version 1.3 of the Source Control Plug-in API, this function would return 0x0103.

See also