Click to Rate and Give Feedback
MSDN
MSDN Library
Visual Studio 2005
Visual Studio
Visual Studio SDK
Reference
 Capability Flags

  Switch on low bandwidth view
This page is specific to
Microsoft Visual Studio 2005/.NET Framework 2.0

Other versions are also available for the following:
Visual Studio SDK
Capability Flags
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

The SCC_CAP_xxx flags are used as indicators of a source control plug-in's capabilities.

Capability Code Value Description

SCC_CAP_REMOVE

0x00000001L

Supports the SccRemove Function and command.

SCC_CAP_RENAME

0x00000002L

Supports the SccRename Function and command.

SCC_CAP_DIFF

0x00000004L

Supports the SccDiff Function and command.

SCC_CAP_HISTORY

0x00000008L

Supports the SccHistory Function and command.

SCC_CAP_PROPERTIES

0x00000010L

Supports the SccProperties Function and command.

SCC_CAP_RUNSCC

0x00000020L

Supports the SccRunScc Function and command.

SCC_CAP_GETCOMMANDOPTIONS

0x00000040L

Supports the SccGetCommandOptions Function and command.

SCC_CAP_QUERYINFO

0x00000080L

Supports the SccQueryInfo Function and command.

SCC_CAP_GETEVENTS

0x00000100L

Supports the SccGetEvents Function and command.

SCC_CAP_GETPROJPATH

0x00000200L

Supports the SccGetProjPath Function and command.

SCC_CAP_ADDFROMSCC

0x00000400L

Supports the SccAddFromScc Function and command.

SCC_CAP_COMMENTCHECKOUT

0x00000800L

Supports a comment on checkout.

SCC_CAP_COMMENTCHECKIN

0x00001000L

Supports a comment on checkin.

SCC_CAP_COMMENTADD

0x00002000L

Supports a comment on Add.

SCC_CAP_COMMENTREMOVE

0x00004000L

Supports a comment on Remove.

SCC_CAP_TEXTOUT

0x00008000L

Writes text to an IDE-provided output function.

SCC_CAP_ADD_STORELATEST

0x00200000L

Supports storing files without deltas.

SCC_CAP_HISTORY_MULTFILE

0x00400000L

Supports multiple file history.

SCC_CAP_IGNORECASE

0x00800000L

Supports case-insensitive file comparison.

SCC_CAP_IGNORESPACE

0x01000000L

Supports file comparison that ignores white space.

SCC_CAP_POPULATELIST

0x02000000L

Supports finding extra files.

SCC_CAP_COMMENTPROJECT

0x04000000L

Supports comments on create project.

SCC_CAP_DIFFALWAYS

0x10000000L

Supports diff in all states if under control.

SCC_CAP_GET_NOUI

0x20000000L

Plug-in does not support a UI for Get, but IDE may still call SccGet Function.

SCC_CAP_REENTRANT

0x40000000L

Plug-in is reentrant and thread-safe. In version 1.0, no plug-ins were assumed to be reentrant and thread-safe. If a 1.1 plug-in sets this bit, the host is allowed to open multiple projects in parallel.

New Capability Bits in Version 1.2

Capability Code Value Description

SCC_CAP_CREATESUBPROJECT

0x00010000L

Supports the SccCreateSubProject Function.

SCC_CAP_GETPARENTPROJECT

0x00020000L

Supports the SccGetParentProjectPath Function.

SCC_CAP_BATCH

0x00040000L

Supports the SccBeginBatch Function and SccEndBatch Function.

SCC_CAP_DIRECTORYSTATUS

0x00080000L

Supports the SccDirQueryInfo Function.

SCC_CAP_DIRECTORYDIFF

0x00100000L

Supports the SccDirDiff Function.

SCC_CAP_MULTICHECKOUT

0x08000000L

Supports multiple checkouts on a file and the SccIsMultiCheckoutEnabled Function.

SCC_CAP_SCCFILE

0x80000000L

Supports the MSSCCPRJ.SCC file (subject to user/administrator override) and the SccWillCreateSccFile Function.

New Capability Bits Added in Version 1.3

(These flags are passed one at a time to the SccGetExtendedCapabilities Function function to determine if the capability is supported.)

Extended Capability Code Value Description

SCC_EXCAP_CHECKOUT_LOCALVER

0x00000001L

Supports the SCC_CHECKOUT_LOCALVER option for checkouts.

SCC_EXCAP_BACKGROUND_GET

0x00000002L

Supports the SccBackgroundGet Function.

SCC_EXCAP_ENUM_CHANGED_FILES

0x00000004L

Supports the SccEnumChangedFiles Function.

SCC_EXCAP_POPULATELIST_DIR

0x00000008L

Supports the SccPopulateDirList Function.

SCC_EXCAP_QUERYCHANGES

0x00000010L

Supports the SccQueryChanges Function.

SCC_EXCAP_ADD_FILES_FROM_SCC

0x00000020L

Supports the SccAddFilesFromSCC Function.

SCC_EXCAP_GET_USER_OPTIONS

0x00000040L

Supports the SccGetUserOption Function.

See Also

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker