OpenServiceActivityContentType enumeration

Specifies the content type, which is also called the Accelerator context.

Syntax

typedef enum OpenServiceActivityContentType { 
  ActivityContentNone       = -1,
  ActivityContentDocument   = 0,
  ActivityContentSelection  = 1,
  ActivityContentLink       = 2,
  ActivityContentCount      = 3
} OpenServiceActivityContentType;

Constants

  • ActivityContentNone
    No type. Use this value to initialize variables.

  • ActivityContentDocument
    The content is a document.

  • ActivityContentSelection
    The content is selected text.

  • ActivityContentLink
    The content is a hyperlink.

  • ActivityContentCount
    The total number of content types.

Requirements

Minimum supported client

Windows 7

Minimum supported server

Windows Server 2008 R2

Header

Openservice.h

IDL

Openservice.idl

See also

IOpenServiceActivityInput::GetType