FreeRDP
rdpdr_capabilities.c File Reference
#include <freerdp/config.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <winpr/crt.h>
#include <winpr/stream.h>
#include <freerdp/utils/rdpdr_utils.h>
#include "rdpdr_main.h"
#include "rdpdr_capabilities.h"

Macros

#define RDPDR_CAPABILITY_HEADER_LENGTH   8
 

Functions

static void rdpdr_write_general_capset (rdpdrPlugin *rdpdr, wStream *s)
 
static UINT rdpdr_process_general_capset (rdpdrPlugin *rdpdr, wStream *s, const RDPDR_CAPABILITY_HEADER *header)
 
static void rdpdr_write_printer_capset (rdpdrPlugin *rdpdr, wStream *s)
 
static UINT rdpdr_process_printer_capset (rdpdrPlugin *rdpdr, wStream *s, const RDPDR_CAPABILITY_HEADER *header)
 
static void rdpdr_write_port_capset (rdpdrPlugin *rdpdr, wStream *s)
 
static UINT rdpdr_process_port_capset (rdpdrPlugin *rdpdr, wStream *s, const RDPDR_CAPABILITY_HEADER *header)
 
static void rdpdr_write_drive_capset (rdpdrPlugin *rdpdr, wStream *s)
 
static UINT rdpdr_process_drive_capset (rdpdrPlugin *rdpdr, wStream *s, const RDPDR_CAPABILITY_HEADER *header)
 
static void rdpdr_write_smartcard_capset (rdpdrPlugin *rdpdr, wStream *s)
 
static UINT rdpdr_process_smartcard_capset (rdpdrPlugin *rdpdr, wStream *s, const RDPDR_CAPABILITY_HEADER *header)
 
UINT rdpdr_process_capability_request (rdpdrPlugin *rdpdr, wStream *s)
 
UINT rdpdr_send_capability_response (rdpdrPlugin *rdpdr)
 

Macro Definition Documentation

◆ RDPDR_CAPABILITY_HEADER_LENGTH

#define RDPDR_CAPABILITY_HEADER_LENGTH   8

FreeRDP: A Remote Desktop Protocol Implementation Device Redirection Virtual Channel

Copyright 2010-2011 Vic Lee Copyright 2010-2012 Marc-Andre Moreau marca.nosp@m.ndre.nosp@m..more.nosp@m.au@g.nosp@m.mail..nosp@m.com Copyright 2015-2016 Thincast Technologies GmbH Copyright 2015 DI (FH) Martin Haimberger marti.nosp@m.n.ha.nosp@m.imber.nosp@m.ger@.nosp@m.thinc.nosp@m.ast..nosp@m.com Copyright 2016 Armin Novak armin.nosp@m..nov.nosp@m.ak@th.nosp@m.inca.nosp@m.st.co.nosp@m.m

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.

Function Documentation

◆ rdpdr_process_capability_request()

UINT rdpdr_process_capability_request ( rdpdrPlugin rdpdr,
wStream s 
)

FreeRDP: A Remote Desktop Protocol Implementation Device Redirection Virtual Channel

Copyright 2010-2011 Vic Lee Copyright 2010-2012 Marc-Andre Moreau marca.nosp@m.ndre.nosp@m..more.nosp@m.au@g.nosp@m.mail..nosp@m.com Copyright 2015 Thincast Technologies GmbH Copyright 2015 DI (FH) Martin Haimberger marti.nosp@m.n.ha.nosp@m.imber.nosp@m.ger@.nosp@m.thinc.nosp@m.ast..nosp@m.com

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.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ rdpdr_process_drive_capset()

static UINT rdpdr_process_drive_capset ( rdpdrPlugin rdpdr,
wStream s,
const RDPDR_CAPABILITY_HEADER header 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ rdpdr_process_general_capset()

static UINT rdpdr_process_general_capset ( rdpdrPlugin rdpdr,
wStream s,
const RDPDR_CAPABILITY_HEADER header 
)
static
Here is the caller graph for this function:

◆ rdpdr_process_port_capset()

static UINT rdpdr_process_port_capset ( rdpdrPlugin rdpdr,
wStream s,
const RDPDR_CAPABILITY_HEADER header 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ rdpdr_process_printer_capset()

static UINT rdpdr_process_printer_capset ( rdpdrPlugin rdpdr,
wStream s,
const RDPDR_CAPABILITY_HEADER header 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ rdpdr_process_smartcard_capset()

static UINT rdpdr_process_smartcard_capset ( rdpdrPlugin rdpdr,
wStream s,
const RDPDR_CAPABILITY_HEADER header 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ rdpdr_send_capability_response()

UINT rdpdr_send_capability_response ( rdpdrPlugin rdpdr)

Function description

Returns
0 on success, otherwise a Win32 error code
Here is the call graph for this function:
Here is the caller graph for this function:

◆ rdpdr_write_drive_capset()

static void rdpdr_write_drive_capset ( rdpdrPlugin rdpdr,
wStream s 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ rdpdr_write_general_capset()

static void rdpdr_write_general_capset ( rdpdrPlugin rdpdr,
wStream s 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ rdpdr_write_port_capset()

static void rdpdr_write_port_capset ( rdpdrPlugin rdpdr,
wStream s 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ rdpdr_write_printer_capset()

static void rdpdr_write_printer_capset ( rdpdrPlugin rdpdr,
wStream s 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ rdpdr_write_smartcard_capset()

static void rdpdr_write_smartcard_capset ( rdpdrPlugin rdpdr,
wStream s 
)
static
Here is the call graph for this function:
Here is the caller graph for this function: