D:/opendownloadmanager/ODM-1.x/vistafx/vistatools.cxx File Reference

#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 Documentation

#define _tsizeof (  )     (sizeof(s)/sizeof(s[0]))

Definition at line 103 of file vistatools.cxx.


Function Documentation

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 
)


Generated on Sun May 25 00:20:18 2008 by  doxygen 1.5.6