FreeRDP
|
#include <freerdp/config.h>
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <winpr/crt.h>
#include <winpr/assert.h>
#include <winpr/path.h>
#include <winpr/file.h>
#include <winpr/string.h>
#include <winpr/synch.h>
#include <winpr/thread.h>
#include <winpr/stream.h>
#include <winpr/environment.h>
#include <winpr/interlocked.h>
#include <winpr/collections.h>
#include <winpr/shell.h>
#include <freerdp/freerdp.h>
#include <freerdp/channels/rdpdr.h>
#include "drive_file.h"
Functions | |
static DWORD | drive_map_windows_err (DWORD fs_errno) |
static DRIVE_FILE * | drive_get_file_by_id (DRIVE_DEVICE *drive, UINT32 id) |
static UINT | drive_process_irp_create (DRIVE_DEVICE *drive, IRP *irp) |
static UINT | drive_process_irp_close (DRIVE_DEVICE *drive, IRP *irp) |
static UINT | drive_process_irp_read (DRIVE_DEVICE *drive, IRP *irp) |
static UINT | drive_process_irp_write (DRIVE_DEVICE *drive, IRP *irp) |
static UINT | drive_process_irp_query_information (DRIVE_DEVICE *drive, IRP *irp) |
static UINT | drive_process_irp_set_information (DRIVE_DEVICE *drive, IRP *irp) |
static UINT | drive_process_irp_query_volume_information (DRIVE_DEVICE *drive, IRP *irp) |
static UINT | drive_process_irp_silent_ignore (DRIVE_DEVICE *drive, IRP *irp) |
static UINT | drive_process_irp_query_directory (DRIVE_DEVICE *drive, IRP *irp) |
static UINT | drive_process_irp_directory_control (DRIVE_DEVICE *drive, IRP *irp) |
static UINT | drive_process_irp_device_control (DRIVE_DEVICE *drive, IRP *irp) |
static UINT | drive_process_irp (DRIVE_DEVICE *drive, IRP *irp) |
static DWORD WINAPI | drive_thread_func (LPVOID arg) |
static UINT | drive_irp_request (DEVICE *device, IRP *irp) |
static UINT | drive_free_int (DRIVE_DEVICE *drive) |
static UINT | drive_free (DEVICE *device) |
static void | drive_file_objfree (void *obj) |
static void | drive_message_free (void *obj) |
static UINT | drive_register_drive_path (PDEVICE_SERVICE_ENTRY_POINTS pEntryPoints, const char *name, const char *path, BOOL automount) |
WINPR_ASSERT (pEntryPoints) | |
WINPR_ASSERT (drive) | |
if (strcmp(drive->Path, "*")==0) | |
else | if (strcmp(drive->Path, "%")==0) |
Variables | |
UINT | error |
drive = (RDPDR_DRIVE*)pEntryPoints->device | |
|
static |
Helper function used for freeing list dictionary value object
|
static |
Function description
|
static |
|
static |
|
static |
Function description
|
static |
|
static |
|
static |
Function description
|
static |
Function description
|
static |
Function description
|
static |
Function description
|
static |
Function description
|
static |
Function description
|
static |
Function description
|
static |
Function description
|
static |
Function description
|
static |
Function description
|
static |
Function description
|
static |
Function description
|
static |
Function description
|
static |
if | ( | strcmp(drive->Path, "*") | = = 0 | ) |
WINPR_ASSERT | ( | drive | ) |
WINPR_ASSERT | ( | pEntryPoints | ) |
drive = (RDPDR_DRIVE*)pEntryPoints->device |
return error |
Function description