__HANDSOFFMODE Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Flags for HandsOn/Off functions of the IVsTrackProjectDocuments3 interface.
public enum class __HANDSOFFMODE
public enum class __HANDSOFFMODE
enum __HANDSOFFMODE
public enum __HANDSOFFMODE
type __HANDSOFFMODE =
Public Enum __HANDSOFFMODE
- Inheritance
-
__HANDSOFFMODE
Fields
HANDSOFFMODE_AsyncOperation | -2147483648 | Caller must have access to the file for an extended period of time. Caller guarantees to call HandsOnFiles(Int32, String[]) to tell parties when they can access the file. Incompatible |
HANDSOFFMODE_DeleteAccess | 4 | Caller must have access to delete or rename. |
HANDSOFFMODE_FullAccess | 7 | Caller must have power to rename or delete the file. |
HANDSOFFMODE_ReadAccess | 1 | Caller must have read-only access (shared read locks are OK to keep open). |
HANDSOFFMODE_ReadWriteAccess | 3 | Caller must have both read and write. |
HANDSOFFMODE_WriteAccess | 2 | Caller must have write-only access (shared write locks are OK to keep open). |
Remarks
COM Signature
From IVsTrackProjectDocumentsEvents80.idl:
enum __HANDSOFFMODE
{
HANDSOFFMODE_ReadAccess = 0x00000001,
HANDSOFFMODE_WriteAccess = 0x00000002,
HANDSOFFMODE_DeleteAccess = 0x00000004,
HANDSOFFMODE_AsyncOperation = 0x80000000,
HANDSOFFMODE_FullAccess = HANDSOFFMODE_DeleteAccess | HANDSOFFMODE_ReadAccess | HANDSOFFMODE_WriteAccess,
HANDSOFFMODE_ReadWriteAccess = HANDSOFFMODE_ReadAccess | HANDSOFFMODE_WriteAccess // caller needs both read & write
};
typedef DWORD HANDSOFFMODE;