19 #ifndef FREERDP_SERVER_SHADOW_WIN_H
20 #define FREERDP_SERVER_SHADOW_WIN_H
22 #include <freerdp/assistance.h>
24 #include <freerdp/server/shadow.h>
28 #include <winpr/crt.h>
29 #include <winpr/synch.h>
30 #include <winpr/thread.h>
31 #include <winpr/stream.h>
32 #include <winpr/collections.h>
40 rdpShadowSubsystem base;
49 HANDLE RdpUpdateEnterEvent;
50 HANDLE RdpUpdateLeaveEvent;
51 rdpAssistanceFile* pAssistanceFile;
52 _IRDPSessionEvents* pSessionEvents;
53 IRDPSRAPISharingSession* pSharingSession;
54 IRDPSRAPIInvitation* pInvitation;
55 IRDPSRAPIInvitationManager* pInvitationMgr;
56 IRDPSRAPISessionProperties* pSessionProperties;
57 IRDPSRAPIVirtualChannelManager* pVirtualChannelMgr;
58 IRDPSRAPIApplicationFilter* pApplicationFilter;
59 IRDPSRAPIAttendeeManager* pAttendeeMgr;
65 UINT MetadataBufferSize;
66 BOOL dxgiSurfaceMapped;
67 BOOL dxgiFrameAcquired;
68 ID3D11Device* dxgiDevice;
69 IDXGISurface* dxgiSurface;
70 ID3D11Texture2D* dxgiStage;
71 IDXGIResource* dxgiResource;
72 D3D_FEATURE_LEVEL featureLevel;
73 ID3D11Texture2D* dxgiDesktopImage;
74 DXGI_OUTDUPL_FRAME_INFO dxgiFrameInfo;
75 ID3D11DeviceContext* dxgiDeviceContext;
76 IDXGIOutputDuplication* dxgiOutputDuplication;