20 #ifndef FREERDP_CHANNEL_CAMERA_DEVICE_SERVER_CAMERA_DEVICE_H
21 #define FREERDP_CHANNEL_CAMERA_DEVICE_SERVER_CAMERA_DEVICE_H
23 #include <freerdp/channels/rdpecam.h>
24 #include <freerdp/channels/wtsvc.h>
33 typedef UINT (*psCameraDeviceServerOpen)(CameraDeviceServerContext* context);
34 typedef UINT (*psCameraDeviceServerClose)(CameraDeviceServerContext* context);
36 typedef BOOL (*psCameraDeviceServerChannelIdAssigned)(CameraDeviceServerContext* context,
39 typedef UINT (*psCameraDeviceServerInitialize)(CameraDeviceServerContext* context,
41 typedef UINT (*psCameraDeviceServerPoll)(CameraDeviceServerContext* context);
42 typedef BOOL (*psCameraDeviceServerChannelHandle)(CameraDeviceServerContext* context,
45 typedef UINT (*psCameraDeviceServerSuccessResponse)(
47 typedef UINT (*psCameraDeviceServerErrorResponse)(CameraDeviceServerContext* context,
50 typedef UINT (*psCameraDeviceServerActivateDeviceRequest)(
51 CameraDeviceServerContext* context,
53 typedef UINT (*psCameraDeviceServerDeactivateDeviceRequest)(
54 CameraDeviceServerContext* context,
57 typedef UINT (*psCameraDeviceServerStreamListRequest)(
59 typedef UINT (*psCameraDeviceServerStreamListResponse)(
62 typedef UINT (*psCameraDeviceServerMediaTypeListRequest)(
63 CameraDeviceServerContext* context,
65 typedef UINT (*psCameraDeviceServerMediaTypeListResponse)(
66 CameraDeviceServerContext* context,
69 typedef UINT (*psCameraDeviceServerCurrentMediaTypeRequest)(
70 CameraDeviceServerContext* context,
72 typedef UINT (*psCameraDeviceServerCurrentMediaTypeResponse)(
73 CameraDeviceServerContext* context,
76 typedef UINT (*psCameraDeviceServerStartStreamsRequest)(
78 typedef UINT (*psCameraDeviceServerStopStreamsRequest)(
81 typedef UINT (*psCameraDeviceServerSampleRequest)(CameraDeviceServerContext* context,
83 typedef UINT (*psCameraDeviceServerSampleResponse)(CameraDeviceServerContext* context,
85 typedef UINT (*psCameraDeviceServerSampleErrorResponse)(
88 typedef UINT (*psCameraDeviceServerPropertyListRequest)(
90 typedef UINT (*psCameraDeviceServerPropertyListResponse)(
93 typedef UINT (*psCameraDeviceServerPropertyValueRequest)(
95 typedef UINT (*psCameraDeviceServerPropertyValueResponse)(
96 CameraDeviceServerContext* context,
99 typedef UINT (*psCameraDeviceServerSetPropertyValueRequest)(
100 CameraDeviceServerContext* context,
272 rdpContext* rdpcontext;
275 FREERDP_API
void camera_device_server_context_free(CameraDeviceServerContext* context);
277 WINPR_ATTR_MALLOC(camera_device_server_context_free, 1)
278 FREERDP_API CameraDeviceServerContext* camera_device_server_context_new(HANDLE vcm);
psCameraDeviceServerPoll Poll
psCameraDeviceServerSampleErrorResponse SampleErrorResponse
psCameraDeviceServerActivateDeviceRequest ActivateDeviceRequest
psCameraDeviceServerSampleRequest SampleRequest
psCameraDeviceServerPropertyListRequest PropertyListRequest
psCameraDeviceServerCurrentMediaTypeResponse CurrentMediaTypeResponse
psCameraDeviceServerErrorResponse ErrorResponse
psCameraDeviceServerPropertyListResponse PropertyListResponse
psCameraDeviceServerMediaTypeListRequest MediaTypeListRequest
psCameraDeviceServerChannelIdAssigned ChannelIdAssigned
psCameraDeviceServerStreamListResponse StreamListResponse
psCameraDeviceServerOpen Open
psCameraDeviceServerMediaTypeListResponse MediaTypeListResponse
psCameraDeviceServerDeactivateDeviceRequest DeactivateDeviceRequest
psCameraDeviceServerStopStreamsRequest StopStreamsRequest
char * virtualChannelName
psCameraDeviceServerStreamListRequest StreamListRequest
psCameraDeviceServerChannelHandle ChannelHandle
psCameraDeviceServerClose Close
psCameraDeviceServerSetPropertyValueRequest SetPropertyValueRequest
psCameraDeviceServerStartStreamsRequest StartStreamsRequest
psCameraDeviceServerPropertyValueRequest PropertyValueRequest
psCameraDeviceServerSuccessResponse SuccessResponse
psCameraDeviceServerSampleResponse SampleResponse
psCameraDeviceServerPropertyValueResponse PropertyValueResponse
psCameraDeviceServerInitialize Initialize
psCameraDeviceServerCurrentMediaTypeRequest CurrentMediaTypeRequest