FreeRDP
Loading...
Searching...
No Matches
window_info_service.h
Go to the documentation of this file.
1
20#ifndef FREERDP_CLIENT_WINDOW_INFO_SERVICE_H
21#define FREERDP_CLIENT_WINDOW_INFO_SERVICE_H
22
23#include <freerdp/api.h>
25
26#ifdef __cplusplus
27extern "C"
28{
29#endif
30
51 typedef struct
52 {
53 void* custom;
54
58 HRESULT (*GetWindowInfo)(void* custom, UINT64 remoteHwnd, WTS_WINDOW_INFO* info);
59
61 UINT32 (*GetSessionType)(void* custom);
63
67 WINPR_ATTR_NODISCARD
68 FREERDP_API IWTSWindowInfoService*
70
76 UINT64 remoteHwnd);
77
82
83#ifdef __cplusplus
84}
85#endif
86
87#endif /* FREERDP_CLIENT_WINDOW_INFO_SERVICE_H */
what the client gives the service to answer from
FREERDP_API void freerdp_client_window_info_service_detach(IWTSWindowInfoService *service)
stops using source: from now on the service answers E_UNEXPECTED. To call before what source uses goe...
FREERDP_API void freerdp_client_window_info_service_changed(IWTSWindowInfoService *service, UINT64 remoteHwnd)
a window changed (moved, resized, scaled, shown or hidden): the subscriber gets its new WTS_WINDOW_IN...
WINPR_ATTR_NODISCARD FREERDP_API IWTSWindowInfoService * freerdp_client_window_info_service_new(const WINDOW_INFO_SOURCE *source)
a new service (one reference for the caller) answering from source, which is copied
40 bytes on x64