#include <vmsVistaFx.h>
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) |
Definition at line 13 of file vmsVistaFx.h.
| vmsVistaFx::vmsVistaFx | ( | ) |
Definition at line 24 of file vmsVistaFx.cpp.
| vmsVistaFx::~vmsVistaFx | ( | ) | [virtual] |
Definition at line 29 of file vmsVistaFx.cpp.
| BOOL vmsVistaFx::IsWow64 | ( | ) | [static] |
| 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().
1.5.6