Mobile SDK for Windows Apps2.0
Transforming Windows apps into Mobile apps
Display.h
Go to the documentation of this file.
00001 
00011 #pragma once
00012 
00013 #include <cmp.h>
00014 
00015 [
00016     object,
00017     oleautomation,
00018     pointer_default(unique),
00019     nonextensible,
00020     uuid("3E5A4BF5-CF8B-4EBB-B38F-1498B200BBAB"),
00021     helpstring("Citrix Mobility Display Interface")
00022 ]
00023 __interface IDisplay: IUnknown
00024 {
00025     STDMETHODIMP GetOrientation([out]CMP_ORIENTATION_DATA* orientationData, [out,retval]CMPRESULT* result);
00026     STDMETHODIMP SetOrientation([in]CMP_ORIENTATION_POSITION orientation, [in]INT16 orientationFlags, [out,retval]CMPRESULT* result);
00027     STDMETHODIMP GetScrollMode([out]CMP_SCROLL_MODE* scrollMode, [out,retval]CMPRESULT* result);
00028     STDMETHODIMP SetScrollMode([in]CMP_SCROLL_MODE scrollMode, [out,retval]CMPRESULT* result);
00029     STDMETHODIMP SetViewportOrigin([in]CMP_DISPLAY_POINT* pt, [in]INT16 viewportFlags, [out,retval]CMPRESULT* result);
00030     STDMETHODIMP GetViewportOrigin([in]CMP_DISPLAY_POINT* pt, [out,retval]CMPRESULT* result);
00031     STDMETHODIMP GetDisplaySettings([out]CMP_DISPLAY_SETTINGS *dispSettings, [out, retval]CMPRESULT* result);
00032 
00033     STDMETHODIMP SetViewport([in]INT16 flags, [in]INT16 zoomFactor, [in]CMP_DISPLAY_RECT* serverViewport,
00034                              [out,retval]CMPRESULT* result);
00035     STDMETHODIMP GetViewport([out]INT16* flags, [out]INT16* zoomFactor, [out]CMP_DISPLAY_RECT* serverViewport, 
00036                              [out]CMP_DISPLAY_RECT* clientViewport, [out,retval]CMPRESULT* result);
00037 
00038 };
00039 
00040 [
00041     object,
00042     oleautomation,
00043     pointer_default(unique),
00044     nonextensible,
00045     uuid("72F41A80-57FE-4825-8B4C-B149440A4A82"),
00046     helpstring("Citrix Mobility Orientation Interface")
00047 ]
00048 __interface IOrientation: IUnknown
00049 {
00050     STDMETHODIMP GetOrientation([out]CMP_ORIENTATION_DATA* orientationData, [out,retval]CMPRESULT* result);
00051     STDMETHODIMP SetOrientation([in]CMP_ORIENTATION_POSITION orientation, [in]INT16 orientationFlags, [out,retval]CMPRESULT* result);
00052     STDMETHODIMP SetSupportedOrientations([in]CMP_SUPPORTED_ORIENTATIONS supportedOrientations, [out,retval]CMPRESULT* result);
00053     STDMETHODIMP GetSupportedOrientations([out]CMP_SUPPORTED_ORIENTATIONS *supportedOrientations, [out,retval]CMPRESULT* result);
00054 };
00055 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Events Defines