Directory Status Code Enumerator

 

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 Directory Status Code Enumerator.

The SccDirStatus enumerator contains named constant values that specify the state of a directory in the source control system. This enumeration is used by the SccDirQueryInfo. This was introduced in version 1.2 of the Source Control Plug-in API.

enum SccDirStatus {  
   SCC_DIRSTATUS_INVALID       = -1L,  
   SCC_DIRSTATUS_NOTCONTROLLED = 0x0000L,  
   SCC_DIRSTATUS_CONTROLLED    = 0x0001L,  
   SCC_DIRSTATUS_EMPTYPROJ     = 0x0002L  
};  

SCC_DIRSTATUS_INVALID
Status could not be obtained; do not rely on it.

SCC_DIRSTATUS_NOTCONTROLLED
Directory is not under source control.

SCC_DIRSTATUS_CONTROLLED
Directory is under source control.

SCC_DIRSTATUS_EMPTYPROJ
Project corresponding to this directory is empty.

Source Control Plug-ins
SccDirQueryInfo

Show: