~ubuntu-branches/debian/jessie/italc/jessie

« back to all changes in this revision

Viewing changes to ica/win32/src/vncService.h

  • Committer: Bazaar Package Importer
  • Author(s): Patrick Winnertz
  • Date: 2011-02-11 14:50:22 UTC
  • mto: This revision was merged to the branch mainline in revision 8.
  • Revision ID: james.westby@ubuntu.com-20110211145022-sn173siax6lywjus
Tags: upstream-1.0.13
ImportĀ upstreamĀ versionĀ 1.0.13

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
//  Copyright (C) 1999 AT&T Laboratories Cambridge. All Rights Reserved.
 
2
//  Copyright (C) 2009 GlavSoft LLC. All Rights Reserved.
2
3
//
3
4
//  This file is part of the VNC system.
4
5
//
46
47
{
47
48
public:
48
49
        vncService();
 
50
        ~vncService();
49
51
 
50
52
        // SERVICE INSTALL & START FUNCTIONS
51
53
 
55
57
 
56
58
        // Routine to install the WinVNC service on the local machine
57
59
        static int InstallService(BOOL silent=0);
58
 
        static int ReinstallService();
 
60
        static int ReinstallService(BOOL silent=0);
59
61
 
60
62
        // Routine to remove the WinVNC service from the local machine
61
63
        static int RemoveService(BOOL silent=0);
71
73
        static BOOL PostUserHelperMessage();
72
74
        static BOOL PostReloadMessage();
73
75
        // Routine to process a user helper message
74
 
        static BOOL ProcessUserHelperMessage(WPARAM wParam, LPARAM lParam);
 
76
        static BOOL ProcessUserHelperMessage(DWORD processId);
 
77
 
 
78
        // Impersonate current user in an arbitrary thread. This function assumes
 
79
        // that ProcessUserHelperMessage() was called when user logged on.
 
80
        static bool tryImpersonate();
 
81
        // Revert to self after successful tryImpersonate().
 
82
        static void undoImpersonate();
75
83
 
76
84
        // Routines to establish which OS we're running on
77
85
        static BOOL IsWin95();