#include "stdafx.h"Go to the source code of this file.
Defines | |
| #define | _tsizeof(s) (sizeof(s)/sizeof(s[0])) |
Functions | |
| BOOL | IsVista () |
| BOOL | IsWow64 () |
| HRESULT | GetElevationType (TOKEN_ELEVATION_TYPE *ptet) |
| HRESULT | IsElevated (_opt BOOL *pbElevated=NULL) |
| BOOL | RunElevated (__in HWND hwnd, __in LPCTSTR pszPath, __in_opt LPCTSTR pszParameters=NULL, __in_opt LPCTSTR pszDirectory=NULL) |
| BOOL | RunNonElevated (__in HWND hwnd, __in LPCTSTR pszPath, __in_opt LPCTSTR pszParameters=NULL, __in_opt LPCTSTR pszDirectory=NULL) |
| BOOL | MyShellExec (HWND hwnd, LPCTSTR pszVerb, LPCTSTR pszPath, LPCTSTR pszParameters=NULL, LPCTSTR pszDirectory=NULL) |
| #define _tsizeof | ( | s | ) | (sizeof(s)/sizeof(s[0])) |
Definition at line 103 of file vistatools.cxx.
| HRESULT GetElevationType | ( | TOKEN_ELEVATION_TYPE * | ptet | ) |
| HRESULT IsElevated | ( | _opt BOOL * | pbElevated = NULL |
) |
| BOOL IsVista | ( | ) |
| BOOL IsWow64 | ( | ) |
| BOOL MyShellExec | ( | HWND | hwnd, | |
| LPCTSTR | pszVerb, | |||
| LPCTSTR | pszPath, | |||
| LPCTSTR | pszParameters = NULL, |
|||
| LPCTSTR | pszDirectory = NULL | |||
| ) |
| BOOL RunElevated | ( | __in HWND | hwnd, | |
| __in LPCTSTR | pszPath, | |||
| __in_opt LPCTSTR | pszParameters = NULL, |
|||
| __in_opt LPCTSTR | pszDirectory = NULL | |||
| ) |
| BOOL RunNonElevated | ( | __in HWND | hwnd, | |
| __in LPCTSTR | pszPath, | |||
| __in_opt LPCTSTR | pszParameters = NULL, |
|||
| __in_opt LPCTSTR | pszDirectory = NULL | |||
| ) |
1.5.6