FreeRDP
|
Macros | |
#define | TAG SERVER_TAG("Windows.mirror") |
#define | DEVICE_KEY_PREFIX _T("\\Registry\\Machine\\") |
Functions | |
BOOL | wf_mirror_driver_find_display_device (wfInfo *wfi) |
BOOL | wf_mirror_driver_display_device_attach (wfInfo *wfi, DWORD mode) |
void | wf_mirror_driver_print_display_change_status (LONG status) |
BOOL | wf_mirror_driver_update (wfInfo *wfi, int mode) |
BOOL | wf_mirror_driver_map_memory (wfInfo *wfi) |
BOOL | wf_mirror_driver_cleanup (wfInfo *wfi) |
BOOL | wf_mirror_driver_activate (wfInfo *wfi) |
void | wf_mirror_driver_deactivate (wfInfo *wfi) |
#define DEVICE_KEY_PREFIX _T("\\Registry\\Machine\\") |
#define TAG SERVER_TAG("Windows.mirror") |
FreeRDP: A Remote Desktop Protocol Implementation FreeRDP Windows Server
Copyright 2012 Marc-Andre Moreau marca Copyright 2012-2013 Corey Clayton ndre .more au@g mail. comcan.o f.tu na@gm ail. 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.
BOOL wf_mirror_driver_activate | ( | wfInfo * | wfi | ) |
BOOL wf_mirror_driver_cleanup | ( | wfInfo * | wfi | ) |
void wf_mirror_driver_deactivate | ( | wfInfo * | wfi | ) |
BOOL wf_mirror_driver_display_device_attach | ( | wfInfo * | wfi, |
DWORD | mode | ||
) |
This function will attempt to access the the windows registry using the device key stored in the current wfi. It will attempt to read the value of the "Attach.ToDesktop" subkey and will return TRUE if the value is already set to val. If unable to read the subkey, this function will return FALSE. If the subkey is not set to val it will then attempt to set it to val and return TRUE. If unsuccessful or an unexpected value is encountered, the function returns FALSE.
BOOL wf_mirror_driver_find_display_device | ( | wfInfo * | wfi | ) |
BOOL wf_mirror_driver_map_memory | ( | wfInfo * | wfi | ) |
void wf_mirror_driver_print_display_change_status | ( | LONG | status | ) |
BOOL wf_mirror_driver_update | ( | wfInfo * | wfi, |
int | mode | ||
) |
This function will attempt to apply the currently configured display settings in the registry to the display driver. It will return TRUE if successful otherwise it returns FALSE. If mode is MIRROR_UNLOAD then the the driver will be asked to remove itself.