Mobile SDK for Windows Apps 1.0
Extending Windows Apps for Mobile
cmpcap.h File Reference

CMPAPI - Capability definitions for Citrix Mobility Pack. More...

Go to the source code of this file.

Enumerations

enum  CMP_CAP_ID {
  CAPID_UNKNOWN = 0x0000, CAPID_INPUT = 0x0001, CAPID_DISPLAY_INFO = 0x0002, CAPID_DEVICE_INFO = 0x0003,
  CAPID_ORIENTATION = 0x0005, CAPID_SCROLL_MODES = 0x0006, CAPID_BUTTON_SET_TARGET = 0x0007, CAPID_VIEWPORT = 0x0008,
  CAPID_DYNAMIC_DISPLAY = 0x0009, CAPID_PICKER_CONTROL = 0x000A, CAPID_PHONE_CALL = 0x000B, CAPID_SMS = 0x000C,
  CAPID_TAKE_PICTURE = 0x000E, CAPID_NOTIFICATION = 0x000F, CAPID_RECEIVER_CONTROLS = 0x0010, CAPID_EVENT_FILTER = 0x0011
}
 Capability identifiers. More...
enum  CMP_CAP_BUTTON_KEY_ID {
  CAP_BUTTON_ENABLE = 0, CAP_BUTTON_BACK = 1, CAP_BUTTON_SEARCH = 2, CAP_BUTTON_HOME = 3,
  CAP_BUTTON_MENU = 4, CAP_BUTTON_MASK = 5
}
 These keys correspond to CAPID_BUTTON_SET_TARGET. More...
enum  CMP_CAP_TAKE_PICTURE_KEY_ID { CAP_TAKE_PICTURE_ENABLE = 0, CAP_TAKE_PICTURE_JPEG = 1, CAP_TAKE_PICTURE_PNG = 2 }
 These keys correspond to CAPID_TAKE_PICTURE. More...
enum  CMP_CAP_INPUT_KEY_ID {
  CAP_INPUT_ENABLE = 0, CAP_INPUT_KYBD = 1, CAP_INPUT_PHYSICAL_KYBD = 2, CAP_INPUT_TRACKBALL = 3,
  CAP_INPUT_MOUSE = 4, CAP_INPUT_STD_KYBD = 5, CAP_INPUT_NUMPAD_KYBD = 6, CAP_INPUT_PHONEPAD_KYBD = 7,
  CAP_INPUT_URL_KYBD = 8, CAP_INPUT_EMAIL_KYBD = 9, CAP_INPUT_PHONE_NAME_KYBD = 10, CAP_INPUT_NUMBERS_PUNC_KYBD = 11,
  CAP_INPUT_DECIMAL_POINT_KYBD = 12, CAP_INPUT_HIDE = 13, CAP_INPUT_AUTO_CORRECT = 14, CAP_INPUT_AUTO_CAPITALIZATION = 15,
  CAP_INPUT_AUTO_CAPITAL_WORD = 16, CAP_INPUT_AUTO_CAPITAL_SENTENCE = 17, CAP_INPUT_AUTO_CAPITAL_LETTERS = 18, CAP_INPUT_RETURN_KEY_DEFAULT = 19,
  CAP_INPUT_RETURN_KEY_GO = 20, CAP_INPUT_RETURN_KEY_GOOGLE = 21, CAP_INPUT_RETURN_KEY_JOIN = 22, CAP_INPUT_RETURN_KEY_NEXT = 23,
  CAP_INPUT_RETURN_KEY_ROUTE = 24, CAP_INPUT_RETURN_KEY_SEARCH = 25, CAP_INPUT_RETURN_KEY_SEND = 26, CAP_INPUT_RETURN_KEY_DONE = 27,
  CAP_INPUT_RETURN_KEY = 28
}
 These keys correspond to CAPID_INPUT. More...
enum  CMP_CAP_ORIENTATION_KEY_ID {
  CAP_ORIENTATION_ENABLE = 0, CAP_ORIENTATION_DEVICE = 1, CAP_ORIENTATION_APPLICATION = 2, CAP_ORIENTATION_PORTRAIT = 3,
  CAP_ORIENTATION_PORTRAIT_DOWN = 4, CAP_ORIENTATION_LANDSCAPE_LEFT = 5, CAP_ORIENTATION_LANDSCAPE_RIGHT = 6, CAP_ORIENTATION_LOCK_UNLOCK = 9,
  CAP_ORIENTATION_FOLLOW_SENSOR = 10
}
 These keys correspond to CAPID_ORIENTATION. More...
enum  CMP_CAP_DISPLAY_KEY_ID {
  CAP_DISPLAY_ENABLE = 0, CAP_DISPLAY_RESOLUTION_FLAG = 1, CAP_DISPLAY_COLOR_FLAG = 2, CAP_DISPLAY_PHYSICAL_FLAG = 3,
  CAP_DISPLAY_PPI_FLAG = 4, CAP_DISPLAY_PPI_X_Y_FLAG = 5, CAP_DISPLAY_ORIENTATION_FLAG = 6, CAP_DISPLAY_METRICS = 7,
  CAP_DISPLAY_WIDTH = 8, CAP_DISPLAY_HEIGHT = 9, CAP_DISPLAY_X_MILLI_INCHES = 10, CAP_DISPLAY_Y_MILLI_INCHES = 11,
  CAP_DISPLAY_PIXELS_PER_INCH = 12, CAP_DISPLAY_X_PIXELS_PER_INCH = 13, CAP_DISPLAY_Y_PIXELS_PER_INCH = 14, CAP_DISPLAY_INITIAL_ORIENTATION = 15,
  CAP_DISPLAY_COLOR_DEPTH = 16
}
 These keys correspond to CAPID_DISPLAY_INFO. More...
enum  CMP_CAP_SCROLLMODES_KEY_ID {
  CAP_SCROLLMODES_ENABLE = 0, CAP_SCROLLMODES_MOUSEWHEEL_FLAG = 1, CAP_SCROLLMODES_DRAG_FLAG = 2, CAP_SCROLLMODES_PAN_FLAG = 3,
  CAP_SCROLLMODES_DEFAULT_MODE = 4
}
 These keys correspond to CAPID_SCROLL_MODES. More...
enum  CMP_CAP_DEVICE_KEY_ID {
  CAP_DEVICE_ENABLE = 0, CAP_DEVICE_OS = 1, CAP_DEVICE_OS_VER_HIGH = 2, CAP_DEVICE_OS_VER_LOW = 3,
  CAP_DEVICE_OS_VER_MINOR = 4, CAP_DEVICE_OS_VER_BUILD = 5, CAP_DEVICE_TYPE = 6
}
 These keys correspond to CAPID_DEVICE_INFO. More...
enum  CMP_CAP_VIEWPORT_KEY_ID { CAP_VIEWPORT_ENABLE = 0 }
 These keys correspond to CAPID_VIEWPORT. More...
enum  CMP_CAP_DYNAMIC_DISPLAY_KEY_ID { CAP_DYNAMIC_DISPLAY_ENABLE = 0 }
 These keys correspond to CAPID_DYNAMIC_DISPLAY. More...
enum  CMP_CAP_PICKER_CONTROL_KEY_ID { CAP_PICKER_CONTROL_ENABLE = 0, CAP_PICKER_CONTROL_TITLE_FLAG = 1 }
 These keys correspond to CAPID_PICKER_CONTROL. More...
enum  CMP_CAP_PHONE_CALL_KEY_ID { CAP_PHONE_CALL_ENABLE = 0 }
 These keys correspond to CAPID_PHONE_CALL. More...
enum  CMP_CAP_SMS_KEY_ID { CAP_SMS_ENABLE = 0 }
 These keys correspond to CAPID_SMS. More...
enum  CMP_CAP_NOTIFICATION_KEY_ID {
  CAP_NOTIFICATION_ENABLE = 0, CAP_NOTIFICATION_LIGHT = 1, CAP_NOTIFICATION_VIBRATE = 2, CAP_NOTIFICATION_AUDIO = 3,
  CAP_NOTIFICATION_TEXT = 4
}
 These keys correspond to CAPID_NOTIFICATION. More...
enum  CMP_CAP_RECEIVER_CONTROLS_KEY_ID { CAP_RECEIVER_CONTROLS_ENABLE = 0, CAP_RECEIVER_CONTROLS_DISABLE = 1 }
 These keys correspond to CAPID_RECEIVER_CONTROLS. More...
enum  CMP_CAP_EVENT_FILTER_KEY_ID { CAP_EVENT_FILTER_ENABLE = 0, CAP_EVENT_FILTER_SUPPORT = 1 }
 These keys correspond to CAPID_EVENT_FILTER. More...

Detailed Description

CMPAPI - Capability definitions for Citrix Mobility Pack.


Enumeration Type Documentation

These keys correspond to CAPID_BUTTON_SET_TARGET.

Enumerator:
CAP_BUTTON_ENABLE 

Bool - capability is enabled

CAP_BUTTON_BACK 

Bool - back button supported

CAP_BUTTON_SEARCH 

Bool - search button supported

CAP_BUTTON_HOME 

Bool - home button supported

CAP_BUTTON_MENU 

Bool - menu button supported

CAP_BUTTON_MASK 

UInt16 - button mask value

These keys correspond to CAPID_DEVICE_INFO.

Enumerator:
CAP_DEVICE_ENABLE 

Bool - capability is enabled

CAP_DEVICE_OS 

UINT16 - device operating system

CAP_DEVICE_OS_VER_HIGH 

UINT16 - os version high version

CAP_DEVICE_OS_VER_LOW 

UINT16 - os version low version

CAP_DEVICE_OS_VER_MINOR 

UINT16 - os version minor version

CAP_DEVICE_OS_VER_BUILD 

UINT16 - os version build version

CAP_DEVICE_TYPE 

UINT16 - device type

These keys correspond to CAPID_DISPLAY_INFO.

Enumerator:
CAP_DISPLAY_ENABLE 

Bool - capability is enabled

CAP_DISPLAY_RESOLUTION_FLAG 

Bool - resolution for x and y valid

CAP_DISPLAY_COLOR_FLAG 

Bool - color depth valid

CAP_DISPLAY_PHYSICAL_FLAG 

Bool - physical dimensions for x and y valid

CAP_DISPLAY_PPI_FLAG 

Bool - points per inch valid

CAP_DISPLAY_PPI_X_Y_FLAG 

Bool - points per inch valid for x and y

CAP_DISPLAY_ORIENTATION_FLAG 

Bool - orientation data valid

CAP_DISPLAY_METRICS 

UINT16 - all metrics flags in one group

CAP_DISPLAY_WIDTH 

UINT32 - width in pixels

CAP_DISPLAY_HEIGHT 

UINT32 - height in pixels

CAP_DISPLAY_X_MILLI_INCHES 

UINT32 - width in milliinches

CAP_DISPLAY_Y_MILLI_INCHES 

UINT32 - height in milliinches

CAP_DISPLAY_PIXELS_PER_INCH 

UINT32 - pixels per inch

CAP_DISPLAY_X_PIXELS_PER_INCH 

UINT32 - horizontal pixels per inch

CAP_DISPLAY_Y_PIXELS_PER_INCH 

UINT32 - vertical pixels per inch

CAP_DISPLAY_INITIAL_ORIENTATION 

UINT16 - initial orientation position

CAP_DISPLAY_COLOR_DEPTH 

UINT16 - color depth (color bits per pixel)

These keys correspond to CAPID_DYNAMIC_DISPLAY.

Enumerator:
CAP_DYNAMIC_DISPLAY_ENABLE 

Bool - capability is enabled

These keys correspond to CAPID_EVENT_FILTER.

Enumerator:
CAP_EVENT_FILTER_ENABLE 

Bool - capability is enabled

CAP_EVENT_FILTER_SUPPORT 

Bool - supports Enable/disable of events

enum CMP_CAP_ID

Capability identifiers.

Enumerator:
CAPID_UNKNOWN 

Unknown capability

CAPID_INPUT 

Input capability

CAPID_DISPLAY_INFO 

Display information capability

CAPID_DEVICE_INFO 

Device information capability

CAPID_ORIENTATION 

Orientation capability

CAPID_SCROLL_MODES 

Scroll Modes capability

CAPID_BUTTON_SET_TARGET 

Set Button Target capability

CAPID_VIEWPORT 

Get/Set Viewport capability

CAPID_DYNAMIC_DISPLAY 

Dynamic Display capability

CAPID_PICKER_CONTROL 

Picker Control capability

CAPID_PHONE_CALL 

Phone call capability

CAPID_SMS 

Send SMS capability

CAPID_TAKE_PICTURE 

Take Picture capability

CAPID_NOTIFICATION 

User notification capability

CAPID_RECEIVER_CONTROLS 

Receiver controls capability

CAPID_EVENT_FILTER 

Event filter capability

These keys correspond to CAPID_INPUT.

Enumerator:
CAP_INPUT_ENABLE 

Bool - capability is enabled

CAP_INPUT_KYBD 

Bool - supports display keyboard

CAP_INPUT_PHYSICAL_KYBD 

Bool - supports physical keyboard

CAP_INPUT_TRACKBALL 

Bool - supports trackball

CAP_INPUT_MOUSE 

Bool - supports mouse

CAP_INPUT_STD_KYBD 

Bool - supports standard display keyboard

CAP_INPUT_NUMPAD_KYBD 

Bool - supports number pad display keyboard

CAP_INPUT_PHONEPAD_KYBD 

Bool - supports phone pad display keyboard

CAP_INPUT_URL_KYBD 

Bool - supports phone pad display keyboard

CAP_INPUT_EMAIL_KYBD 

Bool - supports email display keyboard

CAP_INPUT_PHONE_NAME_KYBD 

Bool - supports phone name keyboard

CAP_INPUT_NUMBERS_PUNC_KYBD 

Bool - supports numbers and punctuation keyboard

CAP_INPUT_DECIMAL_POINT_KYBD 

Bool - supports number pad with decimal point

CAP_INPUT_HIDE 

Bool - supports hide/show display keyboard

CAP_INPUT_AUTO_CORRECT 

Bool - supports keyboard auto correction

CAP_INPUT_AUTO_CAPITALIZATION 

Bool - supports keyboard auto capitalization

CAP_INPUT_AUTO_CAPITAL_WORD 

Bool - supports keyboard auto capitalization - word

CAP_INPUT_AUTO_CAPITAL_SENTENCE 

Bool - supports keyboard auto capitalization - sentence

CAP_INPUT_AUTO_CAPITAL_LETTERS 

Bool - supports keyboard auto capitalization - letters

CAP_INPUT_RETURN_KEY_DEFAULT 

Bool - supports return key text default "return"

CAP_INPUT_RETURN_KEY_GO 

Bool - supports return key text "go"

CAP_INPUT_RETURN_KEY_GOOGLE 

Bool - supports return key text "Google"

CAP_INPUT_RETURN_KEY_JOIN 

Bool - supports return key text "Join"

CAP_INPUT_RETURN_KEY_NEXT 

Bool - supports return key text "Next"

CAP_INPUT_RETURN_KEY_ROUTE 

Bool - supports return key text "Route"

CAP_INPUT_RETURN_KEY_SEARCH 

Bool - supports return key text "Search"

CAP_INPUT_RETURN_KEY_SEND 

Bool - supports return key text "Send"

CAP_INPUT_RETURN_KEY_DONE 

Bool - supports return key text "Done"

CAP_INPUT_RETURN_KEY 

Bool - supports return key changes

These keys correspond to CAPID_NOTIFICATION.

Enumerator:
CAP_NOTIFICATION_ENABLE 

Bool - capability is enabled

CAP_NOTIFICATION_LIGHT 

Bool - supports light notification

CAP_NOTIFICATION_VIBRATE 

Bool - supports vibration

CAP_NOTIFICATION_AUDIO 

Bool - supports audio notification

CAP_NOTIFICATION_TEXT 

Bool - supports text notification

These keys correspond to CAPID_ORIENTATION.

Enumerator:
CAP_ORIENTATION_ENABLE 

Bool - capability is enabled

CAP_ORIENTATION_DEVICE 

Bool - device support orientation changes

CAP_ORIENTATION_APPLICATION 

Bool - device supports application-requested orientation changes

CAP_ORIENTATION_PORTRAIT 

Bool - device supports portrait orientation

CAP_ORIENTATION_PORTRAIT_DOWN 

Bool - device supports portrait down orientation

CAP_ORIENTATION_LANDSCAPE_LEFT 

Bool - device supports landscape left orientation

CAP_ORIENTATION_LANDSCAPE_RIGHT 

Bool - device supports landscape right orientation

CAP_ORIENTATION_LOCK_UNLOCK 

Bool - device supports locking and unlocking orientation

CAP_ORIENTATION_FOLLOW_SENSOR 

Bool - device supports follow sensor mode

These keys correspond to CAPID_PHONE_CALL.

Enumerator:
CAP_PHONE_CALL_ENABLE 

Bool - capability is enabled

These keys correspond to CAPID_PICKER_CONTROL.

Enumerator:
CAP_PICKER_CONTROL_ENABLE 

Bool - capability is enabled

CAP_PICKER_CONTROL_TITLE_FLAG 

Bool - picker title is supported

These keys correspond to CAPID_RECEIVER_CONTROLS.

Enumerator:
CAP_RECEIVER_CONTROLS_ENABLE 

Bool - capability is enabled

CAP_RECEIVER_CONTROLS_DISABLE 

Bool - receiver supports Enable/disable of controls

These keys correspond to CAPID_SCROLL_MODES.

Enumerator:
CAP_SCROLLMODES_ENABLE 

Bool - capability is enabled

CAP_SCROLLMODES_MOUSEWHEEL_FLAG 

Bool - mouse wheel emulation supported

CAP_SCROLLMODES_DRAG_FLAG 

Bool - drag mode supported

CAP_SCROLLMODES_PAN_FLAG 

Bool - pan mode supported

CAP_SCROLLMODES_DEFAULT_MODE 

UINT16 - default scroll mode

These keys correspond to CAPID_SMS.

Enumerator:
CAP_SMS_ENABLE 

Bool - capability is enabled

These keys correspond to CAPID_TAKE_PICTURE.

Enumerator:
CAP_TAKE_PICTURE_ENABLE 

Bool - capability is enabled

CAP_TAKE_PICTURE_JPEG 

Bool - camera supports JPEG

CAP_TAKE_PICTURE_PNG 

Bool - camera supports PNG

These keys correspond to CAPID_VIEWPORT.

Enumerator:
CAP_VIEWPORT_ENABLE 

Bool - capability is enabled

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Events Defines