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

This function gets the version number of the Source Control Plug-in API supported by the source control plug-in.

LONG SccGetVersion(void);  

Parameters

None.

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

WORDDescription
HIWORDMajor version
LOWORDMinor version

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

Source Control Plug-in API Functions

Show: