FreeRDP
camera_device_enumerator_main.c File Reference
#include <freerdp/config.h>
#include <freerdp/freerdp.h>
#include <freerdp/channels/log.h>
#include <freerdp/server/rdpecam-enumerator.h>

Macros

#define TAG   CHANNELS_TAG("rdpecam-enumerator.server")
 

Enumerations

enum  eEnumeratorChannelState { ENUMERATOR_INITIAL , ENUMERATOR_OPENED }
 

Functions

static UINT enumerator_server_initialize (CamDevEnumServerContext *context, BOOL externalThread)
 
static UINT enumerator_server_open_channel (enumerator_server *enumerator)
 
static UINT enumerator_server_handle_select_version_request (CamDevEnumServerContext *context, wStream *s, const CAM_SHARED_MSG_HEADER *header)
 
static UINT enumerator_server_recv_device_added_notification (CamDevEnumServerContext *context, wStream *s, const CAM_SHARED_MSG_HEADER *header)
 
static UINT enumerator_server_recv_device_removed_notification (CamDevEnumServerContext *context, wStream *s, const CAM_SHARED_MSG_HEADER *header)
 
static UINT enumerator_process_message (enumerator_server *enumerator)
 
static UINT enumerator_server_context_poll_int (CamDevEnumServerContext *context)
 
static HANDLE enumerator_server_get_channel_handle (enumerator_server *enumerator)
 
static DWORD WINAPI enumerator_server_thread_func (LPVOID arg)
 
static UINT enumerator_server_open (CamDevEnumServerContext *context)
 
static UINT enumerator_server_close (CamDevEnumServerContext *context)
 
static UINT enumerator_server_context_poll (CamDevEnumServerContext *context)
 
static BOOL enumerator_server_context_handle (CamDevEnumServerContext *context, HANDLE *handle)
 
static UINT enumerator_server_packet_send (CamDevEnumServerContext *context, wStream *s)
 
static UINT enumerator_send_select_version_response_pdu (CamDevEnumServerContext *context, const CAM_SELECT_VERSION_RESPONSE *selectVersionResponse)
 
CamDevEnumServerContext * cam_dev_enum_server_context_new (HANDLE vcm)
 
void cam_dev_enum_server_context_free (CamDevEnumServerContext *context)
 

Macro Definition Documentation

◆ TAG

#define TAG   CHANNELS_TAG("rdpecam-enumerator.server")

FreeRDP: A Remote Desktop Protocol Implementation Video Capture Virtual Channel Extension

Copyright 2022 Pascal Nowack Pasca.nosp@m.l.No.nosp@m.wack@.nosp@m.gmx..nosp@m.de

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

  http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Enumeration Type Documentation

◆ eEnumeratorChannelState

Enumerator
ENUMERATOR_INITIAL 
ENUMERATOR_OPENED 

Function Documentation

◆ cam_dev_enum_server_context_free()

void cam_dev_enum_server_context_free ( CamDevEnumServerContext *  context)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ cam_dev_enum_server_context_new()

CamDevEnumServerContext* cam_dev_enum_server_context_new ( HANDLE  vcm)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ enumerator_process_message()

static UINT enumerator_process_message ( enumerator_server *  enumerator)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ enumerator_send_select_version_response_pdu()

static UINT enumerator_send_select_version_response_pdu ( CamDevEnumServerContext *  context,
const CAM_SELECT_VERSION_RESPONSE selectVersionResponse 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ enumerator_server_close()

static UINT enumerator_server_close ( CamDevEnumServerContext *  context)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ enumerator_server_context_handle()

static BOOL enumerator_server_context_handle ( CamDevEnumServerContext *  context,
HANDLE *  handle 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ enumerator_server_context_poll()

static UINT enumerator_server_context_poll ( CamDevEnumServerContext *  context)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ enumerator_server_context_poll_int()

static UINT enumerator_server_context_poll_int ( CamDevEnumServerContext *  context)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ enumerator_server_get_channel_handle()

static HANDLE enumerator_server_get_channel_handle ( enumerator_server *  enumerator)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ enumerator_server_handle_select_version_request()

static UINT enumerator_server_handle_select_version_request ( CamDevEnumServerContext *  context,
wStream s,
const CAM_SHARED_MSG_HEADER header 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ enumerator_server_initialize()

static UINT enumerator_server_initialize ( CamDevEnumServerContext *  context,
BOOL  externalThread 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ enumerator_server_open()

static UINT enumerator_server_open ( CamDevEnumServerContext *  context)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ enumerator_server_open_channel()

static UINT enumerator_server_open_channel ( enumerator_server *  enumerator)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ enumerator_server_packet_send()

static UINT enumerator_server_packet_send ( CamDevEnumServerContext *  context,
wStream s 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ enumerator_server_recv_device_added_notification()

static UINT enumerator_server_recv_device_added_notification ( CamDevEnumServerContext *  context,
wStream s,
const CAM_SHARED_MSG_HEADER header 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ enumerator_server_recv_device_removed_notification()

static UINT enumerator_server_recv_device_removed_notification ( CamDevEnumServerContext *  context,
wStream s,
const CAM_SHARED_MSG_HEADER header 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ enumerator_server_thread_func()

static DWORD WINAPI enumerator_server_thread_func ( LPVOID  arg)
static
Here is the call graph for this function:
Here is the caller graph for this function: