vmsVistaFx Class Reference

#include <vmsVistaFx.h>

List of all members.

Public Member Functions

 vmsVistaFx ()
virtual ~vmsVistaFx ()

Static Public Member Functions

static BOOL IsWow64 ()
static BOOL RunNonElevated (LPCSTR pszPath, LPCSTR pszParameters, LPCSTR pszDirectory)
static BOOL IsElevated ()

Static Protected Member Functions

static LRESULT CALLBACK _HookProc (int code, WPARAM wp, LPARAM lp)


Detailed Description

Definition at line 13 of file vmsVistaFx.h.


Constructor & Destructor Documentation

vmsVistaFx::vmsVistaFx (  ) 

Definition at line 24 of file vmsVistaFx.cpp.

vmsVistaFx::~vmsVistaFx (  )  [virtual]

Definition at line 29 of file vmsVistaFx.cpp.


Member Function Documentation

BOOL vmsVistaFx::IsWow64 (  )  [static]

Definition at line 102 of file vmsVistaFx.cpp.

References BOOL, and FALSE.

Referenced by RunNonElevated().

BOOL vmsVistaFx::RunNonElevated ( LPCSTR  pszPath,
LPCSTR  pszParameters,
LPCSTR  pszDirectory 
) [static]

Definition at line 51 of file vmsVistaFx.cpp.

References _hHook, _HookProc(), _szDirectory, _szParameters, _szPath, _uRunMsg, FALSE, IsWow64(), NULL, and TRUE.

Referenced by _RunNonElevatedProcess().

BOOL vmsVistaFx::IsElevated (  )  [static]

Definition at line 34 of file vmsVistaFx.cpp.

References FALSE, NULL, and _TOKEN_ELEVATION::TokenIsElevated.

Referenced by _IsProcessElevated().

LRESULT CALLBACK vmsVistaFx::_HookProc ( int  code,
WPARAM  wp,
LPARAM  lp 
) [static, protected]

Definition at line 90 of file vmsVistaFx.cpp.

References _hHook, _szDirectory, _szParameters, _szPath, _uRunMsg, NULL, and ShellExecute.

Referenced by RunNonElevated().


The documentation for this class was generated from the following files:

Generated on Sun May 25 00:21:25 2008 by  doxygen 1.5.6