disp.h (1560B)
1/** 2 * FreeRDP: A Remote Desktop Protocol Implementation 3 * Display Update Virtual Channel Extension 4 * 5 * Copyright 2013 Marc-Andre Moreau <marcandre.moreau@gmail.com> 6 * Copyright 2015 Thincast Technologies GmbH 7 * Copyright 2015 DI (FH) Martin Haimberger <martin.haimberger@thincast.com> 8 * 9 * Licensed under the Apache License, Version 2.0 (the "License"); 10 * you may not use this file except in compliance with the License. 11 * You may obtain a copy of the License at 12 * 13 * http://www.apache.org/licenses/LICENSE-2.0 14 * 15 * Unless required by applicable law or agreed to in writing, software 16 * distributed under the License is distributed on an "AS IS" BASIS, 17 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 18 * See the License for the specific language governing permissions and 19 * limitations under the License. 20 */ 21 22#ifndef FREERDP_CHANNEL_DISP_CLIENT_DISP_H 23#define FREERDP_CHANNEL_DISP_CLIENT_DISP_H 24 25#include <freerdp/channels/disp.h> 26 27typedef struct _disp_client_context DispClientContext; 28 29typedef UINT (*pcDispCaps)(DispClientContext* context, UINT32 MaxNumMonitors, 30 UINT32 MaxMonitorAreaFactorA, UINT32 MaxMonitorAreaFactorB); 31typedef UINT (*pcDispSendMonitorLayout)(DispClientContext* context, UINT32 NumMonitors, 32 DISPLAY_CONTROL_MONITOR_LAYOUT* Monitors); 33 34struct _disp_client_context 35{ 36 void* handle; 37 void* custom; 38 39 pcDispCaps DisplayControlCaps; 40 pcDispSendMonitorLayout SendMonitorLayout; 41}; 42 43#endif /* FREERDP_CHANNEL_DISP_CLIENT_DISP_H */