/[rdesktop]/sourceforge.net/trunk/seamlessrdp/ServerExe/HookDll/hookdll.h
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /sourceforge.net/trunk/seamlessrdp/ServerExe/HookDll/hookdll.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1067 - (show annotations)
Wed Mar 8 17:14:42 2006 UTC (18 years, 3 months ago) by ossman_
File MIME type: text/plain
File size: 416 byte(s)
Make WriteToChannel() a variable argument function. Cleans up the code a lot.
Also add a newline implicitly in the function. It is unsupported to call it
multiple times for one line anyway (because of locking).

1 //
2 // Copyright (C) 2004-2005 Martin Wickett
3 //
4
5 #include <windows.h>
6
7 #ifndef __HOOKDLL_H__
8 #define __HOOKDLL_H__
9
10 #define CHANNELNAME "seamrdp"
11
12 #pragma once
13
14 //Hooking
15 typedef void ( *SETHOOKS ) ();
16 typedef void ( *REMOVEHOOKS ) ();
17 typedef int ( *GETINSTANCECOUNT ) ();
18
19 //Terminal Server
20 int OpenVirtualChannel();
21 int CloseVirtualChannel();
22 int ChannelIsOpen();
23 int WriteToChannel( char *format, ... );
24
25 #endif

  ViewVC Help
Powered by ViewVC 1.1.26