1 |
//********************************************************************************* |
2 |
// |
3 |
//Title: Terminal Services Window Clipper |
4 |
// |
5 |
//Author: Martin Wickett |
6 |
// |
7 |
//Date: 2004 |
8 |
// |
9 |
//********************************************************************************* |
10 |
|
11 |
#include <windows.h> |
12 |
|
13 |
#ifndef __CBTDLL_H__ |
14 |
#define __CBTDLL_H__ |
15 |
|
16 |
#define CHANNELNAME "CLIPPER" |
17 |
|
18 |
#pragma once |
19 |
|
20 |
//Hooking |
21 |
typedef void (*SETHOOKS) (); |
22 |
typedef void (*REMOVEHOOKS) (); |
23 |
typedef int (*GETINSTANCECOUNT) (); |
24 |
|
25 |
//Terminal Server |
26 |
int OpenVirtualChannel(); |
27 |
int CloseVirtualChannel(); |
28 |
int ChannelIsOpen(); |
29 |
int WriteToChannel(PCHAR buffer); |
30 |
|
31 |
#endif |