IVsSccProject2.GetSccSpecialFiles Method

Definition

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

C++/WinRT
int GetSccSpecialFiles(unsigned int itemid, std::wstring const & pszSccFile, std::Array <Microsoft::VisualStudio::OLE::Interop::CALPOLESTR> const & pCaStringsOut, std::Array <Microsoft::VisualStudio::OLE::Interop::CADWORD> const & pCaFlagsOut);

Parameters

itemid
UInt32

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

pszSccFile
String

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

pCaStringsOut
CALPOLESTR[]

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

pCaFlagsOut
CADWORD[]

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

Returns

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

Remarks

COM Signature

From ivssccproject2.idl

cpp#
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.

Applies to

Product Versions
Visual Studio SDK 2015, 2017, 2019, 2022