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

Diff of /sourceforge.net/trunk/seamlessrdp/ServerExe/HookDll/hook.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 936 by astrand, Thu Jun 30 14:46:14 2005 UTC revision 937 by astrand, Fri Jul 1 06:50:52 2005 UTC
# Line 27  bool WTSWinClipper::Init() Line 27  bool WTSWinClipper::Init()
27    
28          // check number of instances          // check number of instances
29          if (!          if (!
30              (mGetInstanceCount =                  (mGetInstanceCount =
31               (GETINSTANCECOUNT) GetProcAddress(mCbtDllHinst,                       (GETINSTANCECOUNT) GetProcAddress(mCbtDllHinst,
32                                                 "GetInstanceCount")))                                                         "GetInstanceCount")))
33              break;              break;
34    
35    
36          // get our hook function          // get our hook function
37          if (!          if (!
38              (mSetCbtHook =                  (mSetCbtHook =
39               (SETHOOKS) GetProcAddress(mCbtDllHinst, "SetCbtHook")))                       (SETHOOKS) GetProcAddress(mCbtDllHinst, "SetCbtHook")))
40              break;              break;
41    
42          // get our unkook function          // get our unkook function
43          if (!          if (!
44              (mRemoveCbtHook =                  (mRemoveCbtHook =
45               (REMOVEHOOKS) GetProcAddress(mCbtDllHinst, "RemoveCbtHook")))                       (REMOVEHOOKS) GetProcAddress(mCbtDllHinst, "RemoveCbtHook")))
46              break;              break;
47    
48          // report success          // report success

Legend:
Removed from v.936  
changed lines
  Added in v.937

  ViewVC Help
Powered by ViewVC 1.1.26