FreeRDP
|
#include <freerdp/api.h>
#include <freerdp/types.h>
#include <freerdp/channels/wtsvc.h>
#include <freerdp/channels/rdpdr.h>
#include <freerdp/utils/rdpdr_utils.h>
Data Structures | |
struct | RDPDR_HEADER |
struct | FILE_DIRECTORY_INFORMATION |
struct | RdpdrServerContext |
Typedefs | |
typedef UINT(* | psRdpdrStart) (RdpdrServerContext *context) |
typedef UINT(* | psRdpdrStop) (RdpdrServerContext *context) |
typedef UINT(* | psRdpdrCapablityPDU) (RdpdrServerContext *context, const RDPDR_CAPABILITY_HEADER *header, size_t size, const BYTE *data) |
typedef UINT(* | psRdpdrReceivePDU) (RdpdrServerContext *context, const RDPDR_HEADER *header, UINT error) |
typedef UINT(* | psRdpdrReceiveAnnounceResponse) (RdpdrServerContext *context, UINT16 VersionMajor, UINT16 VersionMinor, UINT32 ClientId) |
typedef UINT(* | psRdpdrSendServerAnnounce) (RdpdrServerContext *context) |
typedef UINT(* | psRdpdrReceiveDeviceAnnounce) (RdpdrServerContext *context, const RdpdrDevice *device) |
typedef UINT(* | psRdpdrReceiveDeviceRemove) (RdpdrServerContext *context, UINT32 deviceId, const RdpdrDevice *device) |
typedef UINT(* | psRdpdrReceiveClientNameRequest) (RdpdrServerContext *context, size_t ComputerNameLen, const char *name) |
typedef UINT(* | psRdpdrDriveCreateDirectory) (RdpdrServerContext *context, void *callbackData, UINT32 deviceId, const char *path) |
typedef UINT(* | psRdpdrDriveDeleteDirectory) (RdpdrServerContext *context, void *callbackData, UINT32 deviceId, const char *path) |
typedef UINT(* | psRdpdrDriveQueryDirectory) (RdpdrServerContext *context, void *callbackData, UINT32 deviceId, const char *path) |
typedef UINT(* | psRdpdrDriveOpenFile) (RdpdrServerContext *context, void *callbackData, UINT32 deviceId, const char *path, UINT32 desiredAccess, UINT32 createDisposition) |
typedef UINT(* | psRdpdrDriveReadFile) (RdpdrServerContext *context, void *callbackData, UINT32 deviceId, UINT32 fileId, UINT32 length, UINT32 offset) |
typedef UINT(* | psRdpdrDriveWriteFile) (RdpdrServerContext *context, void *callbackData, UINT32 deviceId, UINT32 fileId, const char *buffer, UINT32 length, UINT32 offset) |
typedef UINT(* | psRdpdrDriveCloseFile) (RdpdrServerContext *context, void *callbackData, UINT32 deviceId, UINT32 fileId) |
typedef UINT(* | psRdpdrDriveDeleteFile) (RdpdrServerContext *context, void *callbackData, UINT32 deviceId, const char *path) |
typedef UINT(* | psRdpdrDriveRenameFile) (RdpdrServerContext *context, void *callbackData, UINT32 deviceId, const char *oldPath, const char *newPath) |
typedef void(* | psRdpdrOnDriveCreateDirectoryComplete) (RdpdrServerContext *context, void *callbackData, UINT32 ioStatus) |
typedef void(* | psRdpdrOnDriveDeleteDirectoryComplete) (RdpdrServerContext *context, void *callbackData, UINT32 ioStatus) |
typedef void(* | psRdpdrOnDriveQueryDirectoryComplete) (RdpdrServerContext *context, void *callbackData, UINT32 ioStatus, FILE_DIRECTORY_INFORMATION *fdi) |
typedef void(* | psRdpdrOnDriveOpenFileComplete) (RdpdrServerContext *context, void *callbackData, UINT32 ioStatus, UINT32 deviceId, UINT32 fileId) |
typedef void(* | psRdpdrOnDriveReadFileComplete) (RdpdrServerContext *context, void *callbackData, UINT32 ioStatus, const char *buffer, UINT32 length) |
typedef void(* | psRdpdrOnDriveWriteFileComplete) (RdpdrServerContext *context, void *callbackData, UINT32 ioStatus, UINT32 bytesWritten) |
typedef void(* | psRdpdrOnDriveCloseFileComplete) (RdpdrServerContext *context, void *callbackData, UINT32 ioStatus) |
typedef void(* | psRdpdrOnDriveDeleteFileComplete) (RdpdrServerContext *context, void *callbackData, UINT32 ioStatus) |
typedef void(* | psRdpdrOnDriveRenameFileComplete) (RdpdrServerContext *context, void *callbackData, UINT32 ioStatus) |
typedef UINT(* | psRdpdrOnDeviceCreate) (RdpdrServerContext *context, const RdpdrDevice *device) |
typedef UINT(* | psRdpdrOnDeviceDelete) (RdpdrServerContext *context, UINT32 deviceId) |
Functions | |
FREERDP_API void | rdpdr_server_context_free (RdpdrServerContext *context) |
FREERDP_API RdpdrServerContext * | rdpdr_server_context_new (HANDLE vcm) |
typedef UINT(* psRdpdrCapablityPDU) (RdpdrServerContext *context, const RDPDR_CAPABILITY_HEADER *header, size_t size, const BYTE *data) |
typedef UINT(* psRdpdrDriveCloseFile) (RdpdrServerContext *context, void *callbackData, UINT32 deviceId, UINT32 fileId) |
typedef UINT(* psRdpdrDriveCreateDirectory) (RdpdrServerContext *context, void *callbackData, UINT32 deviceId, const char *path) |
typedef UINT(* psRdpdrDriveDeleteDirectory) (RdpdrServerContext *context, void *callbackData, UINT32 deviceId, const char *path) |
typedef UINT(* psRdpdrDriveDeleteFile) (RdpdrServerContext *context, void *callbackData, UINT32 deviceId, const char *path) |
typedef UINT(* psRdpdrDriveOpenFile) (RdpdrServerContext *context, void *callbackData, UINT32 deviceId, const char *path, UINT32 desiredAccess, UINT32 createDisposition) |
typedef UINT(* psRdpdrDriveQueryDirectory) (RdpdrServerContext *context, void *callbackData, UINT32 deviceId, const char *path) |
typedef UINT(* psRdpdrDriveReadFile) (RdpdrServerContext *context, void *callbackData, UINT32 deviceId, UINT32 fileId, UINT32 length, UINT32 offset) |
typedef UINT(* psRdpdrDriveRenameFile) (RdpdrServerContext *context, void *callbackData, UINT32 deviceId, const char *oldPath, const char *newPath) |
typedef UINT(* psRdpdrDriveWriteFile) (RdpdrServerContext *context, void *callbackData, UINT32 deviceId, UINT32 fileId, const char *buffer, UINT32 length, UINT32 offset) |
typedef UINT(* psRdpdrOnDeviceCreate) (RdpdrServerContext *context, const RdpdrDevice *device) |
typedef void(* psRdpdrOnDriveCloseFileComplete) (RdpdrServerContext *context, void *callbackData, UINT32 ioStatus) |
typedef void(* psRdpdrOnDriveCreateDirectoryComplete) (RdpdrServerContext *context, void *callbackData, UINT32 ioStatus) |
typedef void(* psRdpdrOnDriveDeleteDirectoryComplete) (RdpdrServerContext *context, void *callbackData, UINT32 ioStatus) |
typedef void(* psRdpdrOnDriveDeleteFileComplete) (RdpdrServerContext *context, void *callbackData, UINT32 ioStatus) |
typedef void(* psRdpdrOnDriveOpenFileComplete) (RdpdrServerContext *context, void *callbackData, UINT32 ioStatus, UINT32 deviceId, UINT32 fileId) |
typedef void(* psRdpdrOnDriveQueryDirectoryComplete) (RdpdrServerContext *context, void *callbackData, UINT32 ioStatus, FILE_DIRECTORY_INFORMATION *fdi) |
typedef void(* psRdpdrOnDriveReadFileComplete) (RdpdrServerContext *context, void *callbackData, UINT32 ioStatus, const char *buffer, UINT32 length) |
typedef void(* psRdpdrOnDriveRenameFileComplete) (RdpdrServerContext *context, void *callbackData, UINT32 ioStatus) |
typedef void(* psRdpdrOnDriveWriteFileComplete) (RdpdrServerContext *context, void *callbackData, UINT32 ioStatus, UINT32 bytesWritten) |
typedef UINT(* psRdpdrReceiveAnnounceResponse) (RdpdrServerContext *context, UINT16 VersionMajor, UINT16 VersionMinor, UINT32 ClientId) |
typedef UINT(* psRdpdrReceiveClientNameRequest) (RdpdrServerContext *context, size_t ComputerNameLen, const char *name) |
typedef UINT(* psRdpdrReceiveDeviceAnnounce) (RdpdrServerContext *context, const RdpdrDevice *device) |
typedef UINT(* psRdpdrReceiveDeviceRemove) (RdpdrServerContext *context, UINT32 deviceId, const RdpdrDevice *device) |
typedef UINT(* psRdpdrReceivePDU) (RdpdrServerContext *context, const RDPDR_HEADER *header, UINT error) |
FREERDP_API void rdpdr_server_context_free | ( | RdpdrServerContext * | context | ) |
FREERDP_API RdpdrServerContext* rdpdr_server_context_new | ( | HANDLE | vcm | ) |