20 #ifndef FREERDP_CHANNEL_LOCATION_SERVER_LOCATION_H
21 #define FREERDP_CHANNEL_LOCATION_SERVER_LOCATION_H
23 #include <freerdp/channels/location.h>
24 #include <freerdp/channels/wtsvc.h>
33 typedef UINT (*psLocationServerOpen)(LocationServerContext* context);
34 typedef UINT (*psLocationServerClose)(LocationServerContext* context);
36 typedef BOOL (*psLocationServerChannelIdAssigned)(LocationServerContext* context,
39 typedef UINT (*psLocationServerInitialize)(LocationServerContext* context, BOOL externalThread);
40 typedef UINT (*psLocationServerPoll)(LocationServerContext* context);
41 typedef BOOL (*psLocationServerChannelHandle)(LocationServerContext* context, HANDLE* handle);
43 typedef UINT (*psLocationServerServerReady)(LocationServerContext* context,
45 typedef UINT (*psLocationServerClientReady)(LocationServerContext* context,
48 typedef UINT (*psLocationServerBaseLocation3D)(
50 typedef UINT (*psLocationServerLocation2DDelta)(
52 typedef UINT (*psLocationServerLocation3DDelta)(
101 psLocationServerServerReady ServerReady;
130 rdpContext* rdpcontext;
133 FREERDP_API
void location_server_context_free(LocationServerContext* context);
135 WINPR_ATTR_MALLOC(location_server_context_free, 1)
136 FREERDP_API LocationServerContext* location_server_context_new(HANDLE vcm);
psLocationServerClose Close
psLocationServerBaseLocation3D BaseLocation3D
psLocationServerLocation3DDelta Location3DDelta
psLocationServerLocation2DDelta Location2DDelta
psLocationServerPoll Poll
psLocationServerChannelIdAssigned ChannelIdAssigned
psLocationServerInitialize Initialize
psLocationServerOpen Open
psLocationServerClientReady ClientReady
psLocationServerChannelHandle ChannelHandle