This documentation is archived and is not being maintained.

IVsSccProject2.GetSccSpecialFiles Method

This method is called to discover special (hidden files) associated with a given VSITEMID within this hierarchy.

Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in

int GetSccSpecialFiles (
	[InAttribute] uint itemid,
	[InAttribute] string pszSccFile,
	[OutAttribute] CALPOLESTR[] pCaStringsOut,
	[OutAttribute] CADWORD[] pCaFlagsOut
int GetSccSpecialFiles (
	/** @attribute InAttribute() */ UInt32 itemid, 
	/** @attribute InAttribute() */ String pszSccFile, 
	/** @attribute OutAttribute() */ CALPOLESTR[] pCaStringsOut, 
	/** @attribute OutAttribute() */ CADWORD[] pCaFlagsOut
function GetSccSpecialFiles (
	itemid : uint, 
	pszSccFile : String, 
	pCaStringsOut : CALPOLESTR[], 
	pCaFlagsOut : CADWORD[]
) : int



[in] Identifier of the item being queried. Value is taken from the VSITEMIDDWORD.


[in] One of the files associated with the node..


[out] Special files associated with the file indicated by the pszSccFile value. These are returned in a CALPOLESTR array.


[out] Flags whose values are taken from the CADWORD structure.

Return Value

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

COM Signature

From ivssccproject2.idl

HRESULT GetSccSpecialFiles(
   [in] VSITEMID itemid,
   [in] LPCOLESTR pszSccFile,
   [out] CALPOLESTR *pCaStringsOut,
   [out] CADWORD *pCaFlagsOut

This method is called to discover any special or hidden files associated with an item in the project hierarchy. It is called when GetSccFiles returns with the SFF_HasSpecialFiles flag set for any of the files associated with the node.