OnAfterSccStatusChanged Method
The document is archived and information here might be outdated

IVsTrackProjectDocuments2.OnAfterSccStatusChanged Method

This method is called by the Source Control Stub to inform listeners that source control status has changed. Do not call this method.

Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in microsoft.visualstudio.shell.interop.dll)

int OnAfterSccStatusChanged (
	[InAttribute] IVsProject pProject,
	[InAttribute] int cFiles,
	[InAttribute] string[] rgpszMkDocuments,
	[InAttribute] uint[] rgdwSccStatus
int OnAfterSccStatusChanged (
	/** @attribute InAttribute() */ IVsProject pProject, 
	/** @attribute InAttribute() */ int cFiles, 
	/** @attribute InAttribute() */ String[] rgpszMkDocuments, 
	/** @attribute InAttribute() */ UInt32[] rgdwSccStatus
function OnAfterSccStatusChanged (
	pProject : IVsProject, 
	cFiles : int, 
	rgpszMkDocuments : String[], 
	rgdwSccStatus : uint[]
) : int



[in] Pointer to the IVsProject interface.


[in] Number of files.


[in, size_is(cFiles)] Array of file paths.


[in, size_is(cFiles)] Array of status values for each file. Values are taken from the SccStatus enumeration.

Return Value

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

COM Signature

From IVsTrackProjectDocuments2.idl

HRESULT IVsTrackProjectDocuments2::OnAfterSccStatusChanged(
   [in] IVsProject *pProject,
   [in] int cFiles,
   [in, size_is(cFiles)] const LPCOLESTR rgpszMkDocuments[],
   [in, size_is(cFiles)] const DWORD rgdwSccStatus[]

The Source Control Stub calls this method directly to inform listeners that source control status has changed. For example, this notification can be used to find out when glyph changes are required. This notification is for listeners other than the project system, which receives notification of changes through IVsSccProject2.

© 2016 Microsoft