C# Class CSharp08.Win32Import

Show file Open project: GHScan/DailyProjects Class Usage Examples

Public Properties

Property Type Description
HKEY_CLASSES_ROOT System.IntPtr
HKEY_CURRENT_USER System.IntPtr
HKEY_LOCAL_MACHINE System.IntPtr
HKEY_USERS System.IntPtr

Private Methods

Method Description
CloseHandle ( IntPtr hObject ) : Win32Bool
CreateProcess ( string lpApplicationName, char lpCommandLine, IntPtr lpProcessAttributes, IntPtr lpThreadAttributes, int bInheritHandles, uint dwCreationFlags, char lpEnvironment, string lpCurrentDirectory, StartupInfo &lpStartupInfo, Process_Information &lpProcessInformation ) : Win32Bool
ExtractIconEx ( string lpszFile, int nIconIndex, IntPtr phiconLarge, IntPtr phiconSmall, uint nIcons ) : uint
FormatMessage ( FormatMessage_Flag dwFlags, byte lpSource, uint dwMessageId, uint dwLanguageId, char lpBuffer, int nSize, IntPtr Arguments ) : uint
GetFileVersionInfo ( string lptstrFilename, uint dwHandle, uint dwLen, byte lpData ) : Win32Bool
GetFileVersionInfoSize ( string lptstrFilename, uint &lpdwHandle ) : uint
GetLastError ( ) : uint
RegCloseKey ( IntPtr hKey ) : int
RegOpenKeyEx ( IntPtr hKey, string lpSubKey, uint ulOptions, uint samDesired, IntPtr &phkResult ) : int
RegQueryInfoKey ( IntPtr hKey, char lpClass, uint lpcClass, uint lpReserved, uint lpcSubKeys, uint lpcMaxSubKeyLen, uint lpcMaxClassLen, uint lpcValues, uint lpcMaxValueNameLen, uint lpcMaxValueLen, uint lpcbSecurityDescriptor, ulong lpftLastWriteTime ) : int
ShellExecute ( IntPtr hwnd, string lpOperation, string lpFile, string lpParameters, string lpDirectory, int nShowCmd ) : int
VerQueryValue ( byte pBlock, string lpSubBlock, IntPtr &lplpBuffer, uint &puLen ) : int
WaitForSingleObject ( IntPtr hHandle, uint dwMilliseconds ) : int
WinExec ( string lpCmdLine, int uCmdShow ) : uint

Property Details

HKEY_CLASSES_ROOT public static property

public static IntPtr,System HKEY_CLASSES_ROOT
return System.IntPtr

HKEY_CURRENT_USER public static property

public static IntPtr,System HKEY_CURRENT_USER
return System.IntPtr

HKEY_LOCAL_MACHINE public static property

public static IntPtr,System HKEY_LOCAL_MACHINE
return System.IntPtr

HKEY_USERS public static property

public static IntPtr,System HKEY_USERS
return System.IntPtr