Blame server/Windows/wf_info.h

Packit Service fa4841
/**
Packit Service fa4841
 * FreeRDP: A Remote Desktop Protocol Implementation
Packit Service fa4841
 * FreeRDP Windows Server
Packit Service fa4841
 *
Packit Service fa4841
 * Copyright 2012 Corey Clayton <can.of.tuna@gmail.com>
Packit Service fa4841
 *
Packit Service fa4841
 * Licensed under the Apache License, Version 2.0 (the "License");
Packit Service fa4841
 * you may not use this file except in compliance with the License.
Packit Service fa4841
 * You may obtain a copy of the License at
Packit Service fa4841
 *
Packit Service fa4841
 *     http://www.apache.org/licenses/LICENSE-2.0
Packit Service fa4841
 *
Packit Service fa4841
 * Unless required by applicable law or agreed to in writing, software
Packit Service fa4841
 * distributed under the License is distributed on an "AS IS" BASIS,
Packit Service fa4841
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
Packit Service fa4841
 * See the License for the specific language governing permissions and
Packit Service fa4841
 * limitations under the License.
Packit Service fa4841
 */
Packit Service fa4841
Packit Service fa4841
#ifndef FREERDP_SERVER_WIN_INFO_H
Packit Service fa4841
#define FREERDP_SERVER_WIN_INFO_H
Packit Service fa4841
Packit Service fa4841
#include "wf_interface.h"
Packit Service fa4841
Packit Service fa4841
#define FREERDP_SERVER_WIN_INFO_DEFAULT_FPS 24
Packit Service fa4841
#define FREERDP_SERVER_WIN_INFO_MAXPEERS 32
Packit Service fa4841
Packit Service fa4841
BOOL wf_info_lock(wfInfo* wfi);
Packit Service fa4841
BOOL wf_info_try_lock(wfInfo* wfi, DWORD dwMilliseconds);
Packit Service fa4841
BOOL wf_info_unlock(wfInfo* wfi);
Packit Service fa4841
Packit Service fa4841
wfInfo* wf_info_get_instance(void);
Packit Service fa4841
BOOL wf_info_peer_register(wfInfo* wfi, wfPeerContext* context);
Packit Service fa4841
void wf_info_peer_unregister(wfInfo* wfi, wfPeerContext* context);
Packit Service fa4841
Packit Service fa4841
BOOL wf_info_have_updates(wfInfo* wfi);
Packit Service fa4841
void wf_info_update_changes(wfInfo* wfi);
Packit Service fa4841
void wf_info_find_invalid_region(wfInfo* wfi);
Packit Service fa4841
void wf_info_clear_invalid_region(wfInfo* wfi);
Packit Service fa4841
void wf_info_invalidate_full_screen(wfInfo* wfi);
Packit Service fa4841
BOOL wf_info_have_invalid_region(wfInfo* wfi);
Packit Service fa4841
void wf_info_getScreenData(wfInfo* wfi, long* width, long* height, BYTE** pBits, int* pitch);
Packit Service b1ea74
BOOL CALLBACK wf_info_monEnumCB(HMONITOR hMonitor, HDC hdcMonitor, LPRECT lprcMonitor,
Packit Service b1ea74
                                LPARAM dwData);
Packit Service fa4841
Packit Service fa4841
#endif /* FREERDP_SERVER_WIN_INFO_H */