FreeRDP
server/rdpdr.h File Reference
This graph shows which files directly or indirectly include this file:

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 Documentation

◆ psRdpdrCapablityPDU

typedef UINT(* psRdpdrCapablityPDU) (RdpdrServerContext *context, const RDPDR_CAPABILITY_HEADER *header, size_t size, const BYTE *data)

◆ psRdpdrDriveCloseFile

typedef UINT(* psRdpdrDriveCloseFile) (RdpdrServerContext *context, void *callbackData, UINT32 deviceId, UINT32 fileId)

◆ psRdpdrDriveCreateDirectory

typedef UINT(* psRdpdrDriveCreateDirectory) (RdpdrServerContext *context, void *callbackData, UINT32 deviceId, const char *path)

◆ psRdpdrDriveDeleteDirectory

typedef UINT(* psRdpdrDriveDeleteDirectory) (RdpdrServerContext *context, void *callbackData, UINT32 deviceId, const char *path)

◆ psRdpdrDriveDeleteFile

typedef UINT(* psRdpdrDriveDeleteFile) (RdpdrServerContext *context, void *callbackData, UINT32 deviceId, const char *path)

◆ psRdpdrDriveOpenFile

typedef UINT(* psRdpdrDriveOpenFile) (RdpdrServerContext *context, void *callbackData, UINT32 deviceId, const char *path, UINT32 desiredAccess, UINT32 createDisposition)

◆ psRdpdrDriveQueryDirectory

typedef UINT(* psRdpdrDriveQueryDirectory) (RdpdrServerContext *context, void *callbackData, UINT32 deviceId, const char *path)

◆ psRdpdrDriveReadFile

typedef UINT(* psRdpdrDriveReadFile) (RdpdrServerContext *context, void *callbackData, UINT32 deviceId, UINT32 fileId, UINT32 length, UINT32 offset)

◆ psRdpdrDriveRenameFile

typedef UINT(* psRdpdrDriveRenameFile) (RdpdrServerContext *context, void *callbackData, UINT32 deviceId, const char *oldPath, const char *newPath)

◆ psRdpdrDriveWriteFile

typedef UINT(* psRdpdrDriveWriteFile) (RdpdrServerContext *context, void *callbackData, UINT32 deviceId, UINT32 fileId, const char *buffer, UINT32 length, UINT32 offset)

◆ psRdpdrOnDeviceCreate

typedef UINT(* psRdpdrOnDeviceCreate) (RdpdrServerContext *context, const RdpdrDevice *device)

◆ psRdpdrOnDeviceDelete

typedef UINT(* psRdpdrOnDeviceDelete) (RdpdrServerContext *context, UINT32 deviceId)

◆ psRdpdrOnDriveCloseFileComplete

typedef void(* psRdpdrOnDriveCloseFileComplete) (RdpdrServerContext *context, void *callbackData, UINT32 ioStatus)

◆ psRdpdrOnDriveCreateDirectoryComplete

typedef void(* psRdpdrOnDriveCreateDirectoryComplete) (RdpdrServerContext *context, void *callbackData, UINT32 ioStatus)

◆ psRdpdrOnDriveDeleteDirectoryComplete

typedef void(* psRdpdrOnDriveDeleteDirectoryComplete) (RdpdrServerContext *context, void *callbackData, UINT32 ioStatus)

◆ psRdpdrOnDriveDeleteFileComplete

typedef void(* psRdpdrOnDriveDeleteFileComplete) (RdpdrServerContext *context, void *callbackData, UINT32 ioStatus)

◆ psRdpdrOnDriveOpenFileComplete

typedef void(* psRdpdrOnDriveOpenFileComplete) (RdpdrServerContext *context, void *callbackData, UINT32 ioStatus, UINT32 deviceId, UINT32 fileId)

◆ psRdpdrOnDriveQueryDirectoryComplete

typedef void(* psRdpdrOnDriveQueryDirectoryComplete) (RdpdrServerContext *context, void *callbackData, UINT32 ioStatus, FILE_DIRECTORY_INFORMATION *fdi)

◆ psRdpdrOnDriveReadFileComplete

typedef void(* psRdpdrOnDriveReadFileComplete) (RdpdrServerContext *context, void *callbackData, UINT32 ioStatus, const char *buffer, UINT32 length)

◆ psRdpdrOnDriveRenameFileComplete

typedef void(* psRdpdrOnDriveRenameFileComplete) (RdpdrServerContext *context, void *callbackData, UINT32 ioStatus)

◆ psRdpdrOnDriveWriteFileComplete

typedef void(* psRdpdrOnDriveWriteFileComplete) (RdpdrServerContext *context, void *callbackData, UINT32 ioStatus, UINT32 bytesWritten)

◆ psRdpdrReceiveAnnounceResponse

typedef UINT(* psRdpdrReceiveAnnounceResponse) (RdpdrServerContext *context, UINT16 VersionMajor, UINT16 VersionMinor, UINT32 ClientId)

◆ psRdpdrReceiveClientNameRequest

typedef UINT(* psRdpdrReceiveClientNameRequest) (RdpdrServerContext *context, size_t ComputerNameLen, const char *name)

◆ psRdpdrReceiveDeviceAnnounce

typedef UINT(* psRdpdrReceiveDeviceAnnounce) (RdpdrServerContext *context, const RdpdrDevice *device)

◆ psRdpdrReceiveDeviceRemove

typedef UINT(* psRdpdrReceiveDeviceRemove) (RdpdrServerContext *context, UINT32 deviceId, const RdpdrDevice *device)

◆ psRdpdrReceivePDU

typedef UINT(* psRdpdrReceivePDU) (RdpdrServerContext *context, const RDPDR_HEADER *header, UINT error)

◆ psRdpdrSendServerAnnounce

typedef UINT(* psRdpdrSendServerAnnounce) (RdpdrServerContext *context)

◆ psRdpdrStart

typedef UINT(* psRdpdrStart) (RdpdrServerContext *context)

◆ psRdpdrStop

typedef UINT(* psRdpdrStop) (RdpdrServerContext *context)

Function Documentation

◆ rdpdr_server_context_free()

FREERDP_API void rdpdr_server_context_free ( RdpdrServerContext *  context)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ rdpdr_server_context_new()

FREERDP_API RdpdrServerContext* rdpdr_server_context_new ( HANDLE  vcm)
Here is the call graph for this function:
Here is the caller graph for this function: