Changeset 3585 in vbox
- Timestamp:
- Jul 12, 2007 2:12:55 PM (18 years ago)
- svn:sync-xref-src-repo-rev:
- 22834
- Location:
- trunk/include/VBox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/VBoxGuest.h
r3568 r3585 610 610 #define VBVA_VRDP_INDEX_TO_BIT(__index) (1 << (__index)) 611 611 612 #ifndef VRDP_NO_COM 612 613 /* 128 bit bitmap hash. */ 613 614 typedef uint8_t VRDPBITMAPHASH[16]; … … 771 772 uint8_t restore; 772 773 } VRDPORDERSAVESCREEN; 774 #endif /* VRDP_NO_COM */ 773 775 #pragma pack() 774 776 -
trunk/include/VBox/vrdpapi.h
r3359 r3585 671 671 uint32_t u32ClientId, 672 672 void *pvParm, 673 uint32_t cb Rarm);673 uint32_t cbParm); 674 674 675 675 /** … … 689 689 * @note Initialized to NULL when the application clipboard callbacks are NULL. 690 690 */ 691 DECLCALLBACKMEMBER(void, VRDPClipboard)(HVRDPSERVER h server,691 DECLCALLBACKMEMBER(void, VRDPClipboard)(HVRDPSERVER hServer, 692 692 uint32_t u32Function, 693 693 uint32_t u32Format, … … 699 699 * Query various information from the VRDP server. 700 700 * 701 * @param hServer The VRDP server handle. 701 702 * @param index VRDP_QI_* identifier of information to be returned. 702 703 * @param pvBuffer Address of memory buffer to which the information must be written. … … 719 720 #define VRDP_QP_NUMBER_MONITORS (3) 720 721 722 #pragma pack(1) 723 /* A framebuffer description. */ 724 typedef struct _VRDPFRAMEBUFFERINFO 725 { 726 const uint8_t *pu8Bits; 727 int xOrigin; 728 int yOrigin; 729 unsigned cWidth; 730 unsigned cHeight; 731 unsigned cBitsPerPixel; 732 unsigned cbLine; 733 } VRDPFRAMEBUFFERINFO; 734 735 #define VRDP_INPUT_SCANCODE 0 736 #define VRDP_INPUT_POINT 1 737 #define VRDP_INPUT_CAD 2 738 #define VRDP_INPUT_RESET 3 739 740 typedef struct _VRDPINPUTSCANCODE 741 { 742 unsigned uScancode; 743 } VRDPINPUTSCANCODE; 744 745 #define VRDP_INPUT_POINT_BUTTON1 0x01 746 #define VRDP_INPUT_POINT_BUTTON2 0x02 747 #define VRDP_INPUT_POINT_BUTTON3 0x04 748 #define VRDP_INPUT_POINT_WHEEL_UP 0x08 749 #define VRDP_INPUT_POINT_WHEEL_DOWN 0x10 750 751 typedef struct _VRDPINPUTPOINT 752 { 753 int x; 754 int y; 755 unsigned uButtons; 756 } VRDPINPUTPOINT; 757 #pragma pack() 758 721 759 /** The VRDP server callbacks. Interface version 1. */ 722 760 typedef struct _VRDPCALLBACKS_1 … … 734 772 * @param pcbOut Size in bytes of returned information value. 735 773 * 736 * @remark The VRDP server checks the *pcbOut. 0 there means no information was returned. 737 * A value greater than cbBuffer means that information is too big to fit in the 738 * buffer, in that case no information was placed to the buffer. 739 */ 740 DECLCALLBACKMEMBER(void, VRDPQueryProperty)(void *pvCallback, 741 uint32_t index, 742 void *pvBuffer, 743 uint32_t cbBuffer, 744 uint32_t *pcbOut); 774 * @return IPRT status code. VINF_BUFFER_OVERFLOW if the buffer is too small for the value. 775 */ 776 DECLCALLBACKMEMBER(int, VRDPCallbackQueryProperty)(void *pvCallback, 777 uint32_t index, 778 void *pvBuffer, 779 uint32_t cbBuffer, 780 uint32_t *pcbOut); 745 781 746 782 /* A client is logging in, the application must decide whether … … 834 870 const void *pvData, 835 871 uint32_t cbData); 872 873 /* The framebuffer information is queried. 874 * 875 * @param pvCallback The callback specific pointer. 876 * @param uScreenId The framebuffer index. 877 * @param pInfo The information structure to ber filled. 878 * 879 * @return Whether the framebuffer is available. 880 */ 881 DECLCALLBACKMEMBER(bool, VRDPCallbackFramebufferQuery)(void *pvCallback, 882 unsigned uScreenId, 883 VRDPFRAMEBUFFERINFO *pInfo); 884 885 /* The framebuffer is locked. 886 * 887 * @param pvCallback The callback specific pointer. 888 * @param uScreenId The framebuffer index. 889 */ 890 DECLCALLBACKMEMBER(void, VRDPCallbackFramebufferLock)(void *pvCallback, 891 unsigned uScreenId); 892 893 /* The framebuffer is unlocked. 894 * 895 * @param pvCallback The callback specific pointer. 896 * @param uScreenId The framebuffer index. 897 */ 898 DECLCALLBACKMEMBER(void, VRDPCallbackFramebufferUnlock)(void *pvCallback, 899 unsigned uScreenId); 900 901 /* Input from the client. 902 * 903 * @param pvCallback The callback specific pointer. 904 * @param pvInput The input information. 905 * @param cbInput The size of the input information. 906 */ 907 DECLCALLBACKMEMBER(void, VRDPCallbackInput)(void *pvCallback, 908 const void *pvInput, 909 unsigned cbInput); 910 911 /* Video mode hint from the client. 912 * 913 * @param pvCallback The callback specific pointer. 914 * @param cWidth Requested width. 915 * @param cHeight Requested height. 916 * @param cBitsPerPixel Requested color depth. 917 * @param uScreenId The framebuffer index. 918 */ 919 DECLCALLBACKMEMBER(void, VRDPCallbackVideoModeHint)(void *pvCallback, 920 unsigned cWidth, 921 unsigned cHeight, 922 unsigned cBitsPerPixel, 923 unsigned uScreenId); 924 836 925 } VRDPCALLBACKS_1; 837 926
Note:
See TracChangeset
for help on using the changeset viewer.